How to Create an Elevation Profile in ArcGIS Pro: Extracting Surface Height Along a Geographic Transect

Figure 1: A transect A–B drawn across a synthetic Digital Elevation Model (left) and the elevation profile read from it (right). Synthetic data, drawn for illustration.
| Guide at a glance | |
| Task | Extract surface height along a line and read distance, elevation, gain, loss and slope from it |
| Software | ArcGIS Pro 3.x (menu names checked against Esri documentation for 3.x; wording can differ slightly between versions) |
| Input | A Digital Elevation Model (DEM) as an elevation source or raster layer, plus a transect line |
| Output | Graph image, CSV or geodatabase table, or a 3D line feature |
| Licence | Interpolate Shape and Stack Profile need a 3D Analyst licence; confirm the licence needed for the other methods in your own installation |
A profile is one of the oldest ways to understand land. Road engineers use it to check gradients, hydrologists use it to see how a channel falls, telecom planners use it to test whether two towers can see each other, and geologists use it to compare a landform with a cross-section. Producing a clean Elevation Profile in ArcGIS Pro takes minutes, but reading it correctly depends on understanding where the numbers come from. This guide covers both: the four ways ArcGIS Pro can build a profile, the settings that change the result, and a computed test that shows which of those settings matter.
1. What the Profile Actually Measures
An elevation profile is a plot of surface height against distance along a line. The line is called a transect. ArcGIS Pro does not read heights from the line itself. It samples the surface under the line at regular steps and plots the sampled values. The surface is usually a Digital Elevation Model, a raster in which every cell stores one height, so the quality of the profile is capped by the quality of the model beneath it. A coarse model produces a smooth, simplified profile; a noisy model produces a jagged one; a model with the wrong vertical units produces a profile that is wrong by a constant factor and looks perfectly plausible.
Because of this, profile work belongs to the wider family of DEM Analysis in GIS: slope, aspect, hillshade, viewshed and watershed products all rest on the same raster and inherit the same limits. A profile is simply the one-dimensional member of that family, and it is a good first test of whether a DEM is fit for the job.
2. Choosing the Right Method in ArcGIS Pro
ArcGIS Pro offers four routes to a profile. They are not interchangeable: each is built for a different end product, and picking the wrong one is the commonest cause of rework.
| Method | Best for | Output | Notes |
| Interactive Elevation Profile (Exploratory Analysis pane) | Quick inspection, site visits, presentations | Temporary graph; export to image, feature, table or CSV | Uses the Ground elevation surface; statistics shown beside the graph |
| Surface Profile chart (Create Chart on a raster layer) | Reports, comparing several rasters on one graph | Chart saved with the project | Sample distance defaults to raster resolution; resampling uses bilinear interpolation |
| Interpolate Shape (3D Analyst) | Producing 3D lines for later analysis | z-aware line feature class | Bilinear interpolation on rasters; sample distance is a parameter |
| Stack Profile (3D Analyst) | Comparing a line against several surfaces | Table with distance and z columns | Targets can be raster, TIN, terrain, LAS or multipatch; graph output is not supported in ArcGIS Pro |
As a rule of thumb: use the interactive tool to look, the chart to report, Interpolate Shape to make data and Stack Profile to compare surfaces.

Figure 2: A five-stage workflow that applies to all four methods.
3. Preparing the Digital Elevation Model
Preparation is the first stage of any Terrain Analysis Using GIS, and most profile errors are created before the line is drawn. Spend a few minutes on the following checks, because they are far cheaper than correcting a finished report.
- Confirm the coordinate system. Open the raster properties and read the spatial reference. A projected system with metres or feet gives distances you can trust; a geographic system in degrees gives distances that have to be converted by the software and should be checked against a known length.
- Confirm vertical units. The horizontal and vertical units of a DEM are not always the same. A DEM stored in feet but read as metres inflates every height by about 3.28 times, and slopes with it.
- Check NoData and edges. A transect that crosses NoData cells produces gaps or a flat line, and cells at the raster edge are interpolated from fewer neighbours.
- Note the cell size and the data source. A 30 m global model, a 10 m national model and a 1 m lidar surface answer different questions. Record which you used, because the profile statistics change with it.
- Decide whether you need a bare-earth or a surface model. A digital surface model includes trees and buildings; a terrain model does not. A road profile through a forest should normally use bare earth.
4. Building the Profile Step by Step
4.1 Interactive Elevation Profile
The interactive tool is the fastest way to start an Elevation Profile in ArcGIS Pro, and it is available in both maps and scenes.
- Add the DEM as an elevation source. In a 2D map, go to the Map tab, choose Add Data, then Elevation Source, and select a DEM file or an elevation service such as one from the Living Atlas. A scene already has a Ground surface. If no elevation source is checked under Ground, the profile will be a flat line, which is a setting problem and not a data problem.
- Open the tool: Analysis tab, Workflows group, Exploratory 3D Analysis drop-down, then Elevation Profile. The Exploratory Analysis pane opens.
- Create the line in one of two ways. With Interactive Placement, click each vertex on the map and finish by double-clicking or pressing F2. With Along a Line, select a line layer, choose it in the pane and click Apply. If several disconnected lines are selected, one segment is used.
- Read the graph and the statistics: minimum, average and maximum elevation, elevation change as cumulative gain and loss, and maximum and average slope. Maximum slope is hidden when the line contains only a single peak or valley.
- Adjust the display. Distance units can be changed, vertices can be dragged to refine the line, and Reverse Direction flips the profile end for end. Sample density follows the width of the graph, and only one profile graph can be open per view.
- Export before moving on. The profile is temporary and is not saved with the project. Export Graph to Image writes JPG, TIF, PNG or BMP; Feature writes a line feature class; and Geodatabase Table or CSV Table writes the sampled values.
4.2 Surface Profile Chart
When the profile must live inside the project, build it as a chart. Right-click the raster in the Contents pane, choose Create Chart, then Surface Profile. Supply a polyline, either drawn on the map or an existing line that intersects the raster. The Profile sample distance defaults to the raster resolution, and changing it resamples the surface by bilinear interpolation. The chart supports single or multiple layers, markers, data labels and statistics, which makes it the better choice for comparing, for example, a 30 m model with a 1 m lidar model along the same line.
4.3 Interpolate Shape
Use Interpolate Shape when Elevation Data Extraction has to produce geometry and not just a picture. The tool assigns z-values from a raster, TIN or terrain to point, line or polygon features and keeps their attributes. For rasters it uses bilinear interpolation only. Key parameters are listed below.
| Parameter | What it does |
| Input surface | The DEM, TIN or terrain that supplies heights |
| Input feature class | The transect (or points, or polygons) that receives z-values |
| Sample distance | Spacing of the interpolated vertices. Defaults to the cell size. Going below half a cell adds no real information, and halving the distance can roughly double the vertex count |
| Z factor | Optional multiplier, useful when vertical units differ from horizontal units |
| Interpolate vertices only | Ignores the sample distance and keeps the original vertices only |
| Behaviour off the surface | A shape with any vertex off the surface is not written, and fully off-surface features are never written |
4.4 Stack Profile
Stack Profile takes input lines and one or more profile targets (multipatch, raster, TIN, terrain, LAS or mosaic dataset) and writes a table. The output fields are FIRST_DIST and FIRST_Z (distance and height), SEC_DIST and SEC_Z (for a secondary distance and height), LINE_ID, SRC_TYPE, SRC_ID and SRC_NAME. Lines are densified along each target. The tool needs a 3D Analyst licence, and the optional graph output is not supported in ArcGIS Pro, so charts have to be drawn from the table. In Python the call is arcpy.ddd.StackProfile(in_line_features, profile_targets, out_table).
5. How the Surface Is Sampled
Every method above ends up asking the same question: what is the height at a point that does not sit on a cell centre? ArcGIS Pro answers with bilinear interpolation, a weighted average of the four nearest cell centres. Figure 3 (left) shows the principle with four illustrative heights. A point located 35 percent of the way across and 60 percent of the way up a cell block takes a value of about 209.5 m, weighted toward the nearest corners.
Two consequences follow. First, a profile can never show detail finer than the cell size, because it only blends the cells it is given. Second, bilinear interpolation slightly flattens sharp peaks and sharp pits, because a weighted average cannot exceed the highest of its four inputs. For most terrain this is harmless; for narrow ridges, road cuttings or levees it is not, and finer data is the only cure.

Figure 3: Bilinear interpolation of one sample (left), and cumulative gain and loss along the synthetic transect (right).
The right-hand panel makes a second point. Over this 6.8 km transect, the net change is only −29 m, yet the surface climbs 488 m and falls 517 m in total. Anyone planning a pipeline, a cycle route or a walking time from net change alone would underestimate the effort by more than an order of magnitude. This is why cumulative gain and loss, and not end-to-end difference, belong in every report.
6. A Computed Test: What Changes the Profile
In DEM Analysis in GIS, practitioners often ask which settings really matter: the sample spacing, the cell size, or the quality of the data. We tested this on a synthetic 30 m DEM (200 by 200 cells, built from smooth hills with fine surface texture), sampling the same 6.8 km transect under five different conditions with bilinear interpolation. The results come from our own calculation and not from ArcGIS Pro output, so they show the behaviour of the method and not the exact numbers the software would write.
| Condition | Min (m) | Max (m) | Gain (m) | Loss (m) | Max slope |
| 30 m DEM, 30 m spacing | 143.9 | 485.6 | 487.5 | 516.5 | 15.5° |
| 30 m DEM, 15 m spacing | 143.9 | 485.7 | 487.6 | 516.6 | 15.5° |
| 30 m DEM, 150 m spacing | 143.9 | 485.4 | 486.2 | 515.2 | 14.8° |
| 90 m DEM, 90 m spacing | 143.5 | 484.6 | 485.8 | 515.1 | 15.0° |
| Noisy 30 m DEM (±1.5 m), 30 m spacing | 143.0 | 486.4 | 491.9 | 524.2 | 17.9° |
| Noisy 30 m DEM (±1.5 m), 150 m spacing | 143.0 | 484.7 | 482.5 | 514.7 | 14.4° |

Figure 4: Zoomed profiles for different spacing and cell sizes (left) and cumulative gain, loss and maximum slope for each condition (right). Synthetic data.
Three lessons come out of this table.
- Spacing finer than the cell size adds nothing. Going from 30 m to 15 m spacing changed gain by 0.1 m and the maximum slope not at all. This matches Esri’s guidance that a sample distance below half a cell does not add information.
- On smooth terrain, even coarse settings give similar totals. Gain and loss moved by about 1 to 2 m (under 0.5 percent) between a 30 m and a 150 m spacing, and between a 30 m and a 90 m model. The shape of the landform dominates. This will not hold for rugged terrain, where coarser data cuts corners and removes real relief.
- Noise is the real risk. Adding only 1.5 m of random vertical error raised gain by 4 m, loss by 8 m and the maximum slope from 15.5° to 17.9° at fine spacing. Every small error adds to the cumulative figures, and slope is the most sensitive of all. Coarser spacing partly hid the noise (14.4°), which is a reminder that a good-looking result can be produced by averaging away a problem and not by solving it.
For any Terrain Analysis Using GIS, the practical advice is to choose spacing close to the cell size, keep the cell size appropriate to the question, and spend effort on data quality before spacing. When statistics are reported, state the DEM, its resolution and the sample distance used.
7. Terrain Analysis Using GIS: Where Profiles Fit
A profile is rarely the final product. It usually sits inside a larger piece of Terrain Analysis Using GIS, and it is most useful when paired with other surfaces.
| Application | How the profile is used |
| Road and rail alignment | Check gradients against design limits, estimate cut and fill sections, and compare alternative routes |
| Hydrology and drainage | Read channel long-profiles and knickpoints, and confirm that a DEM has been conditioned before flow modelling |
| Line-of-sight and telecom | Test whether terrain blocks a link between two towers, and read clearance along the path |
| Geology and geomorphology | Compare landforms with geological cross-sections, ridges, terraces and escarpments |
| Pipelines and utilities | Estimate gain and loss along a route, find low points where water collects and high points where air can lock |
| Hazard and slope stability | Locate steep sections along an access road or a hillside and rank them for field review |
| Ecology and recreation | Describe trail difficulty and altitude exposure for visitors and surveyors |
Profiles also support Elevation Data Extraction for other uses. Exporting the sampled distance and height values to a CSV or table makes them available to Excel, Python or a statistics package, and writing them to a z-aware line feature lets the same transect be reused in a scene, a cross-section or a volume calculation. For z-aware features that already exist, the Interpolate Shape tool is the recommended way to assign or refresh heights.
8. Common Problems and How to Fix Them
| Symptom | Likely cause | Fix |
| Profile is a flat line | No Ground elevation source is checked in a 2D map | Add or tick an elevation source in the Contents pane |
| All heights look 3 times too high | Feet read as metres, or the reverse | Check vertical units and apply a Z factor where needed |
| Gaps or missing sections | Line crosses NoData or leaves the raster | Fill NoData where justified, or shorten the line |
| Jagged, spiky graph | Noisy or surface-model data, or very fine spacing | Use bare earth, smooth lightly, or set spacing near the cell size |
| Interpolate Shape writes nothing | A vertex lies off the surface | Clip the line to the raster extent first |
| Graph disappears after closing the project | Interactive profiles are temporary | Export the graph, table or feature, or use a Surface Profile chart |
| Distances look wrong | Geographic coordinate system in degrees | Project the data to a suitable projected system |
9. Quality Checklist Before You Publish
- State the DEM name, source, cell size and vertical datum.
- Report cumulative gain and loss as well as net change.
- Give the sample distance and the interpolation method (bilinear).
- Check at least one known point, such as a benchmark or spot height, against the profile.
- Label vertical exaggeration on any graph that uses it.
- Keep the exported table or feature so the result can be reproduced.
10. Limits of This Guide
The tool names, menu paths and parameters above follow Esri’s documentation for ArcGIS Pro 3.x, Interactive Elevation Profile, Interpolate Shape and Stack Profile, and the interface can differ in other releases. The figures are drawn for this article from synthetic data and are not screenshots of the software, and the computed test is our own calculation. For a project that matters, confirm results against survey data and the output of your own ArcGIS Pro installation.
Conclusion
An Elevation Profile in ArcGIS Pro is quick to make and easy to misread. The method matters less than the model beneath it: confirm units and coordinate system, choose spacing close to the cell size, treat noise as the main threat to slope and cumulative figures, and report gain and loss and not only net change. Used this way, careful Elevation Data Extraction turns a profile into a reliable piece of DEM Analysis in GIS and a dependable starting point for road design, hydrology, line-of-sight and geological work.
Simbi Labs India supports terrain modelling, DEM processing and spatial analysis for infrastructure, water, mining and environmental projects. To discuss a project, book a free consultation or write to grow@simbi.in.