pyproj
pyproj copied to clipboard
Python interface to PROJ (cartographic projections and coordinate transformations library)
https://scientific-python.org/specs/spec-0000/ Support for Python 3.11 ends in 2025 - Quarter 4.
### Example code #### Ex. 1 TransformerGroup fails to list up available transformations when specifying both ``always_xy`` and ``allow_superseded `` ```python from pyproj.transformer import TransformerGroup TransformerGroup("EPSG:4230", "EPSG:4326", allow_superseded=True, always_xy=True).transformers ```...
### Discussed in https://github.com/pyproj4/pyproj/discussions/1454 Originally posted by **j-carson** October 25, 2024 The following code used to work with pyproj==3.6.1 ```python WGS84 = "EPSG:4979" # https://epsg.io/4979 EGM96 = "EPSG:9707" # https://epsg.io/9707...
```python from pyproj.transformer import Transformer, CRS, TransformerGroup point = [1.68483801e+05, 1.83992731e+05, 9.32285000e+01] transformer_group = TransformerGroup(CRS('EPSG:10212+5701').to_3d(), CRS(4978).to_3d()) print(transformer_group) - transformers: 1 - unavailable_operations: 2 transformer_group.transformers[0].transform(*point) (3968776.331393765, -184062.38931213014, 4972935.793099421) transformer = Transformer.from_crs(CRS("EPSG:10212+5701").to_3d(),...
The CI logs for pyproj show a few common warning messages, e.g. [here](https://github.com/pyproj4/pyproj/actions/runs/12160772692/job/33913841965#step:10:72) ``` test/test_geod.py: 72 warnings /home/runner/work/pyproj/pyproj/pyproj/geod.py:398: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar...