Skip to content

Converting GPS altitude from WGS84 to a specific EPSG #1073

Answered by snowman2
shayannikoohemat asked this question in Q&A
Discussion options

You must be logged in to vote

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 [

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
5 replies
@shayannikoohemat
Comment options

@shayannikoohemat
Comment options

@snowman2
Comment options

@shayannikoohemat
Comment options

@snowman2
Comment options

Comment options

You must be logged in to vote
1 reply
@snowman2
Comment options

Comment options

You must be logged in to vote
1 reply
@shayannikoohemat
Comment options

Answer selected by shayannikoohemat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants