0

I want to calculate the number of points that overlap a raster with different areas (the areas have different numerical values).

How can I determine how many points fall within each area of the raster?

1

This is one way to do it:

  1. Convert the raster to polygons using Raster To Polygon
  2. Dissolve the polygons using gridcode field as dissolve_field
  3. Follow ESRI's How To: Count the number of point features within a polygon which will tell you to:

Create a count field and a spatial join between the point shapefile and the polygon shapefile.

enter image description here

  • I have now created a polygon layer from the raster. Are you saying I have to calculate the number of points for each individual resulting polygon (after dividing the raster into polygons)? Is there no way to calculate the number of points based on the attributes of the polygons (they have different numerical values)? – ArcCandle May 29 '17 at 10:51
  • Raster to polygons will generate only one polygon feature class. The polygons will get the raster values as attributes. You should only need to follow the steps one time. – BERA May 29 '17 at 10:58
  • I can't follow your explanation. I have tried several times. Oh well. – ArcCandle May 29 '17 at 13:37
0

Alternatively, you can use extract multivalue to point in order to get the value of the raster under each point. Then you open the attribute table of your point layer and you click on the raster_value column to summarize the number of points for each of the values.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.