Maass
Cc: gdal-dev@lists.osgeo.org
Subject: Re: [gdal-dev] Projection Definition String
Francois Maass wrote:
> Good day!
>
> I am trying to set the Projection Definition for a GDALDataset as
> follows (from the GDALWarp API):
>
>
>
> /const char *pszDstWKT = NULL;
Francois Maass wrote:
Good day!
I am trying to set the Projection Definition for a GDALDataset as
follows (from the GDALWarp API):
/const char *pszDstWKT = NULL;/
/OGRSpatialReference oSRS;/
/oSRS.SetUTM( 11, TRUE );/
/oSRS.SetWellKnownGeogCS( "WGS84" );/
/oSRS.exportToWkt( &pszDstWKT );/
Good day!
I am trying to set the Projection Definition for a GDALDataset as follows
(from the GDALWarp API):
const char *pszDstWKT = NULL;
OGRSpatialReference oSRS;
oSRS.SetUTM( 11, TRUE );
oSRS.SetWellKnownGeogCS( "WGS84" );
oSRS.exportToWkt( &pszDstWKT );
if(GDALSetProjection(srcData