Re: [gdal-dev] reproject points using raster info

2009-01-12 Thread Frank Warmerdam
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

[gdal-dev] reproject points using raster info

2009-01-09 Thread Yann Chemin
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 );