Google Earth and

Sebastian Rahtz

Basics

Google Earth and Google Google Earth and Maps

How to make use of Earth and Maps Sebastian Rahtz KML, the language for Google Earth and Google Maps

Programming Google Maps

The OXPOINTS project

Conclusions Google Earth and Google Maps

Google Earth and Google Maps

Sebastian Rahtz

Basics

Google Earth and Google Maps

How to make use of Earth and Maps

KML, the language for Google Earth and Google Maps

Programming Google Maps

The OXPOINTS Sebastian Rahtz ([email protected]) project OUCS Information Manager Conclusions Outline

Google Earth and Google Maps 1 Basics Sebastian Rahtz 2 Basics Google Earth and Google Maps

Google Earth and Google 3 Maps How to make use of Earth and Maps

How to make use of Earth 4 and Maps KML, the language for Google Earth and Google Maps

KML, the language for 5 Programming Google Maps Google Earth and Google Maps 6 The OXPOINTS project Programming Google Maps The 7 Conclusions OXPOINTS project

Conclusions Basics

Google Earth and Google Maps

Sebastian Rahtz Mapping things using geographic metadata (latitude & Basics longitude) is becoming ubiquitous: Google Earth and Google Maps tagging photos in Flickr with their coordinates How to make showing addresses in car Satnav systems use of Earth and Maps making maps of archaeological remains KML, the language for online displays of flood plains, pubs, wifi zones... Google Earth and Google Maps (and not just maps but aerial and satellite views)

Programming Google Maps

The OXPOINTS project

Conclusions My holidays in Gran Canaria

Google Earth and Google Maps

Sebastian Rahtz

Basics

Google Earth and Google Maps

How to make use of Earth and Maps

KML, the language for Google Earth and Google Maps

Programming Google Maps

The OXPOINTS project

Conclusions Satnaving around

Google Earth and Google Maps

Sebastian Rahtz

Basics

Google Earth and Google Maps

How to make use of Earth and Maps

KML, the language for Google Earth and Google Maps

Programming Google Maps

The OXPOINTS project

Conclusions Far too much data

Google Earth and Google Maps

Sebastian Rahtz

Basics

Google Earth and Google Maps

How to make use of Earth and Maps

KML, the language for Google Earth and Google Maps

Programming Google Maps

The OXPOINTS project

Conclusions The frightening detail

Google Earth and Google Maps

Sebastian Rahtz

Basics

Google Earth and Google Maps

How to make use of Earth and Maps

KML, the language for Google Earth and Google Maps

Programming Google Maps

The OXPOINTS project

Conclusions How do you find these geographical goodies?

Google Earth and Google Maps

Sebastian Rahtz Microsoft Live Search Maps Basics Google Earth Multimap and Google Maps Yahoo Maps How to make use of Earth Open data (eg OpenStreetMap project) and Maps

KML, the Google Maps and Google Earth language for Google Earth . . . and don’t forget your GPS receiver to work out and Google Maps where you are

Programming Google Maps

The OXPOINTS project

Conclusions Google Earth and Google Maps

Google Earth and Google Maps

Sebastian Google Earth displays aerial/satellite views of earth. You Rahtz can: Basics search for a place by name, postcode etc, and jump Google Earth and Google there Maps get directions from one place to another How to make use of Earth show or hide layers of overlaid data and Maps KML, the add your own annotations to the language for Google Earth view 3D terrain and buildings of (some) places and Google Maps Earth is a free download for most platforms from Programming Google Maps http://earth.google.com. There is a Pro version for The money. OXPOINTS project

Conclusions Google Earth navigation

Google Earth and Google Maps

Sebastian Rahtz

Basics

Google Earth and Google Maps

How to make use of Earth and Maps

KML, the language for Google Earth and Google Maps

Programming Google Maps

The OXPOINTS project

Conclusions Demo

Google Earth and Google Maps

Sebastian Rahtz

Basics

Google Earth and Google (search for London Eye) Maps (search for Uluru) How to make use of Earth (turn Terrain and 3D Buildings on and off) and Maps (search for Oxford) KML, the language for Google Earth and Google Maps

Programming Google Maps

The OXPOINTS project

Conclusions Google Maps overview

Google Earth and Google Maps

Sebastian Rahtz Google Maps displays world-wide maps with optional Basics overlay. You can: Google Earth and for a place by name, postcode etc, and jump Maps there How to make use of Earth and Maps get directions from one place to another KML, the find businesses or facilities in your area language for Google Earth and Google create and save personalized maps Maps Web-based free service at http://maps.google.co.uk. Programming Google Maps

The OXPOINTS project

Conclusions Demo

Google Earth and Google Maps

Sebastian Rahtz

Basics

Google Earth and Google (search for OX2 6NN) Maps (parking near Oxford) How to make use of Earth (directions to Buckingham Palace) and Maps (Satellite and hybrid views) KML, the language for Google Earth and Google Maps

Programming Google Maps

The OXPOINTS project

Conclusions How to make use of Earth and Maps

Google Earth and Google Maps

Sebastian Rahtz In increasing order of difficulty: Basics Just look at things Google Earth and Google Take advantage of 3rd-party mashups Maps

How to make Create your own maps in Maps use of Earth and Maps Create your own layers in Earth

KML, the language for Embed Maps in your own web page Google Earth and Google Generate your own KML for Earth or Maps Maps

Programming Draw maps in your web page using Maps API Google Maps

The OXPOINTS project

Conclusions Existing content

Google Earth and Google Maps

Sebastian Rahtz

Basics Look at Google Earth and Google (user-contributed photos; visit Rome, Isola Maps Tiberina) How to make use of Earth Wikipedia (links to Wikipedia) and Maps

KML, the Places of interest language for Google Earth Tours (eg Nelson’s Column) and Google Maps

Programming Google Maps

The OXPOINTS project

Conclusions mashups

Google Earth and Google Maps Far too many to mention, but let’s look at: Sebastian Rahtz GMaps Pedometer: Basics http://www.gmap-pedometer.com/ Google Earth and Google http://www.antweb.org/google_earth.jsp: Maps AntWeb (load How to make use of Earth http://www.antweb.org/AntWebImages.kmz) and Maps Oxford bus timetables KML, the language for Google Earth 3D buildings (White House) and Google Maps Maps Mashup catalogue: Programming http://googlemapsmania.blogspot.com/ Google Maps

The Earth blog: http://gearthblog.com/index.html OXPOINTS project

Conclusions Adding objects in Google Earth

Google Earth and Google Maps

Sebastian Rahtz

Basics Google Earth You can: and Google Maps place a marker How to make use of Earth draw a polygon (coloured and opaque, as needed) and Maps KML, the draw a path language for Google Earth add an image overlay and Google Maps put in a description Programming Google Maps and save the result. The OXPOINTS project

Conclusions Creating a map in Google Maps

Google Earth You need a to take advantage of this: and Google Maps Click My Maps Sebastian Rahtz Click Create new map. Add a title and description for your map. Basics Decide whether the map should be public or unlisted. Google Earth and Google Public maps are automatically included in Google Maps Maps search. How to make use of Earth Use the icons in the top left corner of the map. These and Maps include: KML, the language for Selection tool. Use this to drag the map and select Google Earth placemarks, lines and shapes. and Google Maps Placemark tool. Use this to add placemarks. Programming Line tool. Use this to draw lines. Google Maps Shape tool. Use this to draw shapes. The OXPOINTS You can return to your map at any time. Just go to Google project Maps and click My Maps. Sign in to your Google Account Conclusions and select the map from your list of maps. Embed a Google Map in your web page

Google Earth and Google Maps Sebastian go to Google Maps and find what you want Rahtz select Link to this page Basics

Google Earth and Google Maps

How to make use of Earth and Maps

KML, the language for Google Earth and Google Maps

Programming Google Maps

The paste generated HTML into your web page code OXPOINTS project

Conclusions KML, the language for Google Earth and Google Maps

Google Earth and Google Maps

Sebastian Rahtz

Basics KML is an XML vocabulary Google Earth KML can also be gzip compresssed and delivered with and Google Maps a .kmz extension How to make use of Earth You can load a KML file in Maps by putting the URL in and Maps the search box KML, the language for You can open KML files from within Earth Google Earth and Google Maps Earth saves ‘My places’ in KML format

Programming Google Maps

The OXPOINTS project

Conclusions What you must provide in KML

Google Earth and Google Maps

Sebastian Rahtz A root element Basics A element, with an optional Google Earth and Google At least one element, with Maps an @ attribute uniquely identifying it How to make use of Earth a and Maps an optional in which you can put KML, the (escaped) HTML code language for Google Earth at least a , with and Google Maps You must have some way of getting the latitude and Programming Google Maps longitude to put in The OXPOINTS project

Conclusions How to get latitude and longitude

Google Earth and Google Maps

Sebastian Rahtz

Basics

Google Earth create map in Maps or Earth and examine what it and Google Maps produces How to make go out and measure them with a GPS use of Earth and Maps find them in Wikipedia KML, the language for measure them from an atlas Google Earth and Google Maps

Programming Google Maps

The OXPOINTS project

Conclusions Minimal Example

Google Earth and Google Maps

Sebastian Rahtz Basics My first KML Google Earth and Google Maps A name An interesting How to make use of Earth place and Maps -1.253042221069336,51.75278555467572 KML, the language for Google Earth and Google Maps Programming Google Maps

The OXPOINTS project

Conclusions Example with hierarchy of places

Google Earth and Google Maps Sebastian Rahtz Oxford University Basics All Souls College Google Earth and Google Maps All Souls College: Lodge How to make use of Earth and Maps http://www.all-souls.ox.ac.uk

]]> KML, the language for Google Earth -1.253042221069336,51.75278555467572 and Google Maps Programming Google Maps The OXPOINTS project

Conclusions Other things you can do in KML

Google Earth and Google Maps

Sebastian Rahtz

Basics Google Earth set different markers and Google Maps draw lines and polyons How to make use of Earth set the viewpoint and Maps

KML, the add overlays language for Google Earth and Google Maps

Programming Google Maps

The OXPOINTS project

Conclusions All Souls again, with special marker

Google Earth and Google Maps

Sebastian Rahtz Oxford University Basics Google Earth All Souls College and Google Maps All Souls College: Lodge How to make A nice old use of Earth pile and Maps #college_n_stylemap KML, the language for -1.253042221069336,51.75278555467572 Google Earth and Google Maps Programming Google Maps The OXPOINTS project

Conclusions Defining KML stylemaps

Google Earth and Google Maps KML, the language for Google Earth normal and Google #college_normalState Maps Programming Google Maps highlight The #college_n_highlightState OXPOINTS project Conclusions Example of line

Google Earth and Google Maps Sebastian Rahtz A nice road 1 Basics #lineStyle Google Earth and Google Maps -1.266010,51.776118,77.200000 -1.266010,51.776097,73.500000 How to make use of Earth -1.265967,51.776103,72.600000 and Maps -1.266090,51.776507,70.500000 -1.266295,51.776890,70.300000 KML, the language for -1.266352,51.776970,69.000000 Google Earth -1.266548,51.777260,68.100000 and Google -1.266865,51.777762,65.200000 Maps -1.266962,51.777867,63.100000 Programming -1.267097,51.778107,62.200000 Google Maps -1.267180,51.778210,62.300000 The OXPOINTS project Conclusions Example of embedded HTML

Google Earth and Google Maps

Sebastian Rahtz Oxford University Basics Google Earth All Souls College and Google Maps All Souls College: Lodge How to make and Maps KML, the language for -1.253042221069336,51.75278555467572 Google Earth and Google Maps Programming Google Maps The OXPOINTS project

Conclusions How to create KML

Google Earth and Google Maps

Sebastian Rahtz

Basics Create objects in Google Earth or Maps and save result Google Earth and Google Write it from scratch Maps Generate by transforming some other data source. eg How to make use of Earth http://maps.google.co.uk/?q=http: and Maps //www.oucs.ox.ac.uk/oxcri/conted/ KML, the language for archaeology.kml: Map of Continuing Education Google Earth and Google courses Maps

Programming Google Maps

The OXPOINTS project

Conclusions KML in Google Maps

Google Earth and Google Maps

Sebastian Rahtz

Basics

Google Earth and Google Maps

How to make use of Earth and Maps

KML, the language for Google Earth and Google Maps

Programming Google Maps

The http://maps.google.com/?q=http://www.oucs. OXPOINTS project ox.ac.uk/cgi-bin/oxpoints.cgi?type=college

Conclusions KML in Google Earth

Google Earth and Google Maps

Sebastian Rahtz

Basics

Google Earth and Google Maps

How to make use of Earth and Maps

KML, the language for Google Earth and Google Maps

Programming Google Maps

The OXPOINTS project

Conclusions Limitations of KML

Google Earth and Google Maps

Sebastian Rahtz

Basics

Google Earth and Google Google Maps doesn’t support all of KML Maps Google Earth does, but isn’t the web How to make use of Earth and Maps You cannot link with the rest of a web page

KML, the language for So what’s the alternative? Google Earth and Google Maps

Programming Google Maps

The OXPOINTS project

Conclusions Programming Google Maps

Google Earth and Google You can embed a Google Map in a web page and Maps manipulate it as you like, using JavaScript: Sebastian Rahtz get an API key from Google

Basics load the Maps code, using your API Google Earth Conclusions Programming Google Maps (2)

Google Earth and Google Maps

Sebastian Rahtz

Basics

Google Earth When the page starts, initialize the map: and Google Maps ...

How to make use of Earth Create a placeholder

for the map and Maps
Google Earth and Google Maps

Programming Google Maps

The OXPOINTS project

Conclusions Simple example with marker

Google Earth and Google Maps Sebastian Programming Google Maps

OXPOINTS project Conclusions Embedded maps

Google Earth and Google Maps

Sebastian Rahtz

Basics

Google Earth and Google Maps

How to make use of Earth and Maps

KML, the language for Google Earth and Google Maps

Programming Google Maps

The OXPOINTS project

Conclusions Embedded maps: live!

Google Earth and Google Maps

Sebastian Rahtz

Basics

Google Earth and Google Maps

How to make use of Earth and Maps

KML, the language for Google Earth and Google Maps

Programming Google Maps

The http://www.ox.ac.uk/colleges/map_of_the_ OXPOINTS project colleges_and_halls/

Conclusions Embedded maps: live! (2)

Google Earth and Google Maps

Sebastian Rahtz

Basics

Google Earth and Google Maps

How to make use of Earth and Maps

KML, the language for Google Earth and Google Maps

Programming Google Maps

The OXPOINTS project http://www.ox.ac.uk/international/oxford_ Conclusions around_the_globe/ Embedded maps: with sidebar

Google Earth and Google Maps

Sebastian Rahtz

Basics

Google Earth and Google Maps

How to make use of Earth and Maps

KML, the language for Google Earth and Google Maps

Programming Google Maps

The OXPOINTS project

Conclusions The OXPOINTS project

Google Earth and Google Maps

Sebastian Rahtz

Basics We have latitude and longitude for all the colleges, Google Earth departments, units of the University that we know about. and Google Maps . . . this is a flexible concept. . . How to make use of Earth Buildings owned by the University? and Maps

KML, the Buildings used for University business? language for Google Earth Merton owns the Post Office building... and Google Maps

Programming Google Maps

The OXPOINTS project

Conclusions How did we gather our data?

Google Earth and Google Maps

Sebastian Rahtz We started with the OUCS unit data to provide the skeleton;

Basics then we added: Google Earth a lot of points gathered by ITSS from each unit clicking and Google Maps on Google Maps and noting the coordinates How to make use of Earth another slew of missing ones we added ourselves and Maps

KML, the a set of real-world data collected by walking around language for Google Earth with a GPS and Google Maps We picked up photographs of colleges through Wikipedia Programming (choosing ones with appropriate licences). Google Maps

The OXPOINTS project

Conclusions Data storage

Google Earth We’re using XML (according to the Text Encoding Initiative and Google schema) to model places (colleges or units) which can Maps contain other places (buildings). These have locations Sebastian Rahtz which include coordinates. Basics Google Earth and Google address Maps < > Oxford How to make OX1 4JD use of Earth and Maps KML, the language for Google Earth and Google Maps Programming Google Maps The OXPOINTS project -1.252216100692749 51.75129113668488 Conclusions recorded by Sebastian Rahtz

Not purely geographical — political too... OxWorld: going wider

Google Earth and Google We also have data about where Oxford’s alumni around the Maps world are based. Sebastian Rahtz Mongolia Basics Google Earth

1 student.4 alumni.

and Google Maps How to make Ulaanbaatar use of Earth and Maps 106.9118992307133 47.90379440483494 KML, the language for place Google Earth and Google Maps Programming 103.075260454048 46.8279818924065 Google Maps The OXPOINTS project

Conclusions Conclusions

Google Earth and Google Maps

Sebastian Rahtz

Basics Google Earth and Google Maps are an amazing resource Google Earth and Google Maps they are free at the moment How to make it is easy to create your own views use of Earth and Maps you can add your own data KML, the language for Go forth and create masterpieces of the mapping art. . . Google Earth and Google Maps

Programming Google Maps

The OXPOINTS project

Conclusions Resources

Google Earth and Google http://www.openstreetmap.org/: Open Maps Streetmap Sebastian Rahtz http://maps.live.com/: Microsoft Live Search Maps Basics http://www.multimap.com/maps: Multimap Google Earth and Google http://maps.yahoo.com: Yahoo Maps Maps http://earth.google.com/ How to make : Google Earth home use of Earth http://earth.google.com/userguide/v4/: and Maps

KML, the Google Earth User Guide language for http://earth.google.com/gallery/ Google Earth : Google and Google Maps Earth gallery of applications

Programming http://code.google.com/apis/kml/ Google Maps documentation/: KML documentation The OXPOINTS http://maps.google.com/: Google Maps home project http://www.oucs.ox.ac.uk/oxpoints/: Conclusions OXPOINTS http://www.google.com/apis/maps/ documentation/examples/index.html: Google Maps API http://googlemapsmania.blogspot.com/: Maps Mashup catalogue http://gearthblog.com/index.html: Google Earth blog http://code.google.com/transit/spec/ transit_feed_specification.htm: Google Feed http://googleblog.blogspot.com/2007/01/ super-models-wanted.html: 3D buildings