Etiqueta | Explicación | Tipo de datos |
Input Features
| The input point or multipoint features. | Feature Layer |
Output Feature Class
| The output feature class. | Feature Class |
Depth Field
| The field where the depth is stored. It is either a numeric field or the shape field specified in Input Features. Nota:For multipoint features, this must be the shape field. | Field |
Depth Direction
| Specifies how the depth value will be captured in the depth field of the input features.
| String |
Depth Selection Method
| Specifies the bias that will be used to select the depths to be retained.
| String |
Thinning Radius Unit
| Specifies the unit of measure that will be used by the Start Thinning Radius and End Thinning Radius parameters.
| String |
Start Thinning Radius
| The beginning radius that will be used to remove or thin points relative to each other. | Double |
End Thinning Radius
(Opcional) | The end radius that will be used to remove or thin points relative to each other. The thinning radius will dynamically change as the algorithm progresses through the range of depth values. | Double |
Start Depth
(Opcional) | The depth that will be used to begin the thinning algorithm. Depth values that appear before this depth based on the Depth Direction parameter value will be ignored. | Double |
End Depth
(Opcional) | The depth that will be used to end the thinning algorithm. Depth values that appear after this depth based on the Depth Direction parameter value will be ignored. | Double |
Disponible con licencia de Maritime Bathymetry.
Resumen
Thins points from a point or multipoint feature class.
Using an input feature class with either a numeric depth field or z-enabled geometry, the tool generates an output feature class with a set of points that have been thinned to a user-specified radius in a shallow or deep-biased manner.
Uso
The tool spatially thins sets of points based on depth values.
The output layer will be z-enabled if the input is z-enabled.
If the input is z-enabled, and you want to see the elevation values stored with each point feature, use the Add Z Information tool either before or after using the Reduce Point Density tool to add this information to the attribute table.
When setting the Start Depth and End Depth parameter values, it may help to know the range of the input depths. To see the range, open the input features attribute table, select the depth field name, and click Statistics.
To thin depth values from a raster, use the Raster To Point or Raster To Multipoint tool.
Specify the values of the Start Depth and End Depth parameters, according to the Depth Direction parameter value.
To run this tool with a thinning radius that remains constant with depth, enter a value for the Start Thinning Radius parameter only. To run the tool with a thinning radius that changes gradually with depth, enter a value for both the Start Thinning Radius and End Thinning Radius parameters.
The specified thinning radii are approximate in nature. They are intended to honor the Depth Selection Method parameter value and guide the spacing between points preserved in the output.
Consider using ModelBuilder to chain together multiple runs of this tool to achieve an output in which the thinning radius remains constant for a single depth range but with multiple densities of points created at different depth ranges.
Parámetros
arcpy.maritime.ReducePointDensity(in_features, out_feature_class, depth_field, depth_direction, depth_bias, radius_unit, start_thinning_radius, {end_thinning_radius}, {start_depth}, {end_depth})
Nombre | Explicación | Tipo de datos |
in_features | The input point or multipoint features. | Feature Layer |
out_feature_class | The output feature class. | Feature Class |
depth_field | The field where the depth is stored. It is either a numeric field or the shape field specified in in_features. Nota:For multipoint features, this must be the shape field. | Field |
depth_direction | Specifies how the depth value will be captured in the depth field of the input features.
| String |
depth_bias | Specifies the bias that will be used to select the depths to be retained.
| String |
radius_unit | Specifies the unit of measure that will be used by the start_thinning_radius and end_thinning_radius parameters.
| String |
start_thinning_radius | The beginning radius that will be used to remove or thin points relative to each other. | Double |
end_thinning_radius (Opcional) | The end radius that will be used to remove or thin points relative to each other. The thinning radius will dynamically change as the algorithm progresses through the range of depth values. | Double |
start_depth (Opcional) | The depth that will be used to begin the thinning algorithm. Depth values that appear before this depth based on the depth_direction parameter value will be ignored. | Double |
end_depth (Opcional) | The depth that will be used to end the thinning algorithm. Depth values that appear after this depth based on the depth_direction parameter value will be ignored. | Double |
Muestra de código
The following Python window script demonstrates how to use the ReducePointDensity function.
import arcpy
arcpy.CheckOutExtension("Bathymetry")
# Input Data
inputData = r"C:\Data\ReducePointDensity\ReducePointDensityTestData.gdb\ENC_Soundings_Delaware"
# Depth Field
depthField = ‘Depth’
# Output Feature Class
outputData = r"C:\Data\ReducePointDensity\ReducePointDensityTestData.gdb\ENC_Soundings_Delaware_Reduced"
arcpy.maritime.ReducePointDensity(inputData, outputData, depthField, ‘POSITIVE_DOWN’, ‘SHALLOW_BIASED’, 'METERS', 1000)
arcpy.CheckInExtension("Bathymetry")
Entornos
Información de licenciamiento
- Basic: No
- Standard: Requiere ArcGIS Bathymetry
- Advanced: Requiere ArcGIS Bathymetry