Select to view content in your preferred language

How to assign value to raster cells based on the nearest polygon value?

07-31-2023 07:08 AM
New Contributor

I'm using Arcpro 3.1.2

I have a polygonal layer of agricultural fields, with three possible Ecological values (a range of 1-3). between the polygons, there are gaps with no polygons (due to dirt roads, water reservoirs and such). I need to fill these gaps with the same values the fields have, to turn the whole thing into a gapless polygonal layer. To do this, I turned the gap area into a raster and now I want to assign each cell a value based on its nearest polygon. Any ideas on how to do this?

The next step would be to turn the rater layer back to a polygonal layer, and then merge the two polygon layers.

Thank you very much!

0 Replies