Select to view content in your preferred language

Find all points located at 100feet in the same layer

945
3
11-29-2016 08:36 AM
JoseSanchez
Frequent Contributor

Hello everyone,

I need to read a point layer and find all the points from this same layer that are located at 100 feet.  The goal is to find all the points in less than 100 feet and check if they were created in less than a year (365 days).

How can I do that in Model Builder or Python?

0 Kudos
3 Replies
DarrenWiens2
MVP Honored Contributor

Generate near table, which requires Advanced licensing, is the out-of-the-box tool to find the distance between all features: Generate Near Table—Help | ArcGIS for Desktop 

Other than that, you can loop through your features using two SearchCursors, comparing geometries using the distanceTo method of the PointGeometry object.

edit: after seeing Rebecca's comment, can you clarify whether you're interested in 100' distance apart or 100' elevation?

RebeccaStrauch__GISP
MVP Emeritus

If you have an attribute with this info, you could just select and save them to a new layer.  If you don't, do you have an elevation grid?  OIf so, and you have the Spatial analysis extension you can look at Extract Values to Points—Help | ArcGIS for Desktop 

Might not need to go the Model Builder or python route unless you have a lot of layers that need this.  The commands can do all the points in a layer at once.

tagging a few other groups

Spatial Analyst‌   AnalysisGeoprocessing

edit: or do what Darren said....I was thinking elevation not distance.

0 Kudos