Ceiusm add kml, building altitude is wrong, but kml works well in google earth.

Cesium adds kml ,building is far away from ground, but in google earth, the building model is right? I don‘t know why. Any helps? THANKS!


It’s really hard to say what the problem is without seeing the code. Could you paste a code example?

Do you have terrain turned on?



My guess is that your building height is defined with an altitude relative to mean sea level, but in cesium, height is relative to the WGS84 ellipsoid. You could check this by grabbing one of your building locations and providing inputs to this online calculator:

If you adjusted the height to include the geoid height returned from the calculator, does this correctly display in Cesium?

Yeah, you are right! Is there a way to modify kml height or change it in cesium?