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

Use GetEnvelope() in Calculate Zonal Statistics #150

Open
Ariki opened this issue Nov 18, 2014 · 2 comments
Open

Use GetEnvelope() in Calculate Zonal Statistics #150

Ariki opened this issue Nov 18, 2014 · 2 comments

Comments

@Ariki
Copy link

Ariki commented Nov 18, 2014

Although the code in zonal_stats() is a good example of reading geometries, I believe using GetEnvelope() is a simpler way to get feature extent.

@ustroetz
Copy link
Contributor

You are right. Though the recipe is kind of outdated anyway. Meanwhile Rasterstats showed up and is way better in calculating Zonal Statistics.

@Ariki
Copy link
Author

Ariki commented Nov 18, 2014

Thank you for this suggestion, it seems to be a really powerful solution.

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