Thanks for raising this. Fixed per https://github.com/OSGeo/gdal/pull/12722 . As that's a rather annoying regression, I'll likely issue a 3.11.2 RC tomorrow

Even

Le 07/07/2025 à 18:51, Scott via gdal-dev a écrit :
Using GDAL 3.11.1 on Debian 12 proj 9.1.1 and GDAL 3.11.1 on AWS Linux 2, proj 9.2.1, with this source file:


https://water.noaa.gov/resources/downloads/precip/stageIV/2025/07/06/nws_precip_wytd_20250706_conus.tif

This following command fails with 'Warning 1: PROJ: stere: Invalid latitude':

   gdalwarp -f COG -overwrite -t_srs EPSG:4326 nws_precip_wytd_20250706_conus.tif tst.tif

However, this works fine:

   gdal raster pipeline read nws_precip_wytd_20250706_conus.tif ! reproject --dst-crs EPSG:4326 ! write tst_cli.tif --of=COG --overwrite

If you change the crs to EPSG:3857 or any mercator, gdalwarp doesn't throw any errors, but gdallocationinfo returns no data:

   gdallocationinfo -l_srs EPSG:4326 -valonly tst.tif -97.4475 29.4843

GDAL CLI works fine for either. gdalwarp 3.9.2 (Debian 12) and 3.7.1 (AWS Linux 2) also work fine.

Thanks!
Scott

--
http://www.spatialys.com
My software is free, but my time generally not.

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to