Converting GPS altitude from WGS84 to a specific EPSG #1073
-
I am trying to convert my GPS data from WGS84 EPSG:4326 to EPSG:6190 which is I tried it with ETRS89 instead of WGRS84 and also to convert Projections to How can I fix this? Is it the problem of PROJ or I am missing an argument in my transformation ? Code Sample:
Expected resultZ should be in the range of 46.0 meters not 88.0. Environment settings:
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 7 replies
-
Doesn't seem to be an issue with PROJ:
|
Beta Was this translation helpful? Give feedback.
-
It seems like the operation with missing grids are missing even though PROJ NETWORK is enabled:
|
Beta Was this translation helpful? Give feedback.
-
Seems to be working: >>> from pyproj import Transformer
>>> tr = Transformer.from_crs("EPSG:4979", "EPSG:6190")
>>> tr.transform(50.415045, 3.747301, 88.763399)
(105832.77837274286, 122868.77880230732, 46.2297680595955)
>>> tr = Transformer.from_crs("EPSG:4979", "EPSG:6190", always_xy=True)
>>> tr.transform(3.747301, 50.415045, 88.763399)
(105832.77837274286, 122868.77880230732, 46.2297680595955)
>>> import pyproj
>>> pyproj.show_versions()
pyproj info:
pyproj: 3.3.2.dev0
PROJ: 9.0.0
data dir:~/miniconda/envs/pyproj/share/proj
user_data_dir: ~/.local/share/proj
PROJ DATA (recommended version): 1.9
PROJ Database: 1.2
EPSG Database: v10.054 [2022-02-13]
ESRI Database: ArcMap 12.9 [2022-02-18]
IGNF Database: 3.1.0 [2019-05-24]
System:
python: 3.10.4 | packaged by conda-forge | (main, Mar 24 2022, 17:39:04) [GCC 10.3.0]
executable: ~/miniconda/envs/pyproj/bin/python
machine: Linux-5.13.0-40-generic-x86_64-with-glibc2.31
Python deps:
~/miniconda/envs/pyproj/lib/python3.10/site-packages/_distutils_hack/__init__.py:30: UserWarning: Setuptools is replacing distutils.
warnings.warn("Setuptools is replacing distutils.")
certifi: 2021.10.08
Cython: 0.29.28
setuptools: 60.10.0
pip: 22.0.4 I recommend ensuring |
Beta Was this translation helpful? Give feedback.
Seems to be working: