0

I have a layer of polygons, where in some polygons there is missing data (null). I would like to fill these missing attributes by the average attributes in neighboring polygons. Is there a simple way to achieve this?

1 Answer 1

1

The simple way to start doing this will be to use the Polygon Neighbors tool to determine the neighbors of each polygon.

There is detailed documentation on how How Polygon Neighbors Works because it is a very flexible tool.

If it does not do what you need then it should be possible to post-process the output using ArcPy cursors to do so.

4
  • Thanks @PolyGeo. However, Polygon Neighbors just provides a table describing the neighboring relationship. The main question here is about how to deal with the missing data issue. I want to have the original layer to be filled with averages of neighbors where there are nulls. Commented Feb 8, 2017 at 9:54
  • What's the average of a text field? What's the average of a date field? Have you looked into ArcPy cursors? Commented Feb 8, 2017 at 10:12
  • I would like to choose only one field, which is float or integer, for which average is well defined. Commented Feb 8, 2017 at 10:14
  • @splinter it is enough to populate table by missing numeric. Use attribute join with original. Summarise it afterwards. "Single" click attitude is wrong sometimes (always?) Commented Feb 8, 2017 at 20:01

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.