Select to view content in your preferred language

Network Analyst Tools

594
2
12-02-2019 11:13 AM
by Anonymous User
Not applicable

I have two polygon layers, and a roads layer that I've made into a network dataset. My goal is to find the closest polygon in one layer to each polygon in the other layer, but instead of just calculating the distance to find the closest I need to use the roads ND to see which of the polygons from the first layer is closest to the polygon from the second layer.

My question is, what tool can I use to do this? I've assumed I can do it with something in the Network Analyst toolset, but I can't figure out what.
From the picture, I want to find the closest green polygon to both of the red polygons using the yellow roads.

Hopefully this question makes sense. I'm still relatively new to this, in my first course on the subject. If I need to clarify anything further please let me know.

0 Kudos
2 Replies
DominikAllemann
Esri Contributor

Hi Chad,

Thank you for your question. In order to solve your task with the Network Analyst, the following approach came spontaneously to my mind:

  • Convert the vertices of your polygon features to points (Feature Vertices To Points—Data Management toolbox | ArcGIS Desktop)
    • Do this twice: once for the green polygons and once for the red polygons
  • Calculate an OD cost matrix with the Network Analyst (OD cost matrix analysis layer—ArcGIS Pro | ArcGIS Desktop )
    • Load the vertices from the red polygons as origins and the vertices from the green polygons as destinations (or vice-versa)
    • Use the OD cost matrix to find out the shortest path between any vertex of a green polygon and any vertex of a red polygon.
    • Use these vertices geographic positions to determine to which green or red polygon the vertices belong.

If you are having more detailed questions regarding the Network Analyst, please feel free to refer to the Network Analyst Geonet Place (Network Analyst ) - there it is more likely to find corresponding experts than on this GeoNet Space dedicated to the product ArcGIS Urban :-).

by Anonymous User
Not applicable

Thank you so much for the help! That's what I was looking for.

0 Kudos