Zusammenfassung
Esri 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.
Defense Mapping geoprocessing tools Create Contours and EGB Hydro Centerline use this tool to smooth their output features.
Verwendung
This tool changes the input data. This operation cannot be undone.
Syntax
SmoothLine(polyline_features)
Parameter | Erläuterung | Datentyp |
polyline_features | The input polylines that will be smoothed. | Feature Layer |
Codebeispiel
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")
Umgebungen
Lizenzinformationen
- ArcGIS Desktop Basic: Nein
- ArcGIS Desktop Standard: Erfordert Defense Mapping
- ArcGIS Desktop Advanced: Erfordert Defense Mapping