Misalignment of a polyline from GeoJson

I really like the potential of Cesium. It was pretty easy to build a first test, but now it would be great to get some help regarding the misalignment of my geojson-track.

Please take a look at the short screencast: https://dl.dropboxusercontent.com/u/1102990/cesium_geojson_track_moving.mov

The moving of the track is not aligned to the custom map. It also happens with the map from google or mapbox, so I think it belongs to the track or the accuracy of the terrain-data.

The track has informations regarding the elevation: https://gist.github.com/jensfranke/729b8bd4479a9952e0c4d14142d22698

What can I do for removing the misalignment of the track if move the camera?

Sorry, I’m unable to access the dropbox link you posted. Could you upload the video to youtube or google drive instead so I can see what you’re talking about?



Hi Hannah,

hope this upload works:

Thanks in advance

Yes, thank you! To me it looks like the heights in your data are slightly off.
To fix it, try using the sampleTerrain function to query the terrain at a higher level of detail and adjust the position heights.

Take a look at the ‘Sample Everest Terrain’ section of this demo for an example of using the sampleTerrain function: http://cesiumjs.org/Cesium/Apps/Sandcastle/index.html?src=Terrain.html&label=Showcases