Closed tpwrules closed 2 weeks ago
It is likely due to PROJ as I can use pyproj 3.4.1 with PROJ 9.4.1 and it fails. However, if I use PROJ 9.1.0, it succeeds. As mentioned in the issue, once I change to PROJ 9.2+ it fails.
Command:
PROJ_DEBUG=3 cs2cs "WGS 84" "EPSG:32615" --bbox -93.581543,42.032974,-93.581543,42.032974
PROJ 9.1.1: It works
...
No operation found matching criteria
Rel. 9.4.1, June 1st, 2024
<cs2cs>:
cannot initialize transformation
cause: (null)
program abnormally terminated
This command works for both versions:
PROJ_DEBUG=3 cs2cs "WGS 84" "EPSG:32615" --bbox -93.581543,42.032974,-93.581542999,42.032974001
Forwarded: https://github.com/OSGeo/PROJ/issues/4236
Code Sample, a copy-pastable example if possible
Problem description
An area of interest with 0 area (i.e. east/west and/or north/south coordinates the same) causes some internal exception when passed to
Transformer.from_crs
. Enlarging the area even negligibly results in the operation working properly.A zero-size area should still technically be valid. Both variants do work without crashing in v3.4.1.
Expected Output
A 0 area of interest should work and produce a Transformer object.
Environment Information
Installation method
nixpkgs built from source