Quantcast
Channel: Question and Answer » gdal
Viewing all articles
Browse latest Browse all 397

How to retrieve PROJECTION value for a map?

$
0
0

I am trying to read the Projection from Geotiff/shape file, using gdal 1.9.0 by the following command in the command line…

gdalinfo.exe -proj4 map-path

but its retuning empty string for “PROJECTION” parameter.. when I check the same map in QGIS getting the correct projection for this map.

Actually I want to retrieve “PROJECTION” value for any map from the C/C++ code , could you please let me know the way to retrieve this ?

Thanks,
Prady.


Viewing all articles
Browse latest Browse all 397

Trending Articles