Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have file A.png and file B.png. I translate file A.png so i could translate it into B.png (creating multilayer file). Is there any easy way to get new GCP points coordinates so i could combine those 2 images correctly? I've done so far using only GDAL binaries. Can I somehow use only binaries to do this? If not, is there any easy way do do it?

share|improve this question
I am not exactly sure what you are trying to accomplish though. Are you try to make both the images align with each other? – spatialthoughts Aug 10 '12 at 16:15
I have 2 images with diffrent resolution and diffrent orientation. I can warp them to have same resolution and orientation but I would loose corresponding points due to gdalwarp transformation. I just need at least 1 corresponding point (like 1 gcp point but after i warp one image). – silverado Aug 10 '12 at 20:12
I'm more interested to know why you choose png over a more specialized geo format (like geotiff) – nickves Sep 9 '12 at 18:28

you can use gdal_translate binary to add the GCPs using -gcp flag and then use gdalwarp to tranform the image using those gcps.

share|improve this answer
Thats what I'm doing but I cannot combine them into one because corresponding points (GCP points) are lost due to gdalwarp transformation of one of the images. – silverado Aug 10 '12 at 20:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.