HOW TO

Convert a raster dataset to an XYZ table with ArcGIS Pro

Last Published: July 27, 2023

Summary

Several software packages can import data from an XYZ format. This article provides instructions to convert a raster dataset into an XYZ table with ArcGIS Pro.

Note:
This process requires the Spatial Analyst license.

Procedure

  1. Open ArcGIS Pro and add the raster dataset.
  2. Find the Sample tool. Refer to ArcGIS Pro: Find a geoprocessing tool for more information.
  3. In the Geoprocessing pane, select the desired raster dataset for Input rasters.
  4. Select the raster dataset again in the Input location raster or point features field. Ensure Resampling technique is set to Nearest.
  5. Specify Output table.
Screenshot of the Sample geoprocessing pane with the values highlighted
  1. Click Run.
  2. Once the geoprocessing is complete, right-click the new table. Click Open.
  3. Export the table and save it with the .txt extension. Refer to ArcGIS Pro: Export tables for more information.

The output text file is in the OID, Z, X, Y format. The image below shows the output file.

Image of a sample output file

Article ID:000023278

Software:
  • ArcGIS Pro 2 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options