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

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

Simplify Contours

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

摘要

Defense Mapping production tool that simplifies contours for use in cartographic products. This tool preserves the essential shape of a contour by eliminating extraneous bends.

用法

  • This tool modifies the input contours. You cannot undo this operation.

  • Extraneous bends are composed of redundant vertices. This tool identifies redundant vertices as those that lie within a minimum allowable distance, or tolerance. Tolerance depends upon the Scale parameter.

  • The Scale parameter and tolerance values are designed for use with Defense Mapping cartographic products.

语法

SimplifyContours_defense (Input_Contours, Scale)
参数说明数据类型
Input_Contours

The input contours that are going to be simplified.

Feature Layer
Scale

Scale value used to determine a simplification tolerance. Tolerance specifies a minimum allowable distance between vertices. The tool removes vertices that lie within this tolerance.

  • 1:5000 —Simplification tolerance is 1 meter.
  • 1:7500 —Simplification tolerance is 1 meter.
  • 1:12500 —Simplification tolerance is 1 meter.
  • 1:25000 —Simplification tolerance is 1 meter.
  • 1:50000 —Simplification tolerance is 2 meters. This is the default.
  • 1:100000 —Simplification tolerance is 2 meters.
  • 1:250000 —Simplification tolerance is 3 meters.
  • 1:500000 —Simplification tolerance is 3 meters.
  • 1:1000000 —Simplification tolerance is 3 meters.
String

代码示例

SimplifyContours example (Python window)

The following code sample demonstrates how to use the SimplifyContours tool.

# set gp environment
arcpy.env.workspace="C:/data"

# variables for tool
inputContours="mgcp.gdb/mgcp/contours"
mapScale="1:12500"

# execute the tool
arcpy.SimplifyContours_defense(inputContours,mapScale)

环境

  • 当前工作空间

许可信息

  • ArcGIS Desktop Basic: 否
  • ArcGIS Desktop Standard: 需要 Defense Mapping
  • ArcGIS Desktop Advanced: 需要 Defense Mapping

相关主题

  • An overview of the Contours toolset

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS 平台

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

关于 Esri

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