相交处设置控制点 (制图)

许可等级:BasicStandardAdvanced

摘要

此工具通常用于同步相邻面上的边界符号系统。此工具在由一个或多个线要素或面要素共用的折点处创建制图表达控制点。

插图

Set Representation Control Point At Intersects

用法

语法

SetRepresentationControlPointAtIntersect_cartography (in_line_or_polygon_features, {in_features})
参数说明数据类型
in_line_or_polygon_features

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

Layer
in_features
(可选)

包含重合要素的要素图层。这些要素可来自地理数据库、shapefile 或 coverage。

Feature Layer

代码实例

SetRepresentationControlPointAtIntersect 工具示例(Python 窗口)

以下 Python 窗口脚本演示了如何在即时模式下使用 SetRepresentationControlPointAtIntersect 工具。

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

arcpy.SetRepresentationControlPointAtIntersect_cartography("parcels.lyr", "roads.lyr")
SetRepresentationControlPointAtIntersect 工具示例(独立 Python 脚本)

此独立脚本显示的是使用 SetRepresentationControlPointAtIntersect 工具的示例。

# Name: SetRepresentationControlPointAtIntersect_standalone_script.py
# Description: adds representation control points at locations where two or more features have coincident vertices
# Author: ESRI
 
# Import system modules
import arcpy
from arcpy import env

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

# Set local variables
in_line_or_polygon_features = "parcels.lyr"
in_features = "roads.lyr"

# Execute Set Representation Control Point At Intersect
arcpy.SetRepresentationControlPointAtIntersect_cartography(in_line_or_polygon_features, in_features)

环境

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

相关主题

许可信息

ArcGIS for Desktop Basic: 否
ArcGIS for Desktop Standard: 否
ArcGIS for Desktop Advanced: 是
5/10/2014