Доступно с лицензией Business Analyst.
Сводка
Creates rings around point locations.
Иллюстрация
Использование
Valid numeric distances must be used when defining distance values. Negative distances cannot be used for rings.
The Remove Overlap parameter uses Thiessen polygons to remove overlap between output ring polygons.
Синтаксис
arcpy.ba.GenerateTradeAreaRings(in_features, out_feature_class, {radii}, {units}, {id_field}, {remove_overlap}, {dissolve_option}, {input_method}, {expression})
Parameter | Объяснение | Тип данных |
in_features | The input features containing the center points for the rings. | Feature Layer |
out_feature_class | The feature class that will contain the output ring features. | Feature Class |
radii [radii,...] (Дополнительный) | The distances, in ascending size, used to create rings around the input features. | Double |
units (Дополнительный) | The linear unit to be used with the distance values. | String |
id_field (Дополнительный) | A unique ID field in the ring center layer. | Field |
remove_overlap (Дополнительный) | Creates overlapping concentric rings or removes overlap.
| Boolean |
dissolve_option (Дополнительный) | Specifies whether overlapping or nonoverlapping service areas for a single location will be used when multiple distances are specified.
| String |
input_method (Дополнительный) | Specifies the type of value that is to be used for each drive time.
| String |
expression (Дополнительный) | A fields-based expression to calculate the radii. | SQL Expression |
Пример кода
The following Python window script demonstrates how to use the GenerateTradeAreaRings tool.
import arcpy
arcpy.ba.GenerateTradeAreaRings("sales_locations.shp",r"sales_locations_GenerateTrad.shp", [1, 3, 5],"MILES", "ID", "KEEP_OVERLAP", Values, None)
Environments
Информация о лицензиях
- Basic: Требуется Business Analyst
- Standard: Требуется Business Analyst
- Advanced: Требуется Business Analyst