Generate Threshold Rings (Business Analyst)

获得 Business Analyst 许可后可用。

摘要

Creates a feature class of ring trade areas that expand around point features until the threshold value is reached.

使用情况

  • The size of the output rings is determined by Threshold Values entered for a selected Threshold Variable from the active Business Analyst dataset.

  • Multiple threshold rings can be created around each input by typing individual values into separate threshold value text boxes.

  • The ID Field parameter value uniquely identifies the point location around which threshold rings are created.

参数

标注说明数据类型
Input Features

The input point feature layer.

Feature Layer
Output Feature Class

The output feature class.

Feature Class
Threshold Variable

The selected Business Analyst dataset variable to which the threshold value will be applied.

String
Threshold Values

The size of the output rings. The rings will expand until they contain the threshold value of the selected variable.

Double
Distance Units
(可选)

The distance units to be used with the threshold values.

String
ID Field
(可选)

An ID that uniquely identifies each input point and is included in the output as an attribute.

Field
Input Method
(可选)

Specifies the type of value that is to be used for each drive time.

  • ValuesUses a constant value (all trade areas will be the same size). This is the default.
  • ExpressionThe values from a field or an expression (trade areas can be a different size).
String
Expression
(可选)

A fields-based expression to calculate the radii.

SQL Expression

arcpy.ba.GenerateThresholdRingTradeArea(in_features, out_feature_class, threshold_variable, threshold_values, {units}, {id_field}, {input_method}, {expression})
名称说明数据类型
in_features

The input point feature layer.

Feature Layer
out_feature_class

The output feature class.

Feature Class
threshold_variable

The selected Business Analyst dataset variable to which the threshold value will be applied.

String
threshold_values
[threshold_values,...]

The size of the output rings. The rings will expand until they contain the threshold value of the selected variable.

Double
units
(可选)

The distance units to be used with the threshold values.

String
id_field
(可选)

An ID that uniquely identifies each input point and is included in the output as an attribute.

Field
input_method
(可选)

Specifies the type of value that is to be used for each drive time.

  • VALUESUses a constant value (all trade areas will be the same size). This is the default.
  • EXPRESSIONThe values from a field or an expression (trade areas can be a different size).
String
expression
(可选)

A fields-based expression to calculate the radii.

SQL Expression

代码示例

GenerateThresholdRingTradeArea example (Python window)

The following Python window script demonstrates how to use the GenerateThresholdRingTradeArea tool.

import arcpy
arcpy.ba.GenerateThresholdRingTradeArea("SF_Custs",r"C:\Project1.gdb\SF_Custs_GenerateThresholdRingTradeArea","populationtotals.totpop_cy",[50000,
100000], "MILES", "STORE_ID", Values, None)

环境

特殊情况

许可信息

  • Basic: 需要 Business Analyst
  • Standard: 需要 Business Analyst
  • Advanced: 需要 Business Analyst

相关主题