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

Expose area of use #113

Open
jdries opened this issue Sep 9, 2024 · 1 comment
Open

Expose area of use #113

jdries opened this issue Sep 9, 2024 · 1 comment
Labels

Comments

@jdries
Copy link

jdries commented Sep 9, 2024

PyProj has this area_of_use CRS property:
https://pyproj4.github.io/pyproj/stable/api/crs/crs.html#pyproj.crs.CRS.area_of_use

It allows to check if a certain extent it within the valid bounds of the CRS, so exceptions can be avoided.
This is quite relevant when dealing with rasters that are larger then the valid area of a CRS. We for instance could use it here:
locationtech/geotrellis#3542

@pomadchin
Copy link
Member

👍 Nice! If you're interested in implementing it I do my best to help you and to get it merged and released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants