I have a DEM raster, and a shapefile consisting of ~20 lines of steepest descent, created from the "flow Path Tracing" tool in Arc Hydro. Though the lines are all in the same shapefile, I wish to maintain their distinction (each has a separate ObjectID in the attribute table) in extracting DEM elevation values through a tool such as Extract by Mask. Using Extract by Mask with the line shapefile just produces one raster, with no separation between different lines.
Is there a way to extract DEM raster values corresponding to line location and maintain separate line IDs, so that I can later export them to Matlab for further analysis?
I'm currently using ArcMap 10.2