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

Proposal: option to output zonal_stats as vector #277

Open
emlys opened this issue Sep 19, 2022 · 1 comment
Open

Proposal: option to output zonal_stats as vector #277

emlys opened this issue Sep 19, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@emlys
Copy link
Member

emlys commented Sep 19, 2022

In several invest models, we calculate zonal statistics, then create a copy of the AOI vector and add zonal stats fields to it. I had a use for this on the morgan stanley project as well.

A variation of zonal_statistics, or a wrapper around it, would take in an additional argument that is a path to write out the result vector. The result vector would be a copy of the input vector with added fields. Instead of (or in addition to) returning the stats dictionary, it would save the stats to the vector attribute table.

@emlys emlys added the enhancement New feature or request label Dec 7, 2022
@emlys
Copy link
Member Author

emlys commented Dec 19, 2022

In our meeting on 12/9 we decided that the next step for this will be to write a design doc.

@emlys emlys self-assigned this Dec 19, 2022
@dcdenu4 dcdenu4 added the proposal Proposals requiring team feedback label Apr 27, 2023
@davemfish davemfish assigned davemfish and unassigned emlys Jan 18, 2024
@davemfish davemfish added this to the 2.5.0 milestone Sep 26, 2024
@davemfish davemfish removed the proposal Proposals requiring team feedback label Sep 26, 2024
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

3 participants