ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

ArcMap

  • 主页
  • 入门
  • 地图
  • 分析
  • 管理数据
  • 工具
  • 扩展模块

Bands From Features

  • 描述
  • 使用方法
  • 语法
  • 代码示例
  • 环境
  • 许可信息

描述

Converts point, multipoint, polyline, or polygon elevation features within an area of interest (AOI) into polygon band features. Output band size is determined by defining ranges from an input attribute, such as elevation, in the input feature class or layer. A polygon feature class or feature layer defines the AOI.

使用方法

  • Input Elevation Features contain a value field holding elevation values. You can specify multiple input elevation feature classes with different elevation fields and units. Create a selection layer or apply a layer definition query to limit the number of features processed.

  • Band Units, used in generating output bands, can be either Meters or Feet.

  • Ranges are used to define the size of output bands. Use the Dissolve or Frequency tools to extract a list of unique values from your polyline data. Check Ranges as Percent to specify that range values be interpreted as percentiles.

  • Input Area of Interest Features must be polygons. You can select features with a selection tool 选择要素 or create a layer definition query to limit the size of the AOI. If running the tool in ArcCatalog, use a layer file with a selection set or a definition query to restrict the size of the AOI. If no selection set or layer definition query is provided, all features inside the AOI will be used to create bands.

  • This tool may generate holes around the corners of Input Area of Interest Features. Set a high Area of Interest Buffer value to correct this. Do not use a negative value for this parameter.

  • Use a unique value renderer on the range name field in the output results to visualize the elevation or isoline bands.

  • Use Input Exclusion Features to block out areas of processing within the AOI. No output bands will be created where exclusion features overlap input elevation features.

  • The tool uses a triangulation algorithm to create bands between contours or isolines. Setting the refine triangulation parameter can increase band placement accuracy by calculating new elevation values (+/- 1/3 contour interval) in places where triangulated edges have identical elevation.

语法

arcpy.production.BandsFromFeatures(in_elevation_features, in_bands_units, out_bands_featureclass, in_ranges_as_percent, in_bands_ranges, {in_aoi_features}, {in_aoi_field}, {in_aoi_buffer}, {in_exclusion_features}, {in_rounding_option}, {in_iterations_count}, {in_tolerance}, {in_refine_elevation_model}, {out_triangulation_featureclass}, {out_interpolated_isolines_featureclass}, {out_topological_errors_featureclass})
参数说明数据类型
in_elevation_features
[[Feature layer, Field, Linear Unit],...]

The point, multipoint, polyline, or polygon feature layers or feature classes, their attribute fields (value fields) that contain elevation or isoline data, and distance units of those value fields.

Value Table
in_bands_units

Output band distance units.

  • METERS —Output distance unit is meters. This is the default.
  • FEET —Output distance unit is feet.
String
out_bands_featureclass

The output feature class that contains the bands created by the tool.

Feature Class
in_ranges_as_percent

Specifies if the tool interprets range values as values or percentiles.

  • ABSOLUTE_VALUE —Interpret range values as values. This is the default.
  • PERCENTILE_VALUE —Interpret range values as percentiles.
Boolean
in_bands_ranges
[[from_value, to_value, range_name],...]

The from-to range values for the bands to be created. The list should contain space-delimited strings with a from value, to value, and a name for the range. A range from 100 to 200 feet could look like this: 100 200 low_elev.

Value Table
in_aoi_features
(可选)

Polygon feature layer or feature class defining the area of interest.

Feature Layer
in_aoi_field
(可选)

Field containing a unique identifier for each map sheet.

Field
in_aoi_buffer
(可选)

A buffer to apply to input area of interest features. The buffer expands the AOI Feature Class geometry to include features in the Contour Feature Class that lie beyond the boundary of an AOI. This can improve the accuracy of the banding calculation used to generate the elevation tint polygons.

Linear unit
in_exclusion_features
[in_exclusion_features,...]
(可选)

Polygon feature layers or feature classes used to exclude areas from processing where exclusion and AOI features overlap.

Feature Layer
in_rounding_option
(可选)

Specifies whether input values round up, down, or interpolate within their range. Interpolate is the default option.

  • INTERPOLATE —Estimate values based on surrounding values. This is the default.
  • ROUND_UP —Round elevation or isoline values up.
  • ROUND_DOWN —Round elevation values down.
String
in_iterations_count
(可选)

Number of times, from 1 to 5, the tool will run on a feature to narrow down the interpolated value. The default is 2.

注:

This option is only available if PERCENTILE_VALUE is set for in_ranges_as_percent and in_rounding_option is set to Interpolate.

String
in_tolerance
(可选)
注:

This option is only available if PERCENTILE_VALUE is set for in_ranges_as_percent and in_rounding_option is set to Interpolate.

Otherwise, tolerance is computed from the high and low value in the value field.

Double
in_refine_elevation_model
(可选)

Specifies if the tool will run a triangulation algorithm that refines the tool's processing elevation model.

  • REFINE_ELEVATION_MODEL —Run refine triangulation processing. This is the default.
  • NO_REFINE_ELEVATION_MODEL —Do not run refine triangulation processing.
Boolean
out_triangulation_featureclass
(可选)

The triangulated feature class used to generate bands from features.

Feature Class
out_interpolated_isolines_featureclass
(可选)

Polyline feature class interpolated from Input Elevation Features.

Feature Class
out_topological_errors_featureclass
(可选)

Point feature class that contains topological error features produced during processing. Types of errors include:

  • Dangles: A line endpoint unconnected to any other feature.
  • Different elevations at a point: Multiple points with different elevations at the same location.
  • Intersections: Isoline intersection with equal elevation.
  • Intersection and Elevation: Both intersection and different elevation errors.

Feature Class

代码示例

BandsFromFeatures example (Python window)

The following Python window script demonstrates how to use the BandsFromFeatures function.

import arcpy

# set gp environment
arcpy.env.workspace="c:/data/Austin.gdb"
arcpy.env.addOutputsToMap = True
arcpy.env.overwriteOutput = True

# path to the contours feature class
elevations = "TopographicMap/ContourL Elevation Meters"

# output bands feature class
bands = "ElevationBands"

# Range list used to define the bands
rangeList = "0 500 0-500;501 600 500-600;601 700 600-700;800 2000 800-2000"

# execute the tool
arcpy.BandsFromFeatures_production(elevations,"Meters",bands,"ABSOLUTE_VALUE",rangeList)

环境

  • 临时工作空间
  • 当前工作空间

许可信息

  • Basic: 否
  • Standard: 需要 Production Mapping
  • Advanced: 需要 Production Mapping

相关主题

  • An overview of the Banding toolset

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • Esri 博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
Copyright © 2021 Esri. | 隐私政策 | 法律声明