Commit d2d7e09
authored
Fix reproject_shapes() to avoid flipped coordinats (#462)
* Fix reproject_shapes() to avoid flipped coordinats
Fix reproject_shapes() by enforcing always_xy=True in Transformer
Previously, reprojections involving EPSG:4326 could produce flipped
coordinates because pyproj defaults to EPSG axis order (lat, lon).
This caused inconsistent results when transforming from projected
CRS (e.g. UTM) to geographic CRS.
The fix explicitly sets always_xy=True in Transformer.from_crs,
ensuring that all transformations consistently interpret coordinates
as (x=longitude, y=latitude).
* Add release note1 parent f97896b commit d2d7e09
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
0 commit comments