I am trying to draw an elevation profile of a road in Google Earth Engine. What I want is that I give a line to GEE and it gives me a plot of the underlying/intersecting pixel values.
I know GEE provides reducers to aggregate data but by point or a polygon in the form of mean, median, mode etc. Reducer do not allow you to get the raw pixel values from the image.
Does any one know about a method to extract specific raw pixel values from a raster based upon the line drawn over it.