This question already has an answer here:
I'm using Leaflet map + GeoServer to display a map. I have a TIFF file and a DTED level 2 file.
I created a GeoTIFF store and layer that i'm showing in Leaflet, And I created a DTED store and layer in GeoServer.
I want now to display the altitude of each point from the DEM Layer, like so:
Latitude: 32.123 ,longitude: 12.112, Altitude: 12312 m
How do I get the altitude data from the store I created?
I tried using WCS protocol but I only get images.