AnsweredAssumed Answered

calculate # of features with distance and time constraints

Question asked by qiuhuanihao on Apr 13, 2015
Latest reply on Jul 30, 2015 by xander_bakker



Earlier I asked how to find the nearest fire that burned 7 years ago and get helped.


Here is the detail the discussion:


Another way to check the effect of fire on house is to count number and size of fire within a certain distance in the last 7 years.

For example, I want to find number of fires within 5km of each house in the past 7 years, then calculate their average size!


How to code this in Python?


My sample data is attached. SHAPE_AERA is the size of fire.


Thanks so much,