I have two layers: elevation (raster) and vegetation map (polygons). I would like to generate an elevation profile with a line that besides having the elevation form, appears the length of the different vegetation polygons. Something similar to the image I attach below, without the trees, but having a line reflecting different polygons and colors as in that image they have the categories "stream bed, stream banks, flats, etc.".
I tried the tool interpolate line but I'm only able to get the elevation line, not the different colors according to the type of vegetation. Is this possible with ArcMap or QGIS?
