Depths To ASCII (Bathymetry)

许可等级:BasicStandardAdvanced

摘要

Exports a depth point feature class to an ASCII text file. You can use the ASCII text file for working with depth information in non-GIS systems. Depth point features exported to an ASCII text file will contain the X, Y, and Z locations for each point feature. If a Bathymetric Attribute Grid (BAG) is used in the creation of the Depth feature, the Total Propagated Uncertainty (TPU) value will also be written to the depth feature and exported to the ASCII text file.

Depths represent a measurement of the vertical distance from a given water level to the seafloor.

A BAG is a multidimensional hydrographic data file that models elevation and Total Propagated Uncertainty (TPU) values in a gridded format. It conforms to standards created by the Open Navigation Surface Working Group.

用法

语法

DepthsToASCII_bathymetry (in_layer, ascii_file)
参数说明数据类型
in_layer

Input points to export to ASCII.

Feature Layer
ascii_file

The text file to which features will be written.

File

代码实例

DepthsToASCII example (stand-alone script)

The following stand-alone script demonstrates how to use the DepthsToASCII tool.

# Name: DepthsToASCII_Example.py
# Description: Exports a Bathymetry points feature class to an ascii file
# Requirements: ArcGIS for Maritime Bathymetry

import arcpy

# setup parameters
inLayer = "C:/data/MyData.gdb/PointFC"
asciiFile = "C:/output/MyOutput.txt"

# For a stand-alone scripts, checkout the extension first
arcpy.CheckOutExtension("Bathymetry")

# execute the tool. 
arcpy.DepthsToASCII_bathymetry(inLayer, asciiFile)

环境

相关主题

许可信息

ArcGIS for Desktop Basic: 否
ArcGIS for Desktop Standard: 需要 Maritime Bathymetry
ArcGIS for Desktop Advanced: 需要 Maritime Bathymetry
4/27/2014