Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Is there any difference in the kml script to allow different versions of Google Earth to see it ?

If I write

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Document>

</Document></kml>

How would the kml file content change if using a different Google Earth version ?

(I would like to be sure that the kml files I create are visible on currently downloadable Google Earth versions, e.g. 5 to 7.03)

I plan to use simplekml (pyPI) to generate the files. They will use GroundOverlay, NetworkLink, Region... (as created by simplekml, which I trust to do a better job than my own brain)

I tried to find any information on version changes (for Google Earth) - but have been unsuccessful. Thank you for help.

share|improve this question
    
KML is backwards compatible, it will ignore new elements/features in old versions. Google Earth is Free to download/upgrade to users should use the most recent version. –  Mapperz Apr 19 '13 at 13:35
1  
More information on KML here: digitalpreservation.gov/formats/fdd/fdd000340.shtml –  Mapperz Apr 19 '13 at 13:39

1 Answer 1

up vote 2 down vote accepted

I think you'll be safe with any of those pretty simple, standardised elements. I'd just make it KML 2.2 (definitely supported in Google Earth 5.0 and later - back to 4.2 IIRC).

There are some elements that are "Google extensions" (in the gx: namespace) that are only supported in later versions. You can see these in the KML Reference. For example, Camera and LookAt only support <gx:ViewerOptions> in Google Earth 6.0. Using those extensions shouldn't break Google Earth (or any other KML viewer) - they'll just be ignored.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.