The Create Drive-Time Areas task creates areas that can be reached within a given drive time or drive distance.
It can help you answer questions such as:
- How far can I drive from here in five minutes?
- What areas are covered within a three-mile drive distance of my stores?
- What areas are within four minutes of our fire stations?
Licensing
As described in the Get Started topic, in order to use any analysis task, the administrator of the organization needs to grant you certain basic privileges. To use Create Drive-Time Areas, you also need to be granted the Network Analysis privilege.
Limits
There are limits to the number of features and drive time or drive distance.
input
—Maximum 1,000 features.Layer -
point
—Maximum 250 features.Barrier Layer -
line
—An error will occur if the number of street features intersected by all the line barriers exceeds 500.Barrier Layer -
polygon
—An error will occur if the number of street features intersected by all the polygon barriers exceeds 2000.Barrier Layer - Travel times cannot exceed 9 hours 9 hours (540 minutes) when walking or 5 hours(300 minutes) for all other travel times.
- Travel distances cannot exceed 27 miles (43.45 kilometers) when walking or 300 miles (482.80 kilometers) for all other travel distances.
- When generating holes or reachable streets, travel times cannot exceed 5 hours (300 minutes) when walking or 15 minutes for all other travel times.
- When generating holes or reachable streets, travel distances cannot exceed 15 miles (24.14 kilometers).
- An error will occur if the tool takes more than 2 hour (7,200 seconds) to execute when using travel modes. If this error occurs, try rerunning the analysis with fewer input features.
Request URL
http://<analysis url>/CreateDriveTimeAreas/submitJob
Request Parameters
Parameter | Details | |||||||
---|---|---|---|---|---|---|---|---|
| The points around which travel areas based on a mode of transportation will be drawn. Syntax: As described in detail in the Feature input topic, this parameter can be one of the following:
Examples:
| |||||||
|
Specify the mode of transportation for the analysis. Travel modes are managed in ArcGIS Online and can be configured by the administrator of your organization to better reflect your organization's workflows. You must specify the JSON object containing the settings for a travel mode supported by your organization. To get a list of supported travel modes, run the Use a JSON object representing travel mode settings for the For example, the following is a string representing the Walking Time travel mode as returned by the
Convert the value above to a valid JSON object and pass it as the value for the
| |||||||
| The size of the polygons to create. The units for The numeric break value or values are passed in as an array of doubles. By setting many unique values in the array, polygons of different sizes are generated around each input location. Examples:
| |||||||
| The units of the To create areas showing how far you can go along roads or walkways within a given time, specify a time unit. Alternatively, specify a distance unit to generate areas bounded by a maximum travel distance. When the Values: Example: | |||||||
| Determines how overlapping areas are processed. Values:
Example: | |||||||
| Specify whether travel times should consider traffic conditions. To use traffic in the analysis, To use traffic in the analysis, set The service supports two kinds of traffic: typical and live. Typical traffic references travel speeds that are made up of historical averages for each five-minute interval spanning a week. Live traffic retrieves speeds from a traffic feed that processes phone probe records, sensors, and other data sources to record actual travel speeds and predict speeds for the near future. The Data Coverage page shows the countries Esri currently provides traffic data for. Typical Traffic: To ensure the task uses typical traffic in locations where it is available, choose a time and day of the week, and then convert the day of the week to one of the following dates from 1990:
Set the time and date as Unix time in milliseconds. For example, to solve for 1:03 p.m. on Thursdays, set the time and date to 1:03 p.m., 4 January 1990; and convert to milliseconds (631458180000). Live Traffic: To use live traffic when and where it is available, choose a time and date and convert to Unix time. Esri saves live traffic data for 4 hours and references predictive data extending 4 hours into the future. If the time and date you specify for this parameter is outside the 8-hour time window, or the travel time in the analysis continues past the predictive data window, the task falls back to typical traffic speeds. Syntax: The number of milliseconds since the Unix epoch (January 1, 1970). Examples:
| |||||||
| Specify the time zone or zones of the
The Input:
The UTC Illustration: Setting Input: Values: | |||||||
|
Specify one or more point features that act as temporary restrictions (barriers) when traveling on the underlying streets. A point barrier can model a fallen tree, an accident, a downed electrical line, or anything that completely blocks traffic at a specific position along the street. Travel is permitted on the street but not through the barrier. Syntax: As described in detail in the Feature input topic, this parameter can be one of the following:
Examples:
| |||||||
|
Specify one or more line features that prohibit travel anywhere the lines intersect the streets. A line barrier prohibits travel anywhere the barrier intersects the streets. For example, a parade or protest that blocks traffic across several street segments can be modeled with a line barrier. Syntax: As described in detail in the Feature input topic, this parameter can be one of the following:
Examples:
| |||||||
|
Specify one or more polygon features that completely restrict travel on the streets intersected by the polygons. One use of this type of barrier is to model floods covering areas of the street network and making road travel there impossible. Syntax: As described in detail in the Feature input topic, this parameter can be one of the following:
Examples:
| |||||||
| Specify whether the direction of travel used to generate the travel areas is toward or away from the input locations. Values: Default: The travel direction can influence how the areas are generated. | |||||||
| When set to | |||||||
| When set to
| |||||||
|
If provided, the task will create a feature service of the results. You define the name of the service. If an Syntax:
In ArcGIS Online or ArcGIS Enterprise 10.9.1 and later, you can overwrite an existing feature service by providing the Syntax:
or
| |||||||
context |
The Context parameter contains the following additional settings that affect task operation:
Syntax:
| |||||||
f | The response format. The default response format is Values: |
Response
When you submit a request, the service assigns a unique job ID for the transaction.
Syntax:
{
"jobId": "<unique job identifier>",
"jobStatus": "<job status>"
}
After the initial request is submitted, you can use the job
to periodically check the status of the job and messages as described in the topic Check job status. Once the job has successfully completed, you use the job
to retrive the results. To track the status, you can make a request of the following form:
http://<analysis url>/CreateDriveTimeAreas/jobs/<jobId>
Accessing results
When the status of the job request is esri
, you can access the results of the analysis by making a request of the following form.
http://<analysis url>/CreateDriveTimeAreas/jobs/<jobId>/results/driveTimeAreasLayer?token=<your token>&f=json
Parameter | Description |
---|---|
| The output layer containing the areas that can be reached within the given driving time or driving distance from the points in the input layer. Example:
The result has properties for parameter name, data type, and value. The contents of value depends on the
See Feature Output for more information about how the result layer or collection is accessed. Discussion: The result layer has the following attributes:
|
| The output layer containing the streets (also known as service area lines) that were used to create the drive-time areas. Example:
The result has properties for parameter name, data type, and value. The contents of value depends on the
See Feature Output for more information about how the result layer or collection is accessed. Discussion: The result layer has the following attributes:
|