Hi,
Earlier I asked how to find the nearest fire that burned 7 years ago and get helped.
Here is the detail the discussion:
https://community.esri.com/message/491873?et=watches.email.thread#491873
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,
Chelsea
Solved! Go to Solution.
I think I figured out the problem. Input Field Shape_area is 0 in my new
data.
thanks,
qiuhua
Is it an empty geometry? In that case I suppose it can't calculate distances and errors will occur. I you exclude it from the dataset it should work. If not post it and I will have a look.
Kind regards, Xander