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 / proj_create_crs_to_crs(): fix regression with geocentric CRS #3729

Merged
merged 1 commit into from
May 16, 2023

Conversation

rouault
Copy link
Member

@rouault rouault commented May 12, 2023

Related to use case of OSGeo/gdal#7753

When a transformation involved a datum shift with a grid and a geocentric CRS as source/target, since PROJ 9.2.0 and the changes for the only_best mode, even in just warning mode, if the grid of the "best" transformation was missing, then the transformation would completely fail, whereas with earlier versions it would fallback to a ballpark transformation. So restore that mode, and actually enhance the operation selection logic, by allowing to select operations based on their area of validity even if the input coordinate are geocentric (in which case a conversion of them to geographic is done).

Related to use case of OSGeo/gdal#7753

When a transformation involved a datum shift with a grid and a
geocentric CRS as source/target, since PROJ 9.2.0 and the changes for
the only_best mode, even in just warning mode, if the grid of the "best"
transformation was missing, then the transformation would completely
fail, whereas with earlier versions it would fallback to a ballpark
transformation. So restore that mode, and actually enhance the operation
selection logic, by allowing to select operations based on their area of
validity even if the input coordinate are geocentric (in which case a
conversion of them to geographic is done).
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.

1 participant