Yann Chemin wrote:
Hello,
(C API)
The aim is to get a (lat,long) pair
into (projX,projY) pair from hDataset1 projection info.
Lat/long projection was defined with:
char*pszProj4 = "+proj=ll +ellps=wgs84 +datum=wgs84";
Yann,
For a geographic (long/lat) coordinate system you should be
us
Hello,
(C API)
The aim is to get a (lat,long) pair
into (projX,projY) pair from hDataset1 projection info.
Lat/long projection was defined with:
char*pszProj4 = "+proj=ll +ellps=wgs84 +datum=wgs84";
OGRSpatialReferenceH hSRS;
OSRImportFromProj4(hSRS, pszProj4);
printf( "%s\n", pszProj4 );