ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Exercise 1: Finding a route with a file-based network dataset

    Complexity:
    Beginner
    Data Requirement:
    Data and Maps for ArcGIS
    Data Path:
    Esri Data & Maps StreetMap North America media
    Goal:
    The goal of this tutorial is to show how the Find Route dialog box can be used to calculate routes in ArcMap.

    The Find Route dialog box is an easy-to-use tool that allows you to calculate routes in ArcMap with file-based network datasets, ArcGIS for Server routing services, and ArcGIS Online routing services. It provides many options for customizing the route calculation and display. For example, you can assign time windows to stops, set network attribute restrictions, define barriers, reorder stops automatically for the most efficient route, and modify the speed values for specific road types.

    In this exercise, you will learn how to calculate a simple route using a file-based network dataset. The StreetMap North America data, part of the Data & Maps media included with ArcGIS, will be used in this exercise. You will learn how to work with time windows and how to add stops with a known address. You will also explore the Find Route interface.

    1. Start ArcMap.
    2. Open StreetMap North America.mxd from the \streetmap_na folder on the Esri Data & Maps StreetMap North America media (referred to as the Data & Maps media for the remainder of the tutorial).
    3. Open the Find Route dialog box by clicking the Find Route button Find Route on the Tools toolbar.
      Find Route options
    4. Click the Options tab.
    5. Click the Browse button File Open next to the Routing Service drop-down arrow.
    6. Navigate to the location of the StreetMap North America data, which is located on the Data & Maps media in the \streetmap_na\data folder.
    7. Select streets.rs and click Open.
      Add routing service
    8. Keep the default values for the other options and click the Stops tab.
    9. Click the Add Stop button, which opens the Find dialog box.
    10. Click the Browse button File Open next to the Choose an address locator drop-down arrow.
    11. Navigate to the Street_Addresses_US address locator, which is located on the Data & Maps media in the \streetmap_na\data folder. Select Street_Addresses_US and click Add.

      The Street_Addresses_US locator is listed in the Choose an address locator drop-down list.

    12. Type 380 New York Street, Redlands, CA 92373 in the Full Address text box in the Find dialog box.
    13. Click Find.
    14. Right-click the desired location candidate in the list at the bottom of the Find dialog box and click Add as Stop to Find Route. The location is added to the Stops list in the Find Route dialog box.
      Find dialog Add Stop
    15. You can also enter addresses in the Geocoding toolbar and then add them as stops in the Find Route dialog by right-clicking the address and clicking Add as Stop to Find Route.
    16. Repeat these steps, this time using the address 210 Indian Canyon Dr, Palm Springs, CA, 92262.
    17. Repeat these steps, this time using the address 49500 Seminole Dr, Cabazon, CA.
    18. Click Cancel in the Find dialog box when finished.
    19. Check the Return to check box at the bottom of the Stops tab and select 380 New York St from the drop-down list.
      Find Route stops
    20. Select all the stops in the Stops list and click the Zoom To button.

      Note that the stops are all labeled with callouts in the map. This is because the Callout check box on the Options tab is checked by default.

      Map stops zoom
    21. Right-click one of the stops in the list and examine the commands in the context menu. Experiment with them if you'd like.
      Stop options
    22. Click Find Route. The route is calculated and displayed on the map, while the driving directions are displayed on the Directions tab of the Find Route dialog box.
      Map route
    23. The Directions tab allows you to zoom to the entire route, zoom to individual route segments, change the distance units, save the directions to a file, and print the directions and map. Experiment with these functions if you'd like.
      Directions one
    24. Click the Options tab.
    25. Check the Use trip start check box. Click the time and date components that you want to modify and click the up or down arrows to set the desired values. Leave the date as today's date and change the time to 08:00 AM. You will use the trip start functionality to simulate a delivery scenario, where each stop has a time window within which the delivery needs to take place, and there is a certain amount of time that needs to be spent at each stop.
      Use trip start
    26. Click the Stops tab.
    27. Right-click the Palm Springs stop and click the Properties button.
    28. In the Stop Duration list box, click the 0 in the 0m component and change the value to 30 minutes. This adds an extra 30 minutes to the trip, which will be spent at the Palm Springs location.
    29. Check the Apply Time Window check box, then set the Start and End times for the time window. Make sure the date is the same as the trip start date set on the Options tab. Change the Start time to 08:00 AM and the End time to 09:00 AM. The delivery must take place within this time window or a time window violation will be reported in the driving directions.
      Stop properties one
    30. Click OK.
    31. Right-click the Cabazon stop and click Properties.
    32. Change the Stop Duration value to 1h 0m.
    33. Check the Apply Time Window check box, then change the Start time to 08:00 AM and the End time to 09:00 AM. Make sure the date is the same as the trip start date set on the Options tab.
      Stop properties two
    34. Click OK.
    35. Click Find Route.
    36. In the Directions tab, note that the Total travel time is now shown, and it is different than the Driving time. The Total travel time reflects the driving time plus the stop duration specified for each stop. Also notice that the arrival time for each turn in the route is now included in the driving directions.
      Directions two
    37. Scroll down the driving directions to the item representing the arrival at the Cabazon stop. Notice that the driving direction text indicates that the arrival is late and a time window violation has been made.
      Directions detail
    38. Click the Stops tab and click the Remove All button. The stops list will be cleared.

    In this exercise, you learned how to calculate a route with the Find Route dialog box using the Data & Maps data included with ArcGIS. Additionally, you learned how to use time windows with your route.

    Feedback on this topic?

    ArcGIS for Desktop

    • Home
    • Documentation
    • Pricing
    • Support

    ArcGIS Platform

    • ArcGIS Online
    • ArcGIS for Desktop
    • ArcGIS for Server
    • ArcGIS for Developers
    • ArcGIS Solutions
    • ArcGIS Marketplace

    About Esri

    • About Us
    • Careers
    • Insiders Blog
    • User Conference
    • Developer Summit
    Esri
    © Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal