Thin Hydro Features (Production Mapping)

Nivel de licencia:BasicStandardAdvanced

Resumen

Generalizes input hydrographic stream data into two feature classes: one for hydro polyline features and one for hydro polygon features. The generalized versions are produced using a stream order algorithm. The algorithm removes less significant hydro features based on the number of tributaries.

Ilustración

Before and after illustration of the thin hydro features process.

Uso

Sintaxis

ThinHydroFeatures_production (in_hydro_features, out_hydro_line_feature_class, out_hydro_polygon_feature_class, {in_min_hydro_order}, {in_min_feature_size}, {in_aoi_features}, {in_aoi_field})
ParámetroExplicaciónTipo de datos
in_hydro_features
[in_hydro_features,...]

The input hydro feature class or feature layer that contains the hydrographic features to be thinned.

Table View
out_hydro_line_feature_class

The new or existing output hydro line feature class that contains the hydro line features after the thinning process. When an existing feature class is used, thinning will overwrite the existing hydro line features in the feature class.

Feature Class
out_hydro_polygon_feature_class

The new or existing output hydro polygon feature class that contains the hydro polygon features after the thinning process. When an existing feature class is used, thinning will overwrite the existing hydro polygon features in the feature class.

Feature Class
in_min_hydro_order
(Opcional)

The minimum hydro order or stream order value used to eliminate hydro features. The tool will thin hydro features that have a stream order value less than this number. The tool will write stream order values to an ORD field in Output Hydro Line Feature Class and Output Hydro Polygon Feature Class.

Long
in_min_feature_size
(Opcional)

The minimum area used in the thinning algorithm to eliminate small, non-main hydro polygons. Units default to the input data unit of measurement.

Double
in_aoi_features
(Opcional)

The optional area of interest (AOI) feature class that is used to clip input hydro features. The thinning algorithm is executed on each extent of the AOI feature and the results are written to the output hydro line and polygon feature classes.

Feature Layer
in_aoi_field
(Opcional)

The field that contains a unique identifier for each feature in Input Area of Interest Features .

Field

Ejemplo de código

ThinHydroFeatures example (Python window)

The following Python window script demonstrates how to use the ThinHydroFeatures tool to generalize sample data released with Esri Production Mapping.

import arcpy

# set gp environment
arcpy.env.workspace="c:/data/Austin.gdb"

# in_hydro_features parameter
hydroL="Hydrography/HydroL"
hydroLyr="Hydro_Layer"

# output feature classes
hydroLine = "hydroLine"
hydroPoly = "hydroPoly"

# make a feature layer from the hydroL feature class
arcpy.MakeFeatureLayer_management(hydroL, hydroLyr)

# exec Thin Hydro Features
arcpy.ThinHydroFeatures_production(hydroLyr, hydroLine, hydroPoly, "0", "0", "", "")

Entornos

Temas relacionados

Información sobre licencias

ArcGIS for Desktop Basic: No
ArcGIS for Desktop Standard: Requiere Production Mapping
ArcGIS for Desktop Advanced: Requiere Production Mapping
4/26/2014