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

Update gdaltransform.rst to use correct result #9237

Merged
merged 1 commit into from
Feb 18, 2024

Conversation

jidanni
Copy link
Contributor

@jidanni jidanni commented Feb 16, 2024

No description provided.

@jratike80
Copy link
Collaborator

"Correct" is often too much promised when it comes to coordinate transformations, but my GDAL and Proj versions are rather much in line with your result.

gdaltransform -s_srs EPSG:28992 -t_srs EPSG:31370
177502 311865
244296.534583438 165937.283590881 0

@jidanni
Copy link
Contributor Author

jidanni commented Feb 16, 2024

(I actually also tried the inverse function, to reconstruct the input from the output, but these all never make the round trip intact.)

@jidanni
Copy link
Contributor Author

jidanni commented Feb 16, 2024

Actually this is pretty odd We get different results on different machines. And round trip is impossible, even with the results that we get.

@jratike80
Copy link
Collaborator

I believe that it is Proj that makes the work. My GDAL is using Proj version 9.3.1. And Proj is taking the definitions from the EPSG database and both CRS have had some edits not so long ago: https://epsg.org/crs_28992/Amersfoort-RD-New.html 2019 and https://epsg.org/crs_31370/BD72-Belgian-Lambert-72.html 2021. I did not check the changes but what I want to say that it is not so odd to get different results with different software versions.

@jidanni
Copy link
Contributor Author

jidanni commented Feb 16, 2024

What about even on the same computer, not being able to do the round trip back to the same spot using -i?

@rouault rouault merged commit 04c70bc into OSGeo:master Feb 18, 2024
2 checks passed
@jidanni jidanni deleted the patch-25 branch February 19, 2024 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants