Available with Network Analyst license.
Service areas show which roads can be reached within a given distance or drive time. They often show response coverage for emergency vehicles. In this tutorial, assume you work for a fire department, and the fire chief wants to know the areas of the community the fire trucks can reach within four minutes. A service area is associated with a local network dataset or a network service hosted on ArcGIS Online or ArcGIS Enterprise. This tutorial first shows how to use a local network dataset and then how to use the online service.
Get the data
The data for this tutorial is available for download.
- Go to the data download page.
- Click the Download button, and save the file locally.
- Unzip the downloaded file.
Create a map
- Open ArcGIS Pro.
- Create a new project based on the Map.aptx template.
A new project with a map appears.
Add the tutorial data to the project
A network data source is an intelligent model of the road system. It contains not only the location and attributes of roads, but also information about how roads relate to one another, such as which roads are connected, which turns between connected roads are allowed or prohibited, and other information that affects the possible travel paths and how long travel takes. The service area solver references the network data source to determine which roads can be reached in a given time to create drive-time areas.
If you perform an analysis using ArcGIS Online, the solver references a high-quality, worldwide network dataset stored in the ArcGIS Online cloud and will use ArcGIS Online credits. If you're using your own data, no online credits are used, but you need to associate your network dataset with the project.
In this set of steps, add a network dataset to the map.
- In the Catalog pane, which is on the side of the application by default, right-click Folders and choose Add Folder Connection .
The Add Folder Connection dialog box appears.
- Browse to the folder where you placed the tutorial data, double-click Network Analyst, and click Tutorial to select the folder.
- Click OK.
A connection to the Tutorial folder is created.
- In the Catalog pane, expand Folders > Tutorial > SanFrancisco.gdb > Transportation.
- Drag Streets_ND, which has a network dataset icon , onto the map.
The network dataset is added to the Contents pane as well as to the map.
- Right-click Streets_ND in the Contents pane and choose Zoom To Layer to view the San Francisco area.
By default, network datasets built with traffic data show traffic conditions for the current time when they are added to the map. This network dataset includes historical traffic, so you are seeing typical traffic conditions for the current time and day of the week. Not all roads in this network dataset include traffic, so only the ones that do are shown by default.
The area covered by the network dataset is where you can perform network analyses.
Viewing the network dataset isn't required to perform an analysis, so next, you will hide it.
- In the Contents pane, uncheck Streets_ND to display the basemap only.
- In the Catalog pane, click Tutorial > SanFrancisco.gdb > Analysis > FireStations.
- In the Contents pane, right-click the FireStations layer, and choose Zoom To Layer .
Next, add one of the network datasets contained within the folder to the map.
Create the service area layer
A service area layer provides the structure and properties needed to set up and solve service area problems. It also contains the results after solving.
- On the Analysis tab, in the Tools group, click Network Analysis > Service Area .
The Service Area layer is added to the Contents pane. It includes several sublayers that contain the inputs and outputs of the analysis.
The service area layer is referencing the San Francisco network dataset because that network dataset was in the map when you created the layer and was set as the map's network data source.
Note:
To see or change the network data source that will be used to create the network analysis layer, on the Analysis tab, in the Tools group, you can click the Network Analysis drop-down arrow and look under Network Data Source. - In the Contents pane, click Service Area to select the group layer.
The Service Area tab appears in the Network Analyst group at the top of ArcGIS Pro.
- Click Service Area to see the tab's controls.
You'll use these controls to define the service area you want to generate.
Tip:
The Service Area tab appears only when you select a service area layer in the Contents pane. Also, if you have multiple service area layers present, each has its own tab.
Add facilities
Think of a facility as the starting location of a vehicle. The service area solver simulates all possible paths the vehicle can travel within an elapsed time when departing from the facility.
Since fire engines are typically parked at fire stations, load the fire stations into the Facilities sublayer.
- On the Service Area tab, in the Input Data group,
click Import Facilities .
The Geoprocessing pane appears, showing the Add Locations tool. Add Locations loads features into a network analysis layer, such as a service area layer. The tool can load the points that represent fire stations into the Facilities sublayer.
- Make sure Input Network Analysis Layer is set to Service Area and Sub Layer is set to Facilities.
- Click the Input Locations drop-down menu and choose FireStations. This is the point feature class you previously added to the map.
- Leave the default settings for the rest of the tool parameters and click the Run button at the bottom of the Geoprocessing pane.
The fire stations load as facilities.
Set the cutoff time
Set the fire response time to four minutes by setting a cutoff value.
- On the Service Area tab, in the Travel Settings group, change the Cutoffs value to 4.
The units for Cutoffs (min) appear to the right of the Mode text box.
Run the analysis
- On the Service Area tab, click Run .
The results show the areas that can be reached in a four-minute drive from each fire station. Any area not covered by a polygon cannot be reached within four minutes.
- The polygon precision is set to its standard level for generating quick and fairly precise results. In the Output Geometry group, on the Output Polygon Detail Level drop-down menu, change the level from Standard Precision to High Precision.
- On the Service Area tab, click Run .
The list of results is the same, but the polygons more accurately represent response times.
Generate nonoverlapping polygons
The response-time polygons overlap one another in many parts of the city. This indicates that more than one fire station can reach those areas within four minutes. This is valuable information, but now you'll change the analysis settings so that polygons don't overlap one another. You'll see which fire station has the quickest response time to each area of town that's within four minutes of a fire station.
- On the Service Area tab, in the Output Geometry group, change the Output Facility Allocate Type drop-down menu from Overlap to Split.
- On the Service Area tab, click Run .
The updated polygons don't overlap. Polygon boundaries meet where response times to different fire stations are equal. Although a street may be within four minutes of more than one fire station, it's covered by one polygon only, that is, the polygon associated with the nearest fire station.
Generate dissolved polygons
You can also create a map to show what areas can be reached within two- and four-minute response times.
- In the Travel Settings group, type 2, 4 in the Cutoffs text box.
- On the Service Area tab, click Run .
Each polygon shows the streets that fire trucks from a particular fire station can reach within two- and four-minute response times. For the next map, you also want to show what areas of town are covered within the two response times—without specifying which fire station covers the area. Each map you create has its benefits and drawbacks. The next map provides less information but more clearly shows what areas are within two or four minutes of any fire station.
- In the Output Geometry group, change the Output Facility Allocate Type drop-down menu from Split to Dissolve.
- On the Service Area tab, click Run .
Use ArcGIS Online to create a service area
Service areas can be created without using a local network dataset. Follow the steps below to create a service area layer based on an online service. Service areas created online use credits to solve.
Note:
To use ArcGIS Online services, you must be a member of an organization with privileges to perform network analysis.
- On the Analysis tab, in the Tools group, click Network Analysis > Change Network Data Source.
The Select Network Data source dialog box appears.
- Choose http://www.arcgis.com/ and click OK.
- On the Analysis tab, in the Tools group, click Network Analysis > Service Area .
A new Service Area layer is added to the Contents pane.
This second Service Area layer references the ArcGIS Online service area service based on a network dataset hosted in the cloud.
- In the Contents pane, click Service Area to select the group layer.
The Service Area tab appears in the Network Analyst group at the top of ArcGIS Pro.
- Click Service Area to see the tab's controls. The Run button has a cloud icon indicating the service area will be solved using an online service, not a local network dataset.
Repeat the steps in the first part of this tutorial to add facilities and run the analysis with various options.