Select to view content in your preferred language

Is there a way to get nearest distance from a point to a specific field within an attribute table?

1962
10
06-27-2023 11:34 AM
Hailey215
Occasional Contributor

Hi all! Hopefully I am able to word this in a way that makes sense..

I have a shapefile with points, and one with roads, and I am trying to figure out how to get the nearest distance from the points to a specific type of road within the roads shapefile. The roads attribute table has a "Surface" column, and I'd like to get distance from each point to the nearest paved road, then nearest unsurfaced road, and so on.

My plan was to "Select By Attributes" for each road type, then export them to their own shapefiles, so I could do a simple "Spatial Join", but the roads shapefile will not allow me to "Export Features".

Is there a different way to do this? Any and all help/advice would be greatly appreciated!

 

0 Kudos
10 Replies
Hailey215
Occasional Contributor

It worked!! I should probably learn to use the "Near" tools at some point, but selecting the surface attributes in the road layer, and then doing a spatial join to nearest, gave me exactly what I needed 🙂