Re: [gdal-dev] EPSG codes

2014-12-10 Thread Even Rouault
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

2014-12-09 Thread Norman Barker
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();