[GIS] Google Earth Polygon surface area to follow the curvature of the earth model

elevationkmlpolygon

enter image description hereQuestion:
When drawing a polygon in Google Earth with latitude, longitude and elevation values at each node, how do you ensure that the surface area of the polygon also represents the desired elevation in relation to the earth's surface (interpolated between the nodes)? And, not have the surface area tangent to the nodes.

At the moment, when I draw a polygon over the earth at 800000 m absolute, it looks like this:
enter image description here

I would like the surface to be the same height as the perimeter of the polygon or to have the surface interpolated between the nodes. So, for example, if I had an inclined plane stretching over the ground where one end is 50 m elevation absolute and the other end is 500 m elevation absolute, the area enclosed in the polygon would represent the interpolated z value. At the moment, it is clearly not the case as can be seen in the picture.

I suspect it would be a setting in Google Earth or there is something in the KML code that can be manipulated..

Best Answer

Currently, it is forcing the polygon to draw at an absolute elevation (looks to be above sea floor?) You can clamp it to the surface, which will essentially 'drape' it over your elevation / DEM. To fix the issue the KML syntax is

<altitudeMode>clampToGround</altitudeMode>

If you could post some of your raw code, might be able to help with implementing it, but this is the best I can come up with without seeing the raw code.

Related Question