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

revert getting ellipsoid/prime_meridian from datum #524

Merged
merged 1 commit into from
Feb 2, 2020

Conversation

snowman2
Copy link
Member

@snowman2 snowman2 commented Feb 2, 2020

Based on: OSGeo/PROJ#1899 (comment)

for exotic geodetic CRS datum() might be NULL. You want to directly use geodeticCRS->ellipsoid() that will fetch the ellipsoid for the datumEnsemble() when datum() is NULL

This was originally modified in #509 as I thought the datum was never NULL, but that was incorrect.

@snowman2 snowman2 merged commit 93d24ef into pyproj4:master Feb 2, 2020
@snowman2 snowman2 deleted the ellips branch February 2, 2020 01:42
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