Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    thanks for pointing this out. I looked at the validator and corrected the second error (missing @rel for atom:link). the first error (Detected 2 XML Schema constraint violations.) is not really an error according to https://kml4earth.appspot.com/kmlBestPractice.html :

    “Note that the Galdos Systems KML validator above does not validate KML extensions (i.e. gx namespace) so for example this valid KML sample shows 2 errors related to gx: namespace.”

    Please check a kml feed from my current dev site (where fix for missing @rel is included) if it works on Android now: e.g. https://current.mapsmarker.com/wp-content/plugins/leaflet-maps-marker/leaflet-kml.php?marker=379&name=show

    There is also another KML validator at https://feedvalidator.org/ which shows no errors with my plugins KML feeds – so I am not really sure why it is not working with Google Earth on Android…
    best,

    Robert

    Thread Starter braindeadave

    (@braindeadave)

    Hmmm, this is interesting. I think this might be a bug in google earth for android, but I’m not sure. Surely something like this would have been noticed and fixed ages ago?

    I checked the kml feed from you dev site but it still doesn’t work. I’ve tried a few different combinations myself (thank god for owncloud – https://www.owncloud.org) but can’t get it to work. The most basic one was:

    <?xml version=”1.0″ encoding=”UTF-8″?>
    <kml xmlns=”https://www.opengis.net/kml/2.2″&gt;
    <Document>
    <Placemark>
    <name>Random</name>
    <Point>
    <coordinates>8.853193712983327,53.10919982492059,10</coordinates>
    </Point>
    </Placemark>
    </Document>
    </kml>

    But even that didn’t work? It just says not found.

    Strange.

    Do you have an iphone or ipad? Are you able to check if kml files display correctly on google earth on either of those?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘KML issues.’ is closed to new replies.