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

Replace pj_ell_set with reimplementation... #675

Merged
merged 5 commits into from Nov 20, 2017
Merged

Replace pj_ell_set with reimplementation... #675

merged 5 commits into from Nov 20, 2017

Conversation

busstoptaktik
Copy link
Member

@busstoptaktik busstoptaktik commented Nov 19, 2017

...supporting ellipsoid inheritance.

This is a replacement for the clasic PROJ pj_ell_set function.

The main difference is that pj_ellipsoid augments the PJ object with a copy of the exact tags used to define its related ellipsoid.

This makes it possible to let a new PJ object inherit the exact geometrical properties of an existing one.

A complete ellipsoid definition comprises a primary (size) and a secondary (shape) parameter. It may include a spherification parameter, that turns an ellipsoid into a sphere with radius defined from the ellipsoidal parameters (e.g. a sphere with same surface area or volume as the ellipsoid).

@busstoptaktik busstoptaktik merged commit 5f1522a into OSGeo:master Nov 20, 2017
@busstoptaktik busstoptaktik deleted the catch-ellps-def branch November 20, 2017 12:20
kbevers added a commit to kbevers/PROJ that referenced this pull request Mar 11, 2018
Functions should only be prefixed with 'pj_' when they can be used in
other parts of the code base and not just within a single file.

Takes care of the last step in OSGeo#675.
kbevers added a commit that referenced this pull request Mar 12, 2018
Functions should only be prefixed with 'pj_' when they can be used in
other parts of the code base and not just within a single file.

Takes care of the last step in #675.
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.

None yet

1 participant