Re: [gdal-dev] GetProjectionRef returns invalid projection

2022-04-15 Thread Frank Hübenthal
Perfect. This works. Thank you, Frank Am 15.04.2022 um 14:08 schrieb Even Rouault: Tihs works fine for me: $ python -c "from osgeo import gdal; ds= gdal.Open('/home/even/Téléchargements/OFM.tif'); print(ds.GetProjectionRef())" PROJCS["WGS 84 / Pseudo-Mercator",GEOGCS["WGS 84",DATUM["WGS_19

Re: [gdal-dev] GetProjectionRef returns invalid projection

2022-04-15 Thread Even Rouault
Tihs works fine for me: $ python -c "from osgeo import gdal; ds= gdal.Open('/home/even/Téléchargements/OFM.tif'); print(ds.GetProjectionRef())" PROJCS["WGS 84 / Pseudo-Mercator",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG"

Re: [gdal-dev] GetProjectionRef returns invalid projection

2022-04-15 Thread Frank Hübenthal
Here it is: https://easyupload.io/rg2ltd Unfortunately It is rather big (36MB). Best regards, Frank Am 15.04.2022 um 13:41 schrieb Even Rouault: Frank, please provide a link to such file Even Le 15/04/2022 à 13:27, Frank Hübenthal a écrit : I use GDAL C++ to load GeoTIFF files. Since I mov

Re: [gdal-dev] GetProjectionRef returns invalid projection

2022-04-15 Thread Even Rouault
Frank, please provide a link to such file Even Le 15/04/2022 à 13:27, Frank Hübenthal a écrit : I use GDAL C++ to load GeoTIFF files. Since I moved to GDAL 3.4 I have problems to get the projection string from some (not all) of these GeoTIFF files. With GDAL 3.2 still something like this was

[gdal-dev] GetProjectionRef returns invalid projection

2022-04-15 Thread Frank Hübenthal
I use GDAL C++ to load GeoTIFF files. Since I moved to GDAL 3.4 I have problems to get the projection string from some (not all) of these GeoTIFF files. With GDAL 3.2 still something like this was returned: PROJCS["WGS 84 / Pseudo-Mercator",GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6