获得 Maritime Bathymetry 许可后可用。
描述
Smooths a triangulated irregular network (TIN) dataset in a manner that strictly preserves a shallow bias.
The output is used to generate depth contours used for navigation, so the output TIN nodes will never report a value deeper than the input.
使用方法
The Smoothing Iterations parameter value should be determined experimentally, based on the scale of the desired output and aesthetics.
注:
The iteration count should increase for smaller scale charts to apply more generalization appropriate for the scale.
The output TIN can be used to generate smoothed depth contours.
语法
arcpy.maritime.SmoothBathymetricTIN(in_tin, out_tin, depth_direction, smoothing_iterations)
参数 | 说明 | 数据类型 |
in_tin | The input TIN that will be smoothed with a shallow bias. | TIN Layer |
out_tin | The output smoothed TIN. | TIN |
depth_direction | Specifies how the depth will be captured in the input TIN.
| String |
smoothing_iterations | The number of smoothing passes that will be performed over the TIN. | Long |
代码示例
The following Python window script demonstrates how to use the SmoothBathymetricTIN tool.
import arcpy
arcpy.CheckOutExtension("Bathymetry")
# Input TIN
inTIN = r"C:\Data\smooth\seattle"
# Output TIN
outputTIN = r"C:\Data\smooth\seattle_smooth"
arcpy.SmoothBathymetricTIN_maritime(inTIN, outputTIN, “POSITIVE_UP”, 25)
arcpy.CheckInExtension("Bathymetry")
环境
许可信息
- Basic: 否
- Standard: 需要 ArcGIS Bathymetry
- Advanced: 需要 ArcGIS Bathymetry