ArcGIS Desktop

  • 文档
  • 支持

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

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

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS for Developers

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

ArcGIS Solutions

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

ArcGIS Marketplace

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

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

Help

  • 主页
  • 入门
  • 制图
  • 分析
  • 管理数据
  • 工具
  • 更多...

Create Smooth TLM Bands From Raster

  • 摘要
  • 用法
  • 语法
  • 代码示例
  • 环境
  • 许可信息

摘要

Creates smooth band features for an Elevation Guide Box surround element. This element is frequently used on defense map products such as Topographic Line Maps (TLMs). Band features refer to elevation bands derived from a raster.

用法

  • This tool uses the following three-step process to create smooth band features:

    1. Create elevation band features from an input raster.
    2. Merge smaller band features with larger band features. The tool selects smaller features using the minimum feature area parameter.
    3. Smooth the resulting features to improve their cartographic quality.

  • The default values in this model are optimized for an output dataset for a TLM 50, with the standard area of interest (AOI) size and with a geographic spatial reference (for example, WGS84).

  • If the AOI is spread across multiple raster dataset cells, you will have to specify all the cells.

  • The AOI field parameter must be the map sheet name or a unique identifier for each map sheet.

  • The Input Hydro Exclusion Features parameter is used for large water bodies and coastal areas that would significantly alter the area of the elevation bands.

语法

CreateSmoothTLMBandsfromRaster_defense (Input_Raster, Output_Feature_Class, Minimum_Feature_Area, Smoothing_Tolerance, Input_Area_of_Interest, {Input_Hydro_Exclusion_Features})
参数说明数据类型
Input_Raster

The input raster layer.

Raster Layer
Output_Feature_Class

The output elevation guide band feature class.

Feature Class
Minimum_Feature_Area

Sets a minimum area for output polygons. Features smaller than this value will be removed. The default value is 0.00016 square decimal degrees.

If you are creating an output dataset with a projected coordinate system, this value should reflect the square units of that coordinate system (for example, square meters for a UTM dataset). Otherwise, the default value might result in an empty output dataset.

String
Smoothing_Tolerance

Sets a tolerance used by the Smooth Polygon tool. The larger the value, the more generalized the output band features.

Linear unit
Input_Area_of_Interest

The features that will define the area to process.

Feature Layer
Input_Hydro_Exclusion_Features
(可选)

Feature layers or classes that define large water body areas to exclude from the elevation band area calculations.

Feature Layer

代码示例

CreateSmoothTLMBandsfromRaster example (Python window)

This Python window code sample creates a raster layer from production mapping sample data. The script runs the CreateSmoothTLMBandsfromRaster function against the raster layer and writes the output to a file geodatabase in the c:\data folder. You need to have the ArcGIS Spatial Analyst 扩展模块 and Production Mapping extensions enabled.

# the raster is part of the production mapping sample data
terrain = "C:\\data\\dted\\w117\\n32.dt0"
raster_layer = "raster_layer"

# an output workspace
smoothTLMbands = "C:\\data\\work.gdb\\smoothTLMbands"

# Make a Raster Layer from the dted
arcpy.MakeRasterLayer_management(terrain, raster_layer, "", "-117.004166666667 31.9958333333333 -115.995833333333 33.0041666666667", "")

# Execute Create Generalized Bands - this will generate the smoothTLMbands output
arcpy.CreateSmoothTLMBandsfromRaster_defense(raster_layer, smoothTLMbands, "40", "0.00016", "0.02 DecimalDegrees", "", "", "")

环境

  • 当前工作空间

许可信息

  • ArcGIS Desktop Basic: 否
  • ArcGIS Desktop Standard: 否
  • ArcGIS Desktop Advanced: 需要 Production Mapping and Defense Mapping and Spatial Analyst

相关主题

  • An overview of the Banding toolset

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS 平台

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

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