Доступно с лицензией Business Analyst.
Сводка
Creates a feature class of network distance trade areas that expand around point features until criteria is reached.
Использование
The size of output polygons is determined by Threshold Values entered for a selected Threshold Variable from the Business Analyst dataset.
Multiple threshold drive time polygons can be created around each input by typing individual values into separate threshold value text boxes.
The ID Field parameter uniquely identifies the point location around which threshold drive time polygons are created.
Синтаксис
GenerateThresholdDriveTimeTradeArea(in_features, out_feature_class, threshold_variable, threshold_values, distance_type, {units}, {id_field}, {travel_direction}, {time_of_day}, {time_zone}, {search_tolerance}, {polygon_detail}, {iterations_limit})
Parameter | Объяснение | Тип данных |
in_features | The input point feature layer. | Feature Layer |
out_feature_class | The output feature class containing the drive time polygons. | Feature Class |
threshold_variable | The selected Business Analyst dataset variable to which the threshold value will be applied. | String |
threshold_values [threshold_values,...] | The threshold variable value that determines the size of the output rings. The rings will expand until they contain the threshold value of the selected variable. | Double |
distance_type | The method of travel used to create the output polygons. | String |
units (Дополнительный) | The distance units to be used with the threshold values. | String |
id_field (Дополнительный) | The ID that uniquely identifies each input point and is included in the output as an attribute. | Field |
travel_direction (Дополнительный) | Specifies the direction of travel for output polygon creation.
| String |
time_of_day (Дополнительный) | The time and date that will be used when calculating distance. | Date |
time_zone (Дополнительный) | Specifies the time zone that will be used for the Time of Day parameter.
| String |
search_tolerance (Дополнительный) | The maximum distance that input points can be from the network. The default value is 5000 meters. | Linear Unit |
polygon_detail (Дополнительный) | Specifies the level of detail that will be used for the output drive time polygons.
| String |
iterations_limit (Дополнительный) | Restrict the number of drive times used to find the optimal threshold limit. | Long |
Пример кода
The following Python window script demonstrates how to use the GenerateThresholdDriveTimeTradeArea function.
import arcpy
arcpy.ba.GenerateThresholdDriveTimeTradeArea("SF_Custs",
r"C:\ Project1\Project1.gdb\SF_Custs_GenerateThresholdDriveTimeTradeArea",
"populationtotals.totpop_cy",
[25000, 50000], "Driving Time",
"MINUTES", "CUST_ID", None,
"TOWARD_STORES", None,
"TIME_ZONE_AT_LOCATION", None,
"STANDARD", 10)
Environments
Информация о лицензиях
- Basic: Требуется Business Analyst
- Standard: Требуется Business Analyst
- Advanced: Требуется Business Analyst