shaun_weston-eagle-co-nz-esridist

Network Analysis Service - Closest Facility

Discussion created by shaun_weston-eagle-co-nz-esridist on Jun 11, 2013
Latest reply on Jun 11, 2013 by lukepatrick
I'm setting up a network analyst closest facility tool using similar code to this: http://developers.arcgis.com/en/javascript/jssamples/routetask_closest_facility.html

I
will be using ArcGIS Online hosted network service to solve this. The user will input the incident by clicking on the map, but I'm not sure how to get the facilties in there. I have a map service with all the points to be facilities, but not sure how to add this into the network analyst tool. Would I have to write a tool to extract the points out of the feature class and load into the facilities layer?

Outcomes