Skip to content

computation for distance zonal stats to AOI (polygon) #154

Closed Answered by butchtm
tm-kah-alforja asked this question in Q&A
Discussion options

You must be logged in to vote

[Answer] The computation is based on the distance between the AOIs and data's geometries (i.e. the borders/perimeters for areas). If the data point or area intersects the AOI, the distance computed is 0.

The NA value is reserved for those cases where there are no data points or areas within the distance max_col parameter . This behavior is consistent with the sjoin_nearest method in Geopandas as discussed here.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by butchtm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants