Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

geoidgrids not found #1563

Closed
snowman2 opened this issue Aug 9, 2019 · 1 comment

Comments

@snowman2
Copy link
Contributor

@snowman2 snowman2 commented Aug 9, 2019

GeodPT08.gtx

Reference:

$ cs2cs
Rel. 5.2.0, September 15th, 2018
<cs2cs>: 
...
$ echo -19476.384 -62016.159 4226.997 | cs2cs +init=epsg:3763 +to +init=epsg:3763 +geoidgrids=./GeodPT08.gtx
-19476.38    -62016.16 4172.78
$ cs2cs
Rel. 6.1.1, July 1st, 2019
...
$ echo -19476.384 -62016.159 4226.997 | cs2cs +init=epsg:3763 +to +init=epsg:3763 +geoidgrids=./GeodPT08.gtx
-19476.38    -62016.16 4227.00
$ echo -19476.384 -62016.159 4226.997 | cs2cs +init=epsg:3763 +to +init=epsg:3763
-19476.38    -62016.16 4227.00

Any guidance on the issue would be appreciated. Thanks!

@rouault

This comment has been minimized.

Copy link
Member

@rouault rouault commented Sep 13, 2019

This is the same as #1587 . You are transforming between a 2D and a 3D system. 3D transformation only occurs when both systems are 3D. I guess that cs2cs being a legacy utility we should try to emulate past behaviour and autopromote 2D systems to 3D

@rouault rouault closed this in 6da584d Sep 15, 2019
rouault added a commit that referenced this issue Sep 15, 2019
cs2cs: autopromote CRS to 3D when there's a mix of 2D and 3D (fixes #1563)
rouault added a commit to rouault/PROJ that referenced this issue Sep 15, 2019
rouault added a commit to rouault/PROJ that referenced this issue Sep 15, 2019
kbevers added a commit that referenced this issue Sep 16, 2019
[6.2 backport] cs2cs: autopromote CRS to 3D when there's a mix of 2D and 3D (fixes #1563)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.