概要
ArcGIS Defense Mapping cartographic production tool that smooths sharp angles and corners to improve feature display. This tool uses a Defense Mapping-specific algorithm to perform its feature modifications.
The Defense Mapping Create Contours tool uses this tool to smooth its output features.
使用法
This tool changes the input data. This operation cannot be undone.
構文
arcpy.defense.SmoothLine(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")
環境
ライセンス情報
- Basic: いいえ
- Standard: 次のものが必要 Defense Mapping
- Advanced: 次のものが必要 Defense Mapping