Re: [gdal-dev] EPSG codes
Le mercredi 10 décembre 2014 03:38:45, Norman Barker a écrit : > Hi, > > I am trying to extract the EPSG code from the SpatialReference object as > follow; > > const char * pszEpsg; > char **papszTokens; > > if (poSpatialRef->IsProjected()) > p
[gdal-dev] EPSG codes
Hi, I am trying to extract the EPSG code from the SpatialReference object as follow; const char * pszEpsg; char **papszTokens; if (poSpatialRef->IsProjected()) pszEpsg = poSpatialRef->GetAttrNode("projcs")->GetNode("authority")->GetValue();