Skip to content

PublishRoutingServices

Deelesh Mandloi edited this page Jul 20, 2016 · 8 revisions

#Publish Routing Services

Routing services are a collection of Map and Geoprocessing services that allow you to perform route, closest facility, service areas, location-allocation and vehicle routing problem analyses on transportation networks and visualize traffic speeds based on historical averages.

Before your are ready to publish routing services make sure you have correct software and have completed the data setup.

The services are published using Publish Routing Services geoprocessing tool. This tool needs to be run from a publisher machine (i.e. machine running ArcGIS for Desktop). The tool creates following services on your ArcGIS Server site.

  • NetworkAnalysis - A map service with network analysis capability to perform route, closest facility and service area analyses in synchronous execution mode. The service can also be used to visualize historical traffic patterns. The service is meant for executing analysis that complete quickly.

  • NetworkAnalysis - A geoprocessing service that has tools (or tasks) to perform route, closest facility, service areas, location-allocation and vehicle routing problem analyses in asynchronous execution mode. The tools within this service are meant for executing analysis that take significantly longer time to complete.

  • NetworkAnalysisSync - A geoprocessing service that has tools (or tasks) to perform vehicle routing problem analysis in synchronous execution mode. The tools within this service are meant for executing analysis that complete quickly.

  • NetworkAnalysisUtilities - A geoprocessing service that has tools (or tasks) to provide auxiliary information for running tools within NetworkAnalysis and NetworkAnalysisSync geoprocessing services.

##Run Publish Routing Services Tool

  • Download the routing tools archive which contains tools that are published as routing services as well as tools to publish routing services.

  • Unzip the archive to a folder on your publisher machine.

  • From Catalog Window in ArcMap, navigate to the folder containing the StreetMap Premium data (SMP_DATA). This should have been setup as part of the data setup.

  • Browse to Routing_ND network dataset within the file geodatabase in the SMP_DATA folder and drag-drop it to the Table of Contents.

  • Click No in Adding Network Layer dialog to not add the feature classes that participate in the network dataset.

  • Hit the ESC key to stop drawing the layer in ArcMap display. The Routing_ND layer references network dataset for the entire region (such as North America) and so it can take some time before the layer draws completely.

  • In the ArcMap Table of Contents, turn off the visibility of Routing_ND layer. This layer is used for visualizing traffic speeds and its visibility will be setup as part of publishing routing services.

  • From Customize menu, select Extensions and check the Network Analyst entry within the Select the extensions you want to use list in the Extensions dialog. This ensures that you have checked out the Network Analyst license required by the Publish Routing Services tool.

  • In the ArcMap Catalog Window, navigate to the folder containing the routing tools you downloaded earlier.

  • Open the Publish Routing Services geoprocessing tool from the UtilityTools toolbox. You can read the documentation for the tool by clicking the Tool Help button.

  • Specify the values for the tool parameters and run the tool by clicking the OK button.

Upon successful execution of Publish Routing Services tool, your ArcGIS for Server site will have all the routing services.

If the tool execution fails, a log file PublishRoutingServices.log, with details about the failure is saved on your computer. Please add an issue about the failure providing the details from the log file.

Clone this wiki locally