Keyhole Modeling Language –  Chpt. 3 - Geometry Mr. Thomas Cooper Outdoor Technology The Walker School
Adding Longitude and Latitude Grids <ul><li>Directions </li></ul><ul><li>Go to “View” </li></ul><ul><li>Select “Grid” </li...
Point Element <ul><li><Point> </li></ul><ul><li><coordinates>latitude,longitude,altitude </li></ul><ul><li></coordinates> ...
Changing Color and Style Directions 1. Right click on a placemark in the Places panel and go to properties 2. Click on Sty...
Measuring Tools <ul><li>Directions </li></ul><ul><li>Choose the measuring tool. </li></ul><ul><li>Choose the type of measu...
Changing Altitude <ul><li>Directions </li></ul><ul><li>Right click on icon </li></ul><ul><li>Choose “Properties” </li></ul...
Adding A Path <ul><li>Directions </li></ul><ul><li>1. Choose “Path” from the tool bar. </li></ul><ul><li>3. Name Path </li...
USGS Tectonic Plate Layer http://earthquake.usgs.gov/regional/nca/virtualtour/kml/Earths_Tectonic_Plates.kmz
Simple Line String
Line String with Altitude Tessellate set to 1 prevents line from going through the surface of the earth.
Extruded Line String Extruded set to 1 means line is extended to ground.  Can be set to 0 or 1.  Data type boolean.
Line String with Style Parent tag; part of <Style> tag along with <BalloonStyle>.  Can change <color> and <width>.
Adding a Polygon <ul><li>Directions </li></ul><ul><li>1. Choose “Polygon” from the tool bar. </li></ul><ul><li>2. Name you...
Creating Buildings with Polygons <ul><li>Directions </li></ul><ul><li>1. Use Earth to search for a vacant lot. </li></ul><...
Simple Polygon <Polygon> <outerBoundaryIs> <LinearRing> <coordinates> </LinearRing> </outerBoundaryIs> </Polygon> <Polygon...
Polygon with Holes Inner <Polygon> <outerBoundaryIs> <LinearRing> <coordinates> </LinearRing> </outerBoundaryIs> <innerBou...
Making Letters in Earth Use Polygons with <outerBoundaryIs> and <innerBoundaryIs tags>.
MultiGeometry Lets you add multiple geometric elements to a container, such as adding an icon over an polygon.
3D Models <ul><li>3D Buildings is a built-in layer in the Google Earth primary database. </li></ul>
3D Wharehouse http://sketchup.google.com/3dwarehouse/ Download other models from the 3D wharehouse.
Search Models by Type or Decade <ul><li>Major Categories </li></ul><ul><li>Building Collections </li></ul><ul><li>Featured...
Use Google Search, Advanced <ul><li>Models have the file extension x.dae </li></ul><ul><li>Can search on the .dae extensio...
Online Documentation http://code.google.com/apis/kml/documentation/models.html
Including Author and Source Information <ul><li><?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?> </li></ul><ul><...
Research Activity <ul><li>Look through the Google Earth layers in the primary database or search online for other x.kml an...
Upcoming SlideShare
Loading in …5
×

Kml Basics Chpt 3 Geometry

2,760 views

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
2,760
On SlideShare
0
From Embeds
0
Number of Embeds
384
Actions
Shares
0
Downloads
63
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Kml Basics Chpt 3 Geometry

  1. 1. Keyhole Modeling Language – Chpt. 3 - Geometry Mr. Thomas Cooper Outdoor Technology The Walker School
  2. 2. Adding Longitude and Latitude Grids <ul><li>Directions </li></ul><ul><li>Go to “View” </li></ul><ul><li>Select “Grid” </li></ul>
  3. 3. Point Element <ul><li><Point> </li></ul><ul><li><coordinates>latitude,longitude,altitude </li></ul><ul><li></coordinates> </li></ul><ul><li></Point> </li></ul>
  4. 4. Changing Color and Style Directions 1. Right click on a placemark in the Places panel and go to properties 2. Click on Style and Color
  5. 5. Measuring Tools <ul><li>Directions </li></ul><ul><li>Choose the measuring tool. </li></ul><ul><li>Choose the type of measurement. </li></ul><ul><li>Choose the unit of measurement. </li></ul><ul><li>Click on the beginning point and the end point you want to measure. </li></ul>NOTE: Only GE Pro has tools for measuring Polygons and Circles.
  6. 6. Changing Altitude <ul><li>Directions </li></ul><ul><li>Right click on icon </li></ul><ul><li>Choose “Properties” </li></ul><ul><li>Go to “Altitude” </li></ul><ul><li>Type in the altitude you want. </li></ul>
  7. 7. Adding A Path <ul><li>Directions </li></ul><ul><li>1. Choose “Path” from the tool bar. </li></ul><ul><li>3. Name Path </li></ul><ul><li>4. Choose “Style, Color” to change the color and style. </li></ul><ul><li>5. Choose “Altitude” to change the height of the path. </li></ul>NOTE: The path goes through the mountain; we’ll fix this next.
  8. 8. USGS Tectonic Plate Layer http://earthquake.usgs.gov/regional/nca/virtualtour/kml/Earths_Tectonic_Plates.kmz
  9. 9. Simple Line String
  10. 10. Line String with Altitude Tessellate set to 1 prevents line from going through the surface of the earth.
  11. 11. Extruded Line String Extruded set to 1 means line is extended to ground. Can be set to 0 or 1. Data type boolean.
  12. 12. Line String with Style Parent tag; part of <Style> tag along with <BalloonStyle>. Can change <color> and <width>.
  13. 13. Adding a Polygon <ul><li>Directions </li></ul><ul><li>1. Choose “Polygon” from the tool bar. </li></ul><ul><li>2. Name your polygon. </li></ul><ul><li>3. Choose “Color, Style” tab to change the line color or thickness. </li></ul><ul><li>4. Choose “Color, Style” tab to change fill color. </li></ul><ul><li>5. Choose the “Altitude” to change the height of the polygon. </li></ul>
  14. 14. Creating Buildings with Polygons <ul><li>Directions </li></ul><ul><li>1. Use Earth to search for a vacant lot. </li></ul><ul><li>2. Draw your polygon. </li></ul><ul><li>3. Change the color and style. </li></ul><ul><li>4. Change the altitude to adjust the height of the building. </li></ul><ul><li>5. Click “Extend to Ground”. </li></ul>
  15. 15. Simple Polygon <Polygon> <outerBoundaryIs> <LinearRing> <coordinates> </LinearRing> </outerBoundaryIs> </Polygon> <PolygonStyle> <color>ffffffff</color> <ColorMode>normal </ColorMode> <fill>1</fill> <outline>1</outline> </PolygonStyle>
  16. 16. Polygon with Holes Inner <Polygon> <outerBoundaryIs> <LinearRing> <coordinates> </LinearRing> </outerBoundaryIs> <innerBoundarIs> <LinearRing> <coordinates> </LinearRing> </innerBoundaryIs> </Polygon> Outer
  17. 17. Making Letters in Earth Use Polygons with <outerBoundaryIs> and <innerBoundaryIs tags>.
  18. 18. MultiGeometry Lets you add multiple geometric elements to a container, such as adding an icon over an polygon.
  19. 19. 3D Models <ul><li>3D Buildings is a built-in layer in the Google Earth primary database. </li></ul>
  20. 20. 3D Wharehouse http://sketchup.google.com/3dwarehouse/ Download other models from the 3D wharehouse.
  21. 21. Search Models by Type or Decade <ul><li>Major Categories </li></ul><ul><li>Building Collections </li></ul><ul><li>Featured Collections </li></ul><ul><li>Popular Models </li></ul><ul><li>Recent Models </li></ul>
  22. 22. Use Google Search, Advanced <ul><li>Models have the file extension x.dae </li></ul><ul><li>Can search on the .dae extension in Google Search – http://search.google.com </li></ul><ul><li>Files are based on the COLLADA standard, which stands for Collaborative Design Activity. </li></ul><ul><li>More information on this standard can be found on Wikipedia - http://en.wikipedia.org/wiki/COLLADA . </li></ul>
  23. 23. Online Documentation http://code.google.com/apis/kml/documentation/models.html
  24. 24. Including Author and Source Information <ul><li><?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?> </li></ul><ul><li><kml xmlns=http://www.opengis.net/kml/2.2 </li></ul><ul><li>xmlns:atom=&quot;http://www.w3org/2005/Atom &quot;> </li></ul><ul><li><Document> </li></ul><ul><li><atom:author> </li></ul><ul><li><atom:name>Thomas Cooper</atom:name> </li></ul><ul><li></atom:author> </li></ul><ul><li><atom:link href=&quot;http://… &quot; /> </li></ul><ul><li></Document> </li></ul><ul><li></kml> </li></ul>
  25. 25. Research Activity <ul><li>Look through the Google Earth layers in the primary database or search online for other x.kml and x.kmz files and find an interesting use of a geometric object (e.g. arrow, line, etc.) that you could possible use for your project. Be prepared to explain: </li></ul><ul><ul><li>1. …why you liked it. </li></ul></ul><ul><ul><li>2. …how you will use it to get a point across about your project. </li></ul></ul><ul><ul><li>3. …what code (<parent>, <child> tags) was used to create the object. </li></ul></ul><ul><ul><li>4. ..how you will have to change the code to meet your specifications. </li></ul></ul>

×