[gdal-dev] Re: gdalinfo: corner coords in other projection
jukka.rahkonen at mmmtike.fi
Thu May 26 03:21:15 EDT 2011
Lefman, Jonathan ERDC-TEC-VA <Jonathan.Lefman <at> usace.army.mil> writes:
> Hi all,
> Is there an executable utility that takes the corner coordinates from a gtiff
> and translates them into another projection system? For example, I have a
> gtiff in UTM and I want to translate the coordinates of the bounding box (or
> corners) into WGS84. Or is there a way to do this non-programmatically using
> a combination of executable utilities?
The programmers should stop reading now, this is a farmer's son recipe for doing
what you want with something that already exists.
- Use gdaltindex for sending the bounding box of your image into a shapefile
- Use ogr2ogr with s_srs and t_srs and reproject the shapefile into the system
you are interested in.
- Use ogrinfo for listing the extents of the reprojected shapefile.
More information about the gdal-dev