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

Support for PROJ 6.0.0 #5299

Closed
sebastic opened this issue Mar 13, 2019 · 2 comments
Closed

Support for PROJ 6.0.0 #5299

sebastic opened this issue Mar 13, 2019 · 2 comments
Assignees

Comments

@sebastic
Copy link

SUMO still uses proj_api.h which is deprecated in PROJ 6.0.0 and will be removed in PROJ 7.0.0 (scheduled for March 2020).

When using proj_api.h with PROJ 6.0.0 -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 needs to be added to CFLAGS to prevent a compiler error.

SUMO should be updated to (also) support the proj.h API.

@behrisch
Copy link
Contributor

@sebastic So the correct way would be to first check for the presence of proj.h and if this is not there use proj_api.h?

@sebastic
Copy link
Author

Yes. Ideally your code is compatible with all major PROJ releases used by users.

PROJ 6 is a major change, and many projects will take significant time to become compatible, so PROJ 5.x will be included in distributions for quite some time.

PROJ 4.x is also still widely used, but will slowly be phased out.

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

No branches or pull requests

2 participants