Disponible con licencia de Business Analyst.
Resumen
Creates a feature class of trade areas, based on travel time and distance, around point features.
Ilustración
Uso
Debe haber iniciado sesión en ArcGIS Online o tener instalado Business Analyst Data.
You can create drive time rings that are nonoverlapping using various travel modes.
The Time of Day parameter is used to model output polygons based on historical traffic data at the specified day and time.
The ID Field parameter is used to create an attribute in the output that uniquely identifies each polygon and respective input point.
Sintaxis
GenerateDriveTimeTradeArea(in_features, out_feature_class, distance_type, distances, {units}, {id_field}, {dissolve_option}, {remove_overlap}, {travel_direction}, {time_of_day}, {time_zone}, {search_tolerance}, {polygon_detail})
Parámetro | Explicación | Tipo de datos |
in_features | The input point feature layer. | Feature Layer |
out_feature_class | The output feature class containing the drive time polygons. | Feature Class |
distance_type | Defines how the drive time is calculated based on method of travel. | String |
distances [distances,...] | The distances that will be used for drive time calculations. | Double |
units (Opcional) | The units that will be used for the distance values. The default value is miles. | String |
id_field (Opcional) | A unique ID field for existing facilities. | Field |
dissolve_option (Opcional) | Specifies whether overlapping or nonoverlapping service areas for a single location will be used when multiple distances are specified.
| String |
remove_overlap (Opcional) | Specifies whether overlapping concentric rings will be created or overlap will be removed from multiple locations in relation to one another.
| Boolean |
travel_direction (Opcional) | Specifies the direction of travel that will be used between stores and customers.
| String |
time_of_day (Opcional) | The time and date that will be used when calculating distance. | Date |
time_zone (Opcional) | Specifies the time zone that will be used for the Time of Day parameter.
| String |
search_tolerance (Opcional) | The maximum distance that input points can be from the network. Points located beyond the search tolerance will be excluded from processing. The parameter requires a distance value and units for the tolerance. The default value is 5000 meters. | Linear Unit |
polygon_detail (Opcional) | Specifies the level of detail that will be used for the output drive time polygons.
| String |
Muestra de código
The following Python window script demonstrates how to use the GenerateDriveTimeTradeArea function.
import arcpy
arcpy.ba.GenerateDriveTimeTradeArea(r"C:\Project1.gdb\DriveTime.gdb\Starbucks",
"\Documents\ArcGIS\Projects\Project1.gdb\Starbucks_GenerateDriveTimeTradeArea",
"Driving Distance", 1.3, "MILES", None,
"OVERLAP", "KEEP_OVERLAP", "TOWARD_STORES",
None, "TIME_ZONE_AT_LOCATION", None,
"STANDARD")
Entornos
Información de licenciamiento
- Basic: Requiere Business Analyst
- Standard: Requiere Business Analyst
- Advanced: Requiere Business Analyst