I'm writing an osgEarth application with local DTEDs / DEMs properly configured and showed in my terrain. Now, I'm trying to move every map / elevation data in a GeoServer, configuring osgEarth with proper layers configured with WMS / WCS drivers.
Raster layers are not a problem and everything works perfectly.
I am in trouble with elevation informations. WCS driver seems written to support ArcGis WCS service implementations (I have tried to read some source file like osgearth/src/osgEarthDrivers/wcs/WCS11Source.cpp) and I have failed in every attempt to get a working elevation layer based on wcs driver pointing my GeoServer instance.
I have tried to get elevations through WMS, no hope.
Someone managed to get a working configuration like this? I realize that it is a mixed question osgEarth / GeoServer.
The WCS driver is osgEarth is *really* old and barely ever used, so I am not surprised that it isn't working for you. I suspect it is just very out of date and you will need to dive in and update it to get things going.
(By the way, WMS is not appropriate for elevation data, so that is not the right path.)
Reading the driver sources, it seemed to understand that the only real problem is the construction of a proper HTTP request to the server (the current HTTP request does not meet the format required by the GeoServer in some fields). By changing the code in the WCS driver section that built the HTTP request, the server should in theory give me back the "tile" and the (old) driver might work with this unique correction.
I think I will make this last attempt. I ask if the reasoning may be correct. If the change will work, and you believe that it is useful, I'll share the solution.