Network Analysis: Driving in Downtown San Francisco

Published by

on

In a day of sightseeing, shopping and running errands in a busy city like San Francisco, choosing the right route through the city can decrease time in your vehicle dramatically.

Figure 1. The streets and highways of San Francisco, California mapped using ArcMap with data from North Dakota Geographic Information Systems. Red, orange, yellow and green indicate the relative movement of traffic in the area (green is freely moving, red is impeded), and black lines indicate other surface roads. This data is used as the basis for route decision making. Layers in the analysis also include signposts and restricted turns.

For this project, six addresses were given to use as stops. In order to enter these into the analysis, the Location-Allocation menu was used to enter the stops, and then they were uploaded into the Route tool. The Analysis Settings used allowed the tool to reorder the stops to find the fastest route, and also restricted U-turns to dead ends only (which means that the route would minimize the requirement to turn around). This is the sort of restriction that seems important for a task like delivering at many stops, but it something a sightseer may not care too much about.

Figure 2. Best route among five stops (with the route starting and stopping at the same location), with the route selected for the fastest time.

The final solution for the route is shown in Figure 2. The stops have been reordered from the list as they were entered in order to find the fastest route and minimizes U-turns.

Next, two barriers were added to the route and the route was re-solved. In the new solution, the stops are re-ordered, as shown in Figure 3.

Figure 3. Best route among five stops, when two added barriers are introduced into the map, with the route selected for the best time.

Comparison of the solution routes without (blue) and with (purple) barriers in place. Notice that the stops are reordered in the second route.

How does this route compare to Google Maps?

Google Maps is a ubiquitous mapping program, and it allows for multi-stop directions. However, it is not a route optimization tool. Google Maps only maps the stops as they are input, and does not have any options for the route such as avoiding U-turns.