chico0052003 / kml-samples

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

Polygon Fill broken at North and South Poles #228

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

Which products are affected?

Both OpenGL and DirectX versions of current Google Earth.

What steps will reproduce the problem?

1. See attached kml.

What is the expected output or behavior? What do you see instead?

Polygon fills should fill the entire area of the polygon. When drawing a 
polygon around either of the poles, the polygon fill does not get drawn 
correctly (i.e. at all). NOTE: This may be related to Issue #227.

What application versions (if any) are you using?

Google Earth
4.3.7284.3916 (beta)

Which operating systems and browsers are affected?
N/A

Please provide any additional information (code snippets/links) below.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Document xmlns="http://www.opengis.net/kml/2.2" 
xmlns:ns2="http://www.w3.org/2005/Atom" 
xmlns:ns3="urn:oasis:names:tc:ciq:xsdschema:xAL:2.0">
    <name>FIM</name>
    <open>true</open>
    <Style id="fx-0">
        <LineStyle>
            <color>EEFFFFFF</color>
            <width>1.0</width>
        </LineStyle>
        <PolyStyle>
            <color>BB00FFFF</color>
        </PolyStyle>
    </Style>
    <Placemark>
        <name>Voronoi Cells</name>
        <open>false</open>
        <styleUrl>#fx-0</styleUrl>
        <MultiGeometry>
            <Polygon>
                <altitudeMode>absolute</altitudeMode>
                <outerBoundaryIs>
                    <LinearRing>
                        <coordinates>46.000,88.775,65000 
118.000,88.775,65000 -170.000,88.775,65000 -98.000,88.775,65000 -
26.000,88.775,65000 46.000,88.775,65000</coordinates>
                    </LinearRing>
                </outerBoundaryIs>
            </Polygon>
            <Polygon>
                <altitudeMode>absolute</altitudeMode>
                <outerBoundaryIs>
                    <LinearRing>
                        <coordinates>-3.616,86.941,65000 -
8.030,86.223,65000 1.730,84.992,65000 18.270,84.992,65000 
28.030,86.223,65000 23.616,86.941,65000 -3.616,86.941,65000</coordinates>
                    </LinearRing>
                </outerBoundaryIs>
            </Polygon>
            <Polygon>
                <altitudeMode>absolute</altitudeMode>
                <outerBoundaryIs>
                    <LinearRing>
                        <coordinates>-39.616,-86.941,65000 -62.000,-
88.016,65000 -62.000,-88.775,65000 10.000,-88.775,65000 10.000,-
88.016,65000 -12.384,-86.941,65000 -39.616,-86.941,65000</coordinates>
                    </LinearRing>
                </outerBoundaryIs>
            </Polygon>
            <Polygon>
                <altitudeMode>absolute</altitudeMode>
                <outerBoundaryIs>
                    <LinearRing>
                        <coordinates>-62.000,-88.775,65000 -134.000,-
88.775,65000 154.000,-88.775,65000 82.000,-88.775,65000 10.000,-
88.775,65000 -62.000,-88.775,65000</coordinates>
                    </LinearRing>
                </outerBoundaryIs>
            </Polygon>
            <Polygon>
                <altitudeMode>absolute</altitudeMode>
                <outerBoundaryIs>
                    <LinearRing>
                        <coordinates>-26.000,88.775,65000 -
26.000,88.016,65000 -3.616,86.941,65000 23.616,86.941,65000 
46.000,88.016,65000 46.000,88.775,65000 -26.000,88.775,65000</coordinates>
                    </LinearRing>
                </outerBoundaryIs>
            </Polygon>
        </MultiGeometry>
    </Placemark>
</Document>

Original issue reported on code.google.com by evan.pol...@gmail.com on 27 Jan 2009 at 5:03

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by api.roman.public@gmail.com on 3 Feb 2009 at 2:26

GoogleCodeExporter commented 8 years ago

Original comment by jli...@google.com on 31 Aug 2010 at 10:42