Disappearing Lines

978 views
Skip to first unread message

nschlag

unread,
Sep 29, 2010, 3:28:28 PM9/29/10
to KML Developer Support - Google Earth Plug-in
Some of the lines in the plug-in version of GE disappear at certain
zoom levels or different views of the world.

I have looked at similar questions but still have found no answer to
why this is happening.

Here is code that demonstrates this:

<kml xmlns="http://www.opengis.net/kml/2.2">
<Placemark>
<name>Tessellated</name>
<visibility>1</visibility>
<description><![CDATA[If the <tessellate> tag has a value of 1,
the line will contour to the underlying terrain]]></description>
<LineString>
<tessellate>1</tessellate>
<coordinates>
-79.7166976928711,9.15832996368408,0
-119.958000183105,40.1749992370605,0
-119.958000183105,40.1749992370605,0
128.766998291016,34.4333000183105,0
</coordinates>
</LineString>
</Placemark>
</kml>

StarTraX

unread,
Sep 29, 2010, 5:00:08 PM9/29/10
to KML Developer Support - Google Earth Plug-in
It's not really an API issue. I have found that the toggling between
visible and invisible coincides with a change of imagery supplier, in
my example, when it the imagery supplier changes from "2010 Tele
Atlas" (visible) to "Data SIO, NOAA ..." (invisible).
http://www.gpsanimator.com/visible.jpg
http://www.gpsanimator.com/invisible.jpg

nschlag

unread,
Sep 29, 2010, 5:05:15 PM9/29/10
to KML Developer Support - Google Earth Plug-in
Thanks for the reply.

I had noticed that was the case with some of the lines but not in all
cases.

Do you know of a anyway to fix this problem?

On Sep 29, 4:00 pm, StarTraX wrote:
> It's not really an API issue. I have found that the toggling between
> visible and invisible coincides with a change of imagery supplier, in
> my example, when it the imagery supplier changes from "2010 Tele
> Atlas" (visible) to "Data SIO, NOAA ..." (invisible).http://www.gpsanimator.com/visible.jpghttp://www.gpsanimator.com/invisible.jpg

StarTraX

unread,
Sep 29, 2010, 8:13:04 PM9/29/10
to KML Developer Support - Google Earth Plug-in
No idea, I was just adding some info. It looks like a bug and you
could report it in the bug tracker at http://code.google.com/p/earth-api-samples/issues/list

On Sep 30, 7:05 am, nschlag wrote:
> Thanks for the reply.
>
> I had noticed that was the case with some of the lines but not in all
> cases.
>
> Do you know of a anyway to fix this problem?
>
> On Sep 29, 4:00 pm, StarTraX wrote:
>
> > It's not really an API issue. I have found that the toggling between
> > visible and invisible coincides with a change of imagery supplier, in
> > my example, when it the imagery supplier changes from "2010 Tele
> > Atlas" (visible) to "Data SIO, NOAA ..." (invisible).http://www.gpsanimator.com/visible.jpghttp://www.gpsanimator.com/invi...

GTrek

unread,
Sep 30, 2010, 7:20:12 PM9/30/10
to KML Developer Support - Google Earth Plug-in
Hi All,

If it helps I have had and still have this problem. Some of my traces
are complex and can consist of thousands of points (which can be a
problem in itself). The problem can be seen on some PC's and not
others, this I put down to graphics drivers, make sure your are
uptodate. I have more problems with sony Vaio's.

A couple of things you can try:-
1) Increase the line thickness to 2 or 3 pixels.
2) If your AltitudeMode is not ClampedToGround then ensure the
Altitude data is above the ground altutude. If your trace is below the
surface it won't be drawn. Also bear in mind the ground altitude can
be different when viewed from defferent elevations. If not sure make
it higher, ie change -79.7166976928711,9.15832996368408,0 to
-79.7166976928711,9.15832996368408,1000
3) use <altitudeMode>clampedToGround</altitudeMode>

If I think of anything else I'll let you know.

Regards

John
www.gtrek.co.uk

On Sep 30, 1:13 am, StarTraX wrote:
> No idea, I was just adding some info. It looks like a bug and you
> could report it in the bug tracker athttp://code.google.com/p/earth-api-samples/issues/list
Reply all
Reply to author
Forward
0 new messages