[GIS] Running network analyst for closest facility anaysis in ArcMap

arcgis-10.2arcgis-desktoparcmapclosest-facilitynetwork-analyst

I’m trying to carry out closest facility analysis in ArcMap 10.2.2 on the network analysis layer created from the OS integrated transport and urban path networks. But when I click "solve" in the network analyst bar, to generate the routes between the incidents (postcode centroids) and facilities (green space access points), its failing to calculate routes for all my incidents.

An error window comes up once the analysis in complete listing hundreds of the incidents which it says are on traversable positions of the network e.g. "Location BS138RG in incidents is on a non-traversable network element position".

Error message after the network analysis has been undertaken, done after clicking "solve"

It repeats this message for 1715 of my incidents, then the list goes on to list 2716 postcodes which it says no facilities can be found for, I assume because of the incidents being on non-traversable parts of the network. All my access points and postcodes were originally located fine when I loaded their locations, shown from the image below. And routes have been calculated fine for about 85% of the incidents, but I can't work out why it's not working for them all, many of the facilities and locations now showing up as errors on the map.

Loading locations of facilities and incidents

I didn't set any restrictions in the analysis settings of the network analysis layer, so assumed this would mean that all parts of the network should be traversable. However, because I set drive time as the impedance, perhaps the problem's that in the speed profile for this impedance, the speeds are set to 0 mph along networks which aren't accessible by cars e.g. paths, bridleways. In which case, perhaps there's no way around some of the incidents being on non traversable parts of the network when calculating drive times, since cars are never going to be able to drive along these types of networks! Or perhaps the problem's that most of my facilities and incidents aren't actually situated on the network. But I thought selecting to "snap to position along network" when loading the locations of each of them, would prevent this being a problem.

Best Answer

I just noticed that you also posted your question on the GeoNet Forum. I had the same problem as you and followed your steps to try to get a few of my Destination points routed to, but nothing worked. I finally got the answer and fix I needed.

It turned out that some of the one way road designators in the attribute table were going the wrong direction along a highway (FT instead of TF), so the routing would stop when the road switched directions.

You can see the direction of your one-ways and two-ways by right-clicking on the "road network dataset edges" shape in ArcMap, going to Properties, then Symbology.

Click on the box that says "Arrows..." Click on the box to show the arrows for one-way, both, and none so you can visually see all the restrictions.

It is also helpful to click the button to draw the arrows at the endpoints, so you can see the road junctions.

This really helped me to identify the road segments that were going the wrong direction.

Additionally, it was suggested that I run a service area on the facilities that were located but not routed to, and that I check on the box to generate lines in the Service Area set up box under the Line Generation tab.

This way you can see all the routes going from the facility and where there may be gaps in the routing.

Here is the thread if you want to read it all: https://geonet.esri.com/thread/162773

Related Question