I have an image in a WGS 84 / No Defs projection. I can get it spatial resolutions in angular units for X axis and Y axis through geotransform parameters.

If I would reproject this image into WGS 84 / World Mercator, then geotransform parameters will become reprojected too, and I will be able to get new spatial resolution for my image in meters

How can I reproject those resolutions without image reprojection?

1 Answer 1


You could use the GDALAutoCreateWarpedVRT function. This function creates a virtual raster dataset that represents the projected version of your raster. If you use this function, then you can read the properties of your image in the new coordinate system from the virtual raster's geotransform parameters.

  • Thank you for pointing into right direction! I decided to go with GDALCreateReprojectionTransformer and GDALSuggestedWarpOutput. Its such a shame, that I could not see this solution. Jul 1, 2015 at 13:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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