-
Notifications
You must be signed in to change notification settings - Fork 761
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
Incorrect data for EPSG:31370 (Belgian Lambert 72) / non-optimal transformation chosen for BD72 to WGS84 #1580
Comments
The data is in fact correct. The towgs84 parameter holds parameters for a datumshift to WGS84. PROJ currently knows two mappings from EPSG:31370 to WGS84, as seen with
As you can see, the first operation that is listed is holds the parameters you claim to be incorrect. The second operation holds the "correct" parameters. In reality both are correct. From the data that is in the PROJ database it is difficult to determine which of the two is best for your use case. They have the same accuracy and area of use. This is a limitation in the old way of describing a CRS in terms of WGS84: There can be several mappings. The current recommendation is to noget use proj-strings to define CRS's. Instead you should use the corresponding EPSG-code. |
But, whichever transformation it would use, both should yield the same results, right? |
Not necessarily. Geodesy is a geophysical, rather than mathematical,
discipline, and a datum shift is based on empirical data, and hence may
differ both due to differing background data, and different methodology
and/or model.
|
Let's try it out: First transformation:
Second transformation:
In summary, yes, it yields the same result (remember that the accuracy of both transformations is 1 m). Projstrings from days past can't be expected to be the default in PROJ 6+, since the internal plumbing has been changed quite a bit, but generally you can trust PROJ to do the right thing in circumstances like this. I'm closing this since it is not a bug. |
I had an exchange with Roger Lott from IOGP about that issue, and he gave very interested hints. My email to him
His answer
|
Re-opening. Given Roger Lott's hints and following discussion, it seems that the EPSG dataset might be amended in a later version to tweak the accuracy of EPSG:15929 and EPSG:1609 so that the former is selected. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
A "recent" change has favored,all other things equal, transformation names that are lexicographically bigger than other ones, so now BD72 to WGS 84 (3) / EPSG:15929 is the prefered one |
I'm coming from here: pyproj4/pyproj#422 (comment)
The proj.4 string at https://epsg.io/31370 is
projinfo gives me
The towsg84 part is different.
Not sure if that's all that is wrong, please read the comment at pyproj4/pyproj#422 (comment) I'm not sure if that is also proj related or pyproj.
The text was updated successfully, but these errors were encountered: