Re: [gdal-dev] Problem with GDALGetProjectionRef

2009-08-25 Thread Florian Hillen
> Florian Hillen wrote: >> gdalinfo delivers the right projection: >> >> PROJCS["unnamed", >> GEOGCS["DHDN", >> DATUM["Deutsches_Hauptdreiecksnetz", >> SPHEROID["Bessel 1841",6377397.155,299.152812809, >> AUTHORITY["EPSG","7004"]], >> AUTHORIT

Re: [gdal-dev] Problem with GDALGetProjectionRef

2009-08-24 Thread Frank Warmerdam
Florian Hillen wrote: gdalinfo delivers the right projection: PROJCS["unnamed", GEOGCS["DHDN", DATUM["Deutsches_Hauptdreiecksnetz", SPHEROID["Bessel 1841",6377397.155,299.152812809, AUTHORITY["EPSG","7004"]], AUTHORITY["EPSG","6314"]], [...

[gdal-dev] Problem with GDALGetProjectionRef

2009-08-24 Thread Florian Hillen
Hi list, I was wondering why GDALGetProjectionRef delivers an other result than gdalinfo from FWTools of course by using the same file. Here is my code from my qgis plugin: if( GDALGetProjectionRef( inputDS ) != NULL ) { OGRSpatialReferenceH inputSRS; char *pszProjection;