Assigning the nearest raster elements to a point

1146
1
06-10-2020 06:34 AM
StefanJodl
New Contributor

Hello,

I have a feature class containing points on a map and several raster files with a resolution of 250mx250m. I want to assign each raster element to the nearest point. So far I have tried using euclidian allocation, but this didn't work out as i planned.

Does anyone have a solution for this problem?

0 Kudos
1 Reply
Robert_LeClair
Esri Notable Contributor

One workflow that I can think that could work is:

  1. Run the Raster to Point geoprocessing tool first to create a point feature class with the VALUE you wish to extract from the raster to the point attribute table.
  2. Then run the Spatial Join geoprocessing tool with the CLOSEST match_option parameter.  The target_features is your current point feature class and join_features is your output feature class from Step 1.

Hope this helps!

0 Kudos