You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that supplying -ct to gdalwarp can impact the output geotransform. For the case below, there is only one valid pipeline (applying a vertical shift grid per projinfo -s EPSG:9055+3855 -t EPSG:7661 -o proj)
I was expecting outputs to be the same (assuming GDAL behind the scenes must chose the applicable proj pipeline if -ct is not supplied)?
Perhaps the case below is exaggerated or an edge case because of using a VRT with global extent. Despite seeing lots of ERROR 1: PROJ: vgridshift: Invalid latitude in the output, however, both commands succeed and querying the resulting VRTs does give warped (but slightly different values).
For the case below, there is only one valid pipeline (applying a vertical shift grid per projinfo -s EPSG:9055+3855 -t EPSG:7661 -o proj)
actually, there are 2. The one using the grid which is "only" valid for BBOX[-90,-180,90,180], and the ballpark +proj=noop one which is valid ... "else where".
I haven't investigated but my guess would be that the logic in gdalwarp that guesses the output bounds must overshoot latitudes beyond 90, and when using -ct, then this causes reprojection failures, whereas when not using it, PROJ uses the +proj=noop operation.
What is the bug?
I noticed that supplying
-ct
to gdalwarp can impact the output geotransform. For the case below, there is only one valid pipeline (applying a vertical shift grid perprojinfo -s EPSG:9055+3855 -t EPSG:7661 -o proj
)I was expecting outputs to be the same (assuming GDAL behind the scenes must chose the applicable proj pipeline if -ct is not supplied)?
Perhaps the case below is exaggerated or an edge case because of using a VRT with global extent. Despite seeing lots of
ERROR 1: PROJ: vgridshift: Invalid latitude
in the output, however, both commands succeed and querying the resulting VRTs does give warped (but slightly different values).Steps to reproduce the issue
Versions and provenance
gdal 3.10.0 from conda-forge
Additional context
No response
The text was updated successfully, but these errors were encountered: