Create Smooth TLM Elevation Guide Bands From Raster (Defense Mapping)
サマリ
Creates smooth band features for an Elevation Guide Box surround element. This element is frequently used on defense map products such as Topographic Line Maps (TLMs). Band features refer to elevation bands derived from a raster.
使用法
This tool uses the following three-step process to create smooth band features:
- Create elevation band features from an input raster.
- Merge smaller band features with larger band features. The tool selects smaller features using the minimum feature area parameter.
- Smooth the resulting features to improve their cartographic quality.
-
The default values in this model are optimized for an output dataset for a TLM 50, with the standard area of interest (AOI) size and with a geographic spatial reference (for example, WGS84).
-
If the AOI is spread across multiple raster dataset cells, you will have to specify all the cells.
-
The AOI field parameter must be the map sheet name or a unique identifier for each map sheet.
-
The Input Hydro Exclusion Features parameter is used for large water bodies and coastal areas that would significantly alter the area of the elevation bands.
構文
パラメータ | 説明 | データ タイプ |
Input_Raster |
The input raster layer. | Raster Layer |
Output_Feature_Class |
The output elevation guide band feature class. | Feature Class |
Contour_Interval |
Contour interval in meters. The interval must be either 10, 20, or 40. | Long |
Minimum_Feature_Area |
Sets a minimum area for output polygons. Features smaller than this value will be removed. The default value is 0.00016 square decimal degrees. If you are creating an output dataset with a projected coordinate system, this value should reflect the square units of that coordinate system (for example, square meters for a UTM dataset). Otherwise, the default value might result in an empty output dataset. | String |
Smoothing_Tolerance |
Sets a tolerance used by the Smooth Polygon tool. The larger the value, the more generalized the output band features. | Linear unit |
Input_Area_of_Interest_Features (オプション) |
The features that will define the area to process. | Feature Layer |
Area_of_Interest_Field (オプション) |
Field containing a unique identifier for each map sheet. | Field |
Input_Hydro_Exclusion_Features (オプション) |
Feature layers or classes that define large water body areas to exclude from the elevation band area calculations. | Feature Layer |
コードのサンプル
This Python window code sample creates a raster layer from production mapping sample data. The script runs the CreateSmoothTLMBandsfromRaster function against the raster layer and writes the output to a file geodatabase in the c:\data folder. You need to have the ArcGIS Spatial Analyst エクステンション and Production Mapping extensions enabled.
# the raster is part of the production mapping sample data
terrain = "C:\\data\\dted\\w117\\n32.dt0"
raster_layer = "raster_layer"
# an output workspace
smoothTLMbands = "C:\\data\\work.gdb\\smoothTLMbands"
# Make a Raster Layer from the dted
arcpy.MakeRasterLayer_management(terrain, raster_layer, "", "-117.004166666667 31.9958333333333 -115.995833333333 33.0041666666667", "")
# Execute Create Generalized Bands - this will generate the smoothTLMbands output
arcpy.CreateSmoothTLMBandsfromRaster_defense(raster_layer, smoothTLMbands, "40", "0.00016", "0.02 DecimalDegrees", "", "", "")