Author: Helena Bermúdez Sabel (helena.bermudez@usc.es) Maintained by: David J. Birnbaum (djbpitt@gmail.com) Last modified: 2021-12-27T22:03:49+0000
Complete sample code for the Introduction to KML.
<?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>KML tutorial</name> <LookAt> <gx:TimeSpan> <begin>1884</begin> <end>2012</end> </gx:TimeSpan> </LookAt> <Camera> <latitude>-26.163320</latitude> <longitude>133.501050</longitude> <altitude>4000000</altitude> </Camera> <Placemark> <name>Obdurodon dicksoni</name> <TimeStamp> <when>1984</when> </TimeStamp> <description> <![CDATA[ <div> <ul> <li>Fossils discovered in <strong><a href="http://en.wikipedia.org/wiki/Riversleigh">Riversleigh</a></li> <li>Habitat: Queensland</li> <li>Epoch: Lower and middle Miocene</li> <li>This species is characterized by a skull and several scattered teeth. Physically, it would have looked much like a modern platypus, although significant differences are few.</li> </ul> <img src="http://www.wakaleo.net/wp-content/uploads/2012/10/Obdurodon-dicksoni1.jpg" alt="dicksoni" height="400" widt="300" style="margin:auto; display:block"/> </div> ]]> </description> <Style> <IconStyle> <Icon> <href>http://dh.obdurodon.org/kml/images/Obdurodon.jpg</href> </Icon> </IconStyle> </Style> <Point> <coordinates>138.717,-19.083</coordinates> </Point> </Placemark> <Placemark> <name>Obdurodon insignis</name> <TimeStamp> <when>1975</when> </TimeStamp> <description> <![CDATA[ <div> <ul> <li>Discovered in 1975 by Mike O. Woodburne and Dick H. Tedford at Etudunna Formation in the desert of Tirari.</li> <li>Habitat: South Australia</li> <li>Epoch: Upper Oligocene</li> <li>The holotype is an inferior left molar and is kept in the South Australia's Museum, Adelaide.</li> </ul> <img src="http://dh.obdurodon.org/kml/images/Obdurodon_big.jpg" alt="obdurodonNON" style="margin:auto; display:block"/> </div>]]> </description> <Style> <IconStyle> <Icon> <href>http://dh.obdurodon.org/kml/images/Obdurodon.jpg</href> </Icon> </IconStyle> </Style> <Point> <coordinates>138.116667, -28.366667</coordinates> </Point> </Placemark> <Placemark> <name>Obdurodon tharalkooschild</name> <TimeStamp> <when>2012</when> </TimeStamp> <description> <![CDATA[ <div> <ul> <li>Discovered in 2012 by a team from the University of New South Wales</li> <li>Habitat: Queensland</li> <li>Epoch: Middle and upper Miocene (5–15 mya)</li> <li>The species is believed to have been carnivorous and twice the size of the modern platypus at a metre long.</li> </ul> <img src="http://cdn4.sci-news.com/images/enlarge/image_1518e-Obdurodon.jpg" alt="obdurodonThar" width="450" height="350" style="margin:auto; display:block"/> </div>]]> </description> <Style> <IconStyle> <Icon> <href>http://dh.obdurodon.org/kml/images/Obdurodon.jpg</href> </Icon> </IconStyle> </Style> <Point> <coordinates>137, -19.5</coordinates> </Point> </Placemark> <Placemark> <name>Zaglossus hacketti</name> <TimeStamp> <when>1914</when> </TimeStamp> <description> <![CDATA[ <div> <ul> <li>Fossils discovered in <strong><a href="http://en.wikipedia.org/wiki/Mammoth_Cave_%28Western_Australia%29">Mammoth Cave</a></strong></li> <li><em>Zaglossus hacketti</em> is an extinct species of long-beaked echidna from Western Australia that is dated to the Pleistocene.</li> <li>It is known only from a few bones. It was about 1 m long and probably weighed about 30 kg (66 lb).This makes it the largest monotreme known to have ever lived.</li> </ul> <img src="http://upload.wikimedia.org/wikipedia/commons/8/85/Zaglossus_hacketti.png" alt="zaglossus" style="margin:auto; display:block"/></img> </div> ]]></description> <Style> <IconStyle> <Icon> <href>http://dh.obdurodon.org/kml/images/Zaglossus_hacketti.png</href> </Icon> </IconStyle> </Style> <Point> <coordinates>115.030556, -34.058056</coordinates> </Point> </Placemark> <Placemark> <name>Kollikodon</name> <TimeStamp> <when>1995</when> </TimeStamp> <description> <![CDATA[ <div> <ul> <li><em>Kollikodon ritchiei</em> is known only from an opalised dentary fragment, with one premolar and two molars in situ.</li> <li>The fossil was found at Lightning Ridge, New South Wales, Australia, as was <em>Steropodon</em>.</li> <li><em>Kollikodon</em> lived in the lower Cretaceous period, during the middle Albian age (100–104 million years ago).</li> </ul> <img src="http://www.abc.net.au/science/ozfossil/img/fauna/kollikodon_a.jpg" alt="kollikodon" style="margin:auto; display:block" width="200" height="150"/></img> </div> ]]></description> <Style> <IconStyle> <Icon><href>http://dh.obdurodon.org/kml/images/kollikodon.jpg</href></Icon> </IconStyle> </Style> <Point> <coordinates>147.966667, -29.433333</coordinates> </Point> </Placemark> <Placemark> <name>Steropodon</name> <TimeStamp> <when>1985</when> </TimeStamp> <description> <![CDATA[ <div> <ul> <li><em>Steropodon galmani</em> was a prehistoric species of monotreme that lived during the middle Albian stage, about 105 million years ago, in the Lower Cretaceous period.</li> <li><em>Steropodon</em> is known only from a single opalised jaw with three molars</li> <li>The fossil was found at Lightning Ridge, New South Wales, Australia, as later was <em>Kollikodon</em>.</li> <li>It is thought to be the second-earliest known relative of the platypus.</li> </ul> <img src="http://upload.wikimedia.org/wikipedia/commons/0/0e/Steropodon_BW.jpg" alt="steropodon" style="margin:auto; display:block" width="500" height="300"/></img> </div> ]]></description> <Style> <IconStyle> <Icon> <href>http://dh.obdurodon.org/kml/images/steropodon.jpg</href> </Icon> </IconStyle> </Style> <Point> <coordinates>147, -29</coordinates> </Point> </Placemark> <Placemark> <name>Megalibgwilia</name> <TimeStamp> <when>1884</when> </TimeStamp> <description> <![CDATA[ <div> <ul> <li><em>Megalibgwilia</em> is a genus of echidna known only from Australian fossils that incorporates the oldest known echidna species.</li> <li><em>Megalibgwilia</em>was first described from a broken left humerus by Richard Owen when he identified <em>M. ramsayi</em> in 1884.</li> <li>It lived during the Pleistocene, becoming extinct about 50,000 years ago.</li> </ul> <img src="http://www.artistwd.com/joyzine/australia/articles/megafauna/images/megalibgwilia.jpg" alt="megalibgwilia" style="margin:auto; display:block"/></img> </div> ]]></description> <Style> <IconStyle> <Icon> <href>http://dh.obdurodon.org/kml/images/megalibgwilia.jpg</href> </Icon> </IconStyle> </Style> <Point> <coordinates>148.938056, -32.620833</coordinates> </Point> </Placemark> </Document> </kml>