amithpdn / kml-samples

Automatically exported from code.google.com/p/kml-samples
0 stars 0 forks source link

Linestrings do not render if viewing below sea surface with absolute altitude mode #250

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Which products are affected?
Google Earth 5 esp. Google Oceans

What steps will reproduce the problem?
1. Create a LineString placemark with altitudeMode set to "absolute"
2. Zoom to the LineString until your eye-altitude is below 0m (i.e. below 
the sea surface)

What is the expected output or behavior? What do you see instead?
I expect to see the line rendered below the sea surface. It is not.

What application versions (if any) are you using?

Which operating systems and browsers are affected?
I've only tried this on the Windows version.

Please provide any additional information (code snippets/links) below.
If you use "absolute" altitudeMode with point placemarks instead of 
linestrings, they render. Also, using "relativeToSeaFloor" altitude mode 
with LineStrings renders the lines correctly.

Code snippet (as seen here: http://groups.google.com/group/kml-support-
getting-started/browse_thread/thread/ef7da273396be16f)

<?xml version="1.0" encoding="UTF-8"?> 
<kml xmlns="http://www.opengis.net/kml/2.2"> 
  <Placemark> 
    <Style> 
      <LineStyle> 
        <color>ff0000ff</color> 
        <width>3.0</width> 
      </LineStyle> 
    </Style> 
    <visibility>1</visibility> 
    <LineString> 
      <tessellate>1</tessellate> 
      <altitudeMode>absolute</altitudeMode> 
      <coordinates> 
        -38.756,-54.243,-94 
        -38.749,-54.240,-90 
        -38.746,-54.239,-97 
        -38.745,-54.239,-87 
        -38.741,-54.237,-108 
        -38.736,-54.235,-250 
      </coordinates> 
    </LineString> 
  </Placemark> 
</kml> 

Original issue reported on code.google.com by t...@bas.ac.uk on 19 Feb 2009 at 8:37

GoogleCodeExporter commented 9 years ago

Original comment by api.roman.public@gmail.com on 19 Feb 2009 at 9:44

GoogleCodeExporter commented 9 years ago

Original comment by api.roman.public@gmail.com on 6 Oct 2009 at 7:43