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

cs2cs EPSG:4326+5773 EPSG:4258+5773 throws an Error #2108

Closed
jjimenezshaw opened this issue Mar 29, 2020 · 1 comment
Closed

cs2cs EPSG:4326+5773 EPSG:4258+5773 throws an Error #2108

jjimenezshaw opened this issue Mar 29, 2020 · 1 comment
Labels

Comments

@jjimenezshaw
Copy link
Contributor

Example of problem

This command line
echo 52 13 0 | ./cs2cs EPSG:4326+5773 EPSG:4258+5773 -f "%.3f"
produces this error
* * inf

while I was expecting something like
52.000 13.000 0.000

However trying other combinations I got resutls:
echo 52 13 0 | ./cs2cs EPSG:4326 EPSG:4258 -f "%.3f" ==> 52.000 13.000 0.000
echo 52 13 0 | ./cs2cs EPSG:4326 EPSG:4258+5773 -f "%.3f" ==> 52.000 13.000 -41.808
echo 52 13 0 | ./cs2cs EPSG:4979 EPSG:4258+5773 -f "%.3f" ==> 52.000 13.000 -41.808
echo 52 13 0 | ./cs2cs EPSG:4326+5773 EPSG:4258 -f "%.3f" ==> 52.000 13.000 41.808
echo 52 13 0 | ./cs2cs EPSG:4326+5773 EPSG:4937 -f "%.3f" ==> 52.000 13.000 41.808

Problem description

I do not see why it is not able to compute the transformation on the same VERT_CS, while it is able to compute all the other shown above. Am I doing something wrong?

Expected Output

52.000 13.000 0.000

Environment Information

  • PROJ version (proj) : 7.0.0
  • Operation System Information : Ubuntu 18.04

PROJ_LIB=/home/jshaw/work/proj/build/data:/home/jshaw/work/proj-datumgrid/europe:/home/jshaw/work/proj-datumgrid/north-america:/home/jshaw/work/proj-datumgrid/world:/home/jshaw/work/proj-datumgrid

Installation method

Compiled from source (tag 7.0.0) with CMake (in /home/jshaw/work/proj/build). curl was disabled. Datumgrids cloned from github (see PROJ_LIB above).

rouault added a commit to rouault/PROJ that referenced this issue Mar 29, 2020
PROJ-BOT pushed a commit to PROJ-BOT/PROJ that referenced this issue Mar 29, 2020
PROJ-BOT pushed a commit to PROJ-BOT/PROJ that referenced this issue Mar 29, 2020
@jjimenezshaw
Copy link
Contributor Author

Thanks!

rouault added a commit that referenced this issue Mar 30, 2020
[Backport 6.3] Fix working of Helmert transform between the horizontal part of 2 compoundCRS (fixes #2108)
rouault added a commit that referenced this issue Mar 30, 2020
[Backport 7.0] Fix working of Helmert transform between the horizontal part of 2 compoundCRS (fixes #2108)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant