Esri: Directions

Create point-to-point routing, or build optimized routes that automatically consider traffic

Esri, the global market leader in geographic information system (GIS) software, offers the most powerful mapping and spatial analytics technology available. The Esri Routing Service for directions can be used to find the best way to get from one location to another or to visit several locations. The best route can be the quickest route for a given time of day taking traffic conditions into account, or it can be the shortest route that minimizes the travel distance.

Walkthrough

The block requires four inputs: two pairs of latitude and longitude for each location. There are additional optional parameters you can specify such as travel modes (e.g., walk, drive or truck) or restrictions to avoid toll roads or height restrictions. From within the block, the Routing service is called and the response is sent back to the client. To learn more about Esri's Routing service visit the ArcGIS for Developer site or the ArcGIS REST API documentation. And, go here to sign-up for an ArcGIS Developer Program.

Input

Public message containing the starting and ending coordinates to the esri_routing_input channel.

1

Output

The block appends the Esri routing result into the message payload. Please refer to the Esri documentation for service properties.

1

Talk to an expert