You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: