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

Issue259 allow epsg code as string #453

Merged
merged 9 commits into from
Aug 8, 2023

Conversation

JohanKJSchreurs
Copy link
Contributor

Implements #259

openeo/util.py Outdated Show resolved Hide resolved
@JohanKJSchreurs JohanKJSchreurs marked this pull request as ready for review August 1, 2023 07:49
@jdries
Copy link
Collaborator

jdries commented Aug 1, 2023

fine for me!

@JohanKJSchreurs JohanKJSchreurs marked this pull request as draft August 1, 2023 11:39
@JohanKJSchreurs
Copy link
Contributor Author

Have found out that we should also support PROJJSON. Adding some test coverage for that as well.

See also:
Open-EO/openeo-processes#58
Open-EO/openeo-processes@2684dab

@jdries jdries merged commit 49be917 into master Aug 8, 2023
16 checks passed
@jdries jdries deleted the issue259_allow-epsg-code-as-string branch August 8, 2023 08:52
soxofaan added a commit that referenced this pull request Aug 9, 2023
- rename to `normalize_crs` because it is not only about EPSG output, WKT2 output is also allowed
- reworked and simplified pyproj availability handling: when available: use it fully, when not: do best effort normalization
- Move tests into class for better grouping and overview
- add test coverage for "no pyproj available" code path
soxofaan added a commit that referenced this pull request Aug 9, 2023
Skip based on pyproj version iso python version
(allows testing the skips on higher python versions too)
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.

3 participants