Smooth Line (Defense Mapping)

许可等级:BasicStandardAdvanced

摘要

Esri Defense Mapping cartographic production tool that smooths sharp angles and corners to improve feature display. This tool uses a 国防制图-specific algorithm to perform its feature modifications.

国防制图 geoprocessing tools Create Contours and EGB Hydro Centerline use this tool to smooth their output features.

用法

语法

SmoothLine_defense (polyline_features)
参数说明数据类型
polyline_features

The input polylines that will be smoothed.

Feature Layer

代码实例

SmoothLine example (Python window)

The following code demonstrates how to use the SmoothLine tool.

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

# create a feature layer from a polyline feature class
arcpy.MakeFeatureLayer_management("BarrierL","BarrierL")

# execute smooth line
arcpy.SmoothLine_defense("BarrierL")

环境

相关主题

许可信息

ArcGIS for Desktop Basic: 否
ArcGIS for Desktop Standard: 需要 Defense Mapping
ArcGIS for Desktop Advanced: 需要 Defense Mapping
4/27/2014