KML node clamped to terrain #2461
-
Hi, I have OsgEarth 2.10 and I have a KML file relative to a geographic area. The kml has altitude = 0 and clampToGround property. Is there the possibility into OsgEarth to clamp the kml to the terrain in case of enabling/disabling a DEM? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The KML clamping options are in |
Beta Was this translation helpful? Give feedback.
-
@gwaldron Thanks for reply, so are you suggesting that, if in the KML xml I specify the "clampToGround" option, this should automatically adapt to the terrain and I don't have to do development on the OsgEarth side? I currently integrate it like this: mapNode->addChild(kmlHighNode ); where in the KML file the altitude mode is already clampToGraound, but without effect. |
Beta Was this translation helpful? Give feedback.
If I recall correctly, only KML lines and points will clamp to the terrain dynamically. Anything that's extruded will not.