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?

  • 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.

  • 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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