Select to view content in your preferred language

Calculating network distance from a point to the nearest polyline or polygon

1477
2
08-23-2010 06:15 AM
LauraMacdonald
New Contributor
I would like to find the distance from Survey respondents' homes (points) to their nearest park (polyline or polygon), is there an easy way of doing this? I've used network analyst previously but only from point to point.
Tags (2)
0 Kudos
2 Replies
MichaelRice
Deactivated User
You can take your park polygons and turn them into polylines using the 'Polygon to Line' geoprocessing tool (this will simply take the rings of each polygon as a polyline).

Then do an intersect of your polyline features against your street features in your network dataset using the 'Intersect' geoprocessing tool (make sure to specify the output feature class type as a point feature class). This new point feature class will effectively represent all of the possible entry points into your parks along the network dataset.

Create a closest facility layer, then load your survey respondents' homes as Incidents, and load your newly created "park entry points" as Facilities. Solve to find the closest facility.
0 Kudos
LauraMacdonald
New Contributor
I'll try this, looks like a good way of doing it! Thanks very much for your reply. Cheers.
0 Kudos