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

Confirm and document whether or not zonal_statistics works for other geometries #322

Open
emlys opened this issue May 30, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@emlys
Copy link
Member

emlys commented May 30, 2023

The docstring and implementation of zonal_statistics suggest it's meant for polygons, but it might work on other geometries too. I accidentally ran it on a point veector and got results, but I don't know if they're correct. We should confirm whether or not zonal_statistics produces valid results on other geometries. If so, update the documentation and tests to support this. If not, assert that the input geometries are indeed polygons.

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

No branches or pull requests

1 participant