.1560.n6.nabble.com/gdal-dev-Create-a-ISpatialReference-from-an-SpatialReference-tp5017101p5017713.html
Sent from the GDAL - Dev mailing list archive at Nabble.com.
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo
Hi
Thanks Frank :
In C# :
public static int GetWKID(OSR.SpatialReference spatialRef)
{
int wkid = -1;
if (spatialRef.IsProjected()==1)
{
string PROJCS = spatialRef.GetAuthorityName("PROJCS");
if (PROJCS != null && PROJCS
Xavier,
You haven't indicated your target language.
On 12-11-17 08:22 AM, xavier lhomme wrote:
Hi
How to get the EPSG Code from a OSR.SpatialReference ?
In C++ you could do something like:
int nPCS = -1;
if( poSRS->GetAuthorityName("PROJCS") != NULL
&& EQUAL(poSRS->GetAut
Hi
How to get the EPSG Code from a OSR.SpatialReference ?
Is there some explample to create an ESRI ISpatialReference from a
OSR.SpatialReference ?
xavier.
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo