Re: [gdal-dev] Spatial Resolution from img file

2015-07-30 Thread Kyle Shannon
On Thu, Jul 30, 2015 at 5:03 AM, user gdal wrote: > Dear friends, > I have a geo ref. ERDAS img file. How to obtain its spatial resolution > programmatically (C++)? > > One suggestion I received was to refer to gdalinfo.c However I couldn't get > the required information in gdalinfo.c. I also felt

[gdal-dev] Spatial Resolution from img file

2015-07-30 Thread user gdal
Dear friends, I have a geo ref. ERDAS img file. How to obtain its spatial resolution programmatically (C++)? One suggestion I received was to refer to gdalinfo.c However I couldn't get the required information in gdalinfo.c. I also felt it to be unclear. What I have seen in gdalinfo is how to get