操作方法

如何将 XYZ 文件格式的 3D 点要素转换为栅格 ArcGIS Pro 中的栅格

Last Published: July 21, 2023

摘要

Points are generally represented by x,y coordinates in vector form. Some points include z coordinates, if elevation data such as 3D point features are added. 3D point features can be stored in the XYZ file format, and converted to raster in ArcGIS Pro.

This article provides steps to convert 3D point features in the XYZ file format to raster in ArcGIS Pro.

过程

  1. In ArcGIS Pro, use the Point File Information tool from the 3D Analyst toolbox to determine the average point spacing value (Pt_Spacing) of the 3D point features.
    1. In the Point File Information geoprocessing pane, for Point Data, specify a location and name for the folder path containing the XYZ file (.xyz).
    2. Specify a name for Output Feature Class.
    3. Click the File Format drop-down list, and select ACSII file with XYZ.
    4. For File Suffix, type shp.
    5. For Coordinate System, click the drop-down list, and select a coordinate system for the XYZ file from the list.
Note:
Optionally, click the Select coordinate system icon, and select the desired coordinate system from the Coordinate System dialog box.
  1. For Decimal Separator, click the drop-down list and select Point.
  2. Click Run to execute the tool.
The Point File Information tool pane
  1. In the Contents pane, right-click the output feature class specified in Step 1b, and click Attribute Table. Copy the Pt_Spacing value in the attribute table of the output layer.
The Pt_Spacing value in the attribute table
  1. Use the ASCII 3D To Feature Class tool from the 3D Analysts toolbox to convert the XYZ file to a feature class.
    1. In the ASCII 3D To Feature Class geoprocessing pane, for ASCII 3D Data, specify a location and name for the folder path containing the XYZ file (.xyz).
    2. Click the File Format drop-down list, and select XYZ.
    3. Specify a name for Output Feature Class.
    4. For Coordinate System, click the drop-down list, and select a coordinate system for the XYZ file from the list.
Note:
Optionally, click the Select coordinate system icon, and select the desired coordinate system from the Coordinate System dialog box.
  1. For Average Point Spacing, paste the value of the Pt_Spacing value copied from the attribute table in Step 1(h).
  2. For File Suffix, type shp.
  3. For Decimal Separator, click the drop-down list, and select Point.
  4. Leave the other parameters at default, and click Run to execute the tool.
The ASCII 3D To Feature Class tool pane
  1. Use the Point to Raster tool from the Conversion toolbox to convert the point feature class to raster.
    1. In the Point to Raster geoprocessing pane, for Input Features, click the drop-down list, and select the output feature class created in Step 2.
    2. Specify a name for Output Raster Dataset.
    3. Leave other parameters at default, and click Run to execute the tool.
The Point to Raster tool pane

The following image shows the output raster converted from the XYZ file format (.xyz).

The output raster

文章 ID: 000023381

接收通知并查找新问题或常见问题的解决方案

从我们全新的 AI 聊天机器人中获得简明答案和视频解决方案。

下载 Esri 支持应用程序

相关信息

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项