I would like to find the maximum amount of points within a specified domain that are a certain distance from each other. For example, how many points within an area are 1000ft from each other? I envision each point with a radius of the desired distance, but I don't know if I must start with a point or what.
|
|
It sounds to me that you would get an answer to your question by creating a subset of your points dataset and running Near analysis (if you're using ArcGIS) on it subset choosing it as both: near and input features. Description of that tool. Having done this you would be able to choose points that have a neighbor in the same dataset within certain distance. |
|||
|
|
|
Just from the sound of it, you want to pick a point and buffer it 1000ft, then give a total of how many points are within that buffer. Is that correct? If, so you just need to loop through each point and buffer it a 1000ft, then take the buffer and do a spatial query, could be a within or contains, to get the total count. I do not know if you are using ArcGIS, QGIS, etc., but basically that is the process.
|
|||
|
|
|
If you're interested in a Python implementation of what Jamie suggests, try running this code (adjust paths to data accordingly in lines 4,5,8,9,10):
The join_count field which is created in your pointsDataBufferJoin file will tell you how many points matched up ("Intersected") with each 1000 foot buffer. |
||||
|
|