I am attempting to determine the elevation of about 100k different polylines. I have an associated DEM for my state that is in the same coordinate system.

What tool(s) could I use to determine the mean elevation of each polyline and add this information to the attribute table?

  • 1
    Welcome to GIS SE, and thank you for taking the tour. Please Edit your Question to conform to the One question per Question policy.
    – Vince
    May 19, 2021 at 21:10

2 Answers 2


If you have 3D Analyst extension you could use the Interpolate shape tool to transfer your DEM to the vertices of the polylines. Then use the Add geometry Attributes to extract first/last Z values and finally compute the mean with a field calculate?


I somehow managed to find the solution, it was to run the 3D Analyst tool, Add Surface Information. Someone had a very similar question about ten years back and posted it to the ESRI blog.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.