ArcGIS for Desktop

  • 文档
  • 合约
  • 支持

  • My Profile
  • 帮助
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS for Desktop

全面的专业性 GIS

ArcGIS for Server

面向企业的 GIS

ArcGIS for Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 合约
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

Help

  • 主页
  • 入门
  • 制图
  • 分析
  • 管理数据
  • 工具
  • 更多...

Depths To ASCII

  • 摘要
  • 用法
  • 语法
  • 代码实例
  • 环境
  • 许可信息

摘要

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.

深度表示给定水位与海底之间垂直距离的度量。

BAG 是一个多维水文地理数据文件,以格网化格式对高程和总传递不确定性 (TPU) 值进行建模。它符合“开放航海表面工作组”所创建的标准。

用法

  • Use the Extract Depths tool to create the depth features that are going to be exported to ASCII.

  • The Input Depth Features parameter is a feature layer that references the depth features that will be converted to a text file.

  • The Input Depth Features parameter requires all of the following attributes: Uncertainty, PrimitiveId, ModelId, BisWorkspacePath, and BisId. These fields will be present if the depth features were created with the Extract Depths tool.

  • The Output ASCII File parameter references a text file that contains X, Y, Z, and uncertainty attributes from a BIS points feature class. Uncertainty can vary depending on the type of BAG. Depth derived from a BAG created for navigation would specify elevation uncertainty.

语法

DepthsToASCII_bathymetry (in_features, out_file)
参数说明数据类型
in_features

Input points to export to ASCII.

Feature Layer
out_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
in_features = "C:/data/MyData.gdb/PointFC"
out_file = "C:/output/MyOutput.txt"

# execute the tool. For a stand-alone scripts, check out the extension first - arcpy.CheckOutExtension("Bathymetry")
arcpy.DepthsToASCII_bathymetry(in_features, out_file)

环境

  • 当前工作空间

许可信息

  • ArcGIS for Desktop Basic: 否
  • ArcGIS for Desktop Standard: 需要 Maritime Bathymetry
  • ArcGIS for Desktop Advanced: 需要 Maritime Bathymetry

相关主题

  • Extract Depths
  • Extract Depths To ASCII
  • Reduce Point Density
  • Export Points
  • An overview of the From Depths toolset
有关此主题的反馈?

ArcGIS for Desktop

  • 主页
  • 文档
  • 合约
  • 支持

ArcGIS 平台

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • 内部人员博客
  • 用户大会
  • 开发者峰会
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | 隐私政策 | 法律声明