Please help me get the elevation correct for my polyline.
In recognition that there is a discrepancy in height data between my source data and Cesium's terrain, I am retrieving new height data from a sampleTerrain command....
viewer.terrainProvider = new Cesium.CesiumTerrainProvider({url : '//assets.agi.com/stk-terrain/world'});
......
var promise = Cesium.sampleTerrain(viewer.terrainProvider, 11, newEle);
(newEle is an array of data points [height, latitude, longitude)
However when a polyline populated with the new elevation for the same lat & lon is lain onto the terrain there is still a difference, sometimes greater than terrain, sometimes less than terrain height.
This is my development project showing the differences...
https://www.putmebackon.com/cesium.htm?E=37&S=285
In particular between 0900 and 0910 hrs UTC you can see the variances clearly.
With thanks
Charlie