ArcGIS for Desktop

  • 文档
  • 合约
  • 支持

  • My Profile
  • 帮助
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

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

ArcGIS for Desktop

全面的专业性 GIS

ArcGIS for Server

面向企业的 GIS

ArcGIS for Developers

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

ArcGIS Solutions

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

ArcGIS Marketplace

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

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

帮助

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

按角度设置控制点

  • 摘要
  • 插图
  • 用法
  • 语法
  • 代码实例
  • 环境
  • 许可信息

摘要

在沿线或面轮廓且由线的方向变化而生成的角度小于或等于指定的最大角度的顶点处放置制图表达控制点。

插图

Set Representation By Control Point tool
Dash placement can be improved along a line or polygon outline when representation control points are placed at prominent angles

用法

  • 输入要素必须是使用制图表达进行符号化的线或面图层。

  • 对折点的修改被存储为要素制图表达上的几何覆盖。

语法

SetRepresentationControlPointByAngle_cartography (in_features, maximum_angle)
参数说明数据类型
in_features

包含线或面制图表达的输入要素图层。

Layer
maximum_angle

此角度用于确定是否将沿线或面轮廓的顶点设置为制图表达控制点。角度值必须大于零且小于 180 十进制度。

Double

代码实例

设置制图表达控制点 (SetRepresentationControlPointByAngle) 工具示例(Python 窗口)

以下 Python 窗口脚本演示了如何在即时模式下使用设置制图表达控制点 (SetRepresentationControlPointByAngle) 工具。

import arcpy
from arcpy import env
env.workspace = "C:\data"

arcpy.SetRepresentationControlPointByAngle_cartography("trails.lyr", "135")
设置制图表达控制点 (SetRepresentationControlPointByAngle) 工具示例(独立 Python 脚本)

此独立脚本显示了如何使用设置制图表达控制点 (SetRepresentationControlPointByAngle) 工具。

# Name: SetRepresentationControlPointByAngle_standalone_script.py
# Description: adds representation control points at locations where a feature has a sharp angle in its geometry
# Author: ESRI
 
# Import system modules
import arcpy
from arcpy import env

# Set environment settings
env.workspace = "C:/data"

# Set local variables
in_representations = "trails.lyr"
minimum_angle_deviation = "135"

# Execute Set Representation Control Point At Intersect
arcpy.SetRepresentationControlPointAtIntersect_cartography(in_representations, minimum_angle_deviation)

环境

此工具不使用任何地理处理环境

许可信息

  • ArcGIS for Desktop Basic: 否
  • ArcGIS for Desktop Standard: 否
  • ArcGIS for Desktop Advanced: 是

相关主题

  • 制图优化工具集概述
有关此主题的反馈?

ArcGIS for Desktop

  • 主页
  • 文档
  • 合约
  • 支持

ArcGIS 平台

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

关于 Esri

  • 关于我们
  • 招贤纳士
  • 内部人员博客
  • 用户大会
  • 开发者峰会
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | 隐私政策 | 法律声明