Filled polygons on complicated terrain

3 views
Skip to first unread message

Walt_Haas

unread,
Mar 17, 2007, 7:25:05 PM3/17/07
to KML Discussions
Hello Everybody,

I am trying to draw filled polygons on complicated terrain. Here is my KMZ:

http://www.thewebsitedoctor.net/avalanche/UtahAvalancheMap.kmz

I would like to have the fill color and the boundary line conform to the terrain. But, if I generate the polygon with Code:
<altitudeMode>clampToGround</altitudeMode>

the outer boundary line follows the terrain nicely but the fill color disappears. If I use Code:
<altitudeMode>relativeToGround</altitudeMode>

and give each coordinate point a little altitude, say 2 meters above the ground, most of the fill is visible but it seems that high points of the terrain "poke through", so they do not get the fill color. If I give much larger elevation I can get the fill color up in the air above the ground but by the time all the high points are covered the polygon is high above the ground and no longer communicates what I want to communicate.

I am viewing this with GE 4.0.2735 on Fedora Core 6 Linux. I had to turn on Safe Mode because of polygon flickering without it. Could this be part of the problem?

For one example on the above map, open Utah Avalanche Map > Avalanches > Wasatch Mountains and double-click the first item labeled March 3, 2007

Thanks for any help -- Walt

Forkboy2

unread,
Mar 18, 2007, 3:07:21 AM3/18/07
to KML Discussions
I think it's just a matter of the polygon draw routines not having the same accuracy of the ground elevation. Probably all comes down to how much CPU horsepower it would take to draw polygons that matched the terrain.

I don't think there is anything you can do about this.

PriceCollins

unread,
Mar 19, 2007, 10:30:51 PM3/19/07
to KML Discussions
Would splitting the polygons into many smaller adjacent polygons help?

It might create more granularity for the tesselate software.
Reply all
Reply to author
Forward
0 new messages