Presentation is loading. Please wait.

Presentation is loading. Please wait.

What is KML?  Keyhole Markup Language  Form of XML that is used in google earth to mark points.  Can create camera angles  Writes HTML descriptions.

Similar presentations


Presentation on theme: "What is KML?  Keyhole Markup Language  Form of XML that is used in google earth to mark points.  Can create camera angles  Writes HTML descriptions."— Presentation transcript:

1 What is KML?  Keyhole Markup Language  Form of XML that is used in google earth to mark points.  Can create camera angles  Writes HTML descriptions of features and allows hyper-linking and image embedding  http://www.keyhole.com/kml/kml_tut.html

2 Different uses ► Can be used to form placemarks ► Can be used to form ground overlays ► Can be used to from paths/directions from one location to another.

3 Placemark code example <Placemark> Tethered to the ground by a customizable tail Tethered to the ground by a customizable tail Tethethed placemark Tethethed placemark <LookAt><longitude>-122.0856375356631</longitude><latitude>37.42240551227282</latitude><range>305.8880792294568</range><tilt>46.72425699662645</tilt><heading>49.06133439171233</heading></LookAt><visibility>0</visibility><Style><IconStyle> root://icons/palette-3.png root://icons/palette-3.png <x>96</x><y>160</y><w>32</w><h>32</h></Icon></IconStyle></Style><Point><extrude>1</extrude><altitudeMode>relativeToGround</altitudeMode><coordinates>-122.0856204541786,37.42244015321688,50</coordinates></Point></Placemark></kml>

4 Example code for Ground overlay <GroundOverlay> Overlay shows Mount Etna erupting on July 13th, 2001. Overlay shows Mount Etna erupting on July 13th, 2001. Large-scale overlay on terrain Large-scale overlay on terrain 15.02468937557116 37.67395167941667 15.02468937557116 37.67395167941667 <range>30350.36838438907</range><tilt>58.31228652890705</tilt><heading>-16.5581842842829</heading> 0 0 http://bbs.keyhole.com/ubb/z0302a1700/etna.jpg http://bbs.keyhole.com/ubb/z0302a1700/etna.jpg <north>37.91904192681665</north><south>37.46543388598137</south> 15.35832653742206 15.35832653742206 <west>14.60128369746704</west><rotation>0</rotation></LatLonBox></GroundOverlay></kml>

5 Allows descriptive HTML in placemarks ► CDATA Tags are important! ► CDATA Tags are important! Text is more readable and easier to write when you can avoid using entity references. Text is more readable and easier to write when you can avoid using entity references. ]]> ]]></description> ► ► CDATA Tags are important! CDATA Tags are important! Text is more readable and easier to write when you can avoid using entity references. Text is more readable and easier to write when you can avoid using entity references. </p></description>

6 Tools ► One tool that can be used to create your map is mapbuilder. mapbuilder

7 Getting the code ► Mapbuilder creates the code for you. ► Copy and paste it and save as html file time ► Publish it to webspace.

8 Exercises 1. Go to www.mapbuilder.net and created a user account. www.mapbuilder.net 2. Created at least 2 placemarks on your map. Make on of them your current address and the other can be whatever you want.


Download ppt "What is KML?  Keyhole Markup Language  Form of XML that is used in google earth to mark points.  Can create camera angles  Writes HTML descriptions."

Similar presentations


Ads by Google