Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KML with duplicate placemark ID's doesn't render duplcates #3941

Closed
denverpierce opened this issue May 20, 2016 · 1 comment
Closed

KML with duplicate placemark ID's doesn't render duplcates #3941

denverpierce opened this issue May 20, 2016 · 1 comment
Labels
good first issue An opportunity for first time contributors type - bug

Comments

@denverpierce
Copy link
Contributor

Duplicate ID's on KML 's are eaten up by cesium (leaving only the last one parsed), but not by Google Earth.

Here is a minimally viable KML example:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2" xmlns:gx="http://www.google.com/kml/ext/2.2" xmlns:kml="http://www.opengis.net/kml/2.2" xmlns:atom="http://www.w3.org/2005/Atom">
<Document>
    <name>test.kml</name>
    <Folder>
        <open>1</open>
        <Placemark id="pants">
            <name>Untitled Placemark</name>
            <Point>
                <coordinates>-100.3676476056248,35.68047362719558,0</coordinates>
            </Point>
        </Placemark>
        <Placemark id="pants">
            <name>Untitled Placemark</name>
            <Point>
                <coordinates>-99.88130689790214,35.74669558362526,0</coordinates>
            </Point>
        </Placemark>
    </Folder>
</Document>
</kml>
@hpinkos hpinkos added type - bug good first issue An opportunity for first time contributors labels Jun 1, 2016
@hpinkos
Copy link
Contributor

hpinkos commented Jun 1, 2016

Thanks @denverpierce!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue An opportunity for first time contributors type - bug
Projects
None yet
Development

No branches or pull requests

2 participants