Select to view content in your preferred language

Trying to export elevation data from a line in a .txt output

792
3
09-21-2023 06:53 AM
Labels (1)
gs_meyer
New Contributor

Hey all,

I am familiar with ArcMap but not that familiar with ArcGIS pro. In ArcMap the way to do what I would like to do is create a line using the "interpolate line" function, create a profile graph, right click that graph and click export data, then select ".txt" as the export file type. This would give you an elevation for each individual pixel along that line you created. 

I am trying to do exactly this in ArcGIS pro but am having little success. I have used distance and direction to create lines, then used the interpolate shape tool to create a new layer with the elevation data. If I create a profile graph, however, I can only export as an image - I have not been able to find a way to export the exact elevation values as a text file. I need to do this to import the elevation data to MATLAB.

If anyone has any suggestions that would be wonderful.

0 Kudos
3 Replies
AyanPalit
Esri Regular Contributor

@gs_meyer This is a common workflow and thanks for posting your steps.

Please review: Interactive elevation profile basics

There are multiple export options including CSV and GDB table

Ayan Palit | Principal Consultant Esri
0 Kudos
gs_meyer
New Contributor

Hello, 

I have followed the steps provided however I am unable to export the profile elevation data. If I click export for the profile graph, I only get an option to save it as a graphic, not a table as shown.Screenshot 2023-09-23 024521.png

0 Kudos
AyanPalit
Esri Regular Contributor

@gs_meyer Thanks for trying this alternate workflow. The elevation data being used must have the proper attribution and allow export. Here's what I got: 

AyanPalit_0-1695473205025.png

Export as csv:

IDDistanceElevation
102958.4971750815084
28.6556787180010912958.4971750815084
317.3113574360021832958.4971750815084
425.9670361540032742958.4971750815084
534.6227148720043662958.474889195204
643.278393590005452958.3095440401494
751.934072308006552958.3095440401494
860.589751026007642958.3095440401494
969.245429744008732958.4569236734096
1077.901108462009822958.857936267089

 

The UI in screenshot looks different than the interactive Elevation Profile tool located in the Exploratory 3D Analysis drop-down menu in the Workflows group on the Analysis tab. 

Ayan Palit | Principal Consultant Esri
0 Kudos