# Calculate density of point feature class using field calculator? (not pop)

I'm just wondering what would be the best method to calculate density in the field calculator for a point shapefile (ArcMap). This wouldn't be based on a population value. I would need to derive a value for each point based on the proximity of surrounding points that I can plug into each point feature. Obviously the more points surrounding the subject point the higher the value. How would I do this? I have the spatial analyst tool I don't want to create a raster. I want to be able to symbolize each point based on their density value (stretched)

• Without creating a raster or stepping out to python, I do not think that this is possible. Since you are just needing a distance function, spatial analyst should not even be necessary. I guess you could do this manually by creating a distance matrix and for every row, count the number of neighbors n[<= d]. If you want true density you would then divide this value by the area in the defined distance (d) radius [pi*d^2]. This would only be a few lines of code in Python or R. Apr 20, 2018 at 17:12
• Do you have an example? I don't need true density Apr 20, 2018 at 17:14
• You can use point distance to create a distance matrix constrained by the search distance. This would be a good starting point. desktop.arcgis.com/en/arcmap/10.3/tools/analysis-toolbox/… Apr 20, 2018 at 17:20