Краткая информация
Defense Mapping production tool that simplifies contours for use in cartographic products. This tool preserves the essential shape of a contour by eliminating extraneous bends.
Использование
This tool modifies the input contours. You cannot undo this operation.
Extraneous bends are composed of redundant vertices. This tool identifies redundant vertices as those that lie within a minimum allowable distance, or tolerance. Tolerance depends upon the Scale parameter.
The Scale parameter and tolerance values are designed for use with Defense Mapping cartographic products.
Синтаксис
SimplifyContours_defense (Input_Contours, Scale)
Параметр | Объяснение | Тип данных |
Input_Contours | The input contours that are going to be simplified. | Feature Layer |
Scale | Scale value used to determine a simplification tolerance. Tolerance specifies a minimum allowable distance between vertices. The tool removes vertices that lie within this tolerance.
| String |
Пример кода
SimplifyContours example (Python window)
The following code sample demonstrates how to use the SimplifyContours tool.
# set gp environment
arcpy.env.workspace="C:/data"
# variables for tool
inputContours="mgcp.gdb/mgcp/contours"
mapScale="1:12500"
# execute the tool
arcpy.SimplifyContours_defense(inputContours,mapScale)
Параметры среды
Информация о лицензиях
- ArcGIS Desktop Basic: Нет
- ArcGIS Desktop Standard: Требует Defense Mapping
- ArcGIS Desktop Advanced: Требует Defense Mapping