摘要
Extracts depth point features from a surface created within the Compose Surface window in ArcGIS for Maritime: Bathymetry. Depth features are points sampled from an interpolated raster surface. Point spacing of extracted depth features will be in the planar distance of the input spatial reference.
深度表示给定水位与海底之间垂直距离的度量。
用法
Use this tool to create data for use with the Depths To ASCII tool.
The BIS Model parameter consists of a mosaic dataset, attributes, display order, and sorting rules. You create and save BIS models in the Compose Surface window in ArcGIS for Maritime: Bathymetry.
The Clipping Features parameter requires one feature. This can be a single selected feature or a feature layer with a definition query that references one feature. If Clipping Features is a path to a feature class, that feature class must contain one polygon. You can use the Create Feature Class tool to create a new feature class to store a clipping feature.
The Output Depth Features parameter is the location in which the new output feature class will be generated.
If a Bathymetric Attributed Grid (BAG) is used with this tool, both Depth and TPU values are sampled from the BAG's elevation and uncertainty bands. Depth values will be stored as part of each point's geometry, such that the output will be z-enabled, while TPU values will be added to the attribute table.
语法
ExtractDepths_bathymetry (bis_workspace, bis_model, clip_features, spacing_value, out_features)
参数 | 说明 | 数据类型 |
bis_workspace | The Bathymetric Information System (BIS) geodatabase (.gdb) or a connection (.sde) to the BIS database containing the surface model and mosaic dataset. | Workspace |
bis_model | The name of the composite surface in the BIS Workspace. It is prepopulated with a list of names of the models saved in the workspace. | String |
clip_features | The features that define the feature extraction extent. | Feature Layer |
spacing_value | The desired spacing between sampled points in the output, in meters. | Double |
out_features | The feature class that will contain the extracted depth features. This tool will output a new, z-enabled point feature class. | Feature Class |
代码实例
ExtractDepths example (stand-alone script)
The following stand-alone script demonstrates how to use the ExtractDepths tool.
# Name: ExtractDepths_Example.py
# Description: Extracts point features from a BIS composite surface.
# Requirements: ArcGIS for Maritime Bathymetry
import arcpy
# setup parameters
bis_workspace = "C:/data/BIS.gdb"
bis_model = "NewModel"
clip_features = "C:/data/MyData.gdb/ClipPolyFC"
spacing_value = 50.0
out_features = "C:/output/Output.gdb/PointFC"
# execute the tool. For a stand-alone scripts, check out the extension first - arcpy.CheckOutExtension("Bathymetry")
arcpy.ExtractDepths_bathymetry(bis_workspace, bis_model, clip_features, spacing_value, out_features)
环境
许可信息
- ArcGIS for Desktop Basic: 否
- ArcGIS for Desktop Standard: 需要 Maritime Bathymetry
- ArcGIS for Desktop Advanced: 需要 Maritime Bathymetry