Smooth Line (Defense Mapping)
Resumen
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.
Uso
-
This tool changes the input polyline feature data. This operation cannot be undone.
Sintaxis
SmoothLine_defense (polyline_features)
Parámetro | Explicación | Tipo de datos |
polyline_features |
The input polylines that will be smoothed. | Feature Layer |
Ejemplo de código
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")
Entornos
Temas relacionados
Información sobre licencias
ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: Requiere Defense Mapping
ArcGIS for Desktop Advanced: Requiere Defense Mapping
4/26/2014