68
Wie, wo, wer und was? Geolocation im Web Chris&an Heilmann WebTechCon, Mainz, Germany, October 2010

Wie, wo, wer, was- Geolocation im Web - webtechcon2010

  • View
    2.751

  • Download
    1

Embed Size (px)

DESCRIPTION

Vortrag auf der WebTechCon wie man mit Geo Technologie den Ort von Webseitenbesuchern herausfindet und wie man geographische Inhalte in Webseiten findet.

Citation preview

Page 1: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Wie, wo, wer und was? Geolocation im Web

Chris&an HeilmannWebTechCon, Mainz, Germany, October 2010

Page 2: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Unsere Nutzer sind mehr und mehr mobil.

Page 3: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Geographische Inhalte

> Generelle Inhalte

Page 4: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Wo gehts denn hier zum Bahnhof?

Page 5: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Was gibt es in der Umgebung meines Hotels?

Page 6: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Wo kann man hier aufs Klo?

Page 7: Wie, wo, wer, was- Geolocation im Web - webtechcon2010
Page 8: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Laptop + Handy + Internet kann alles das beantworten.

Page 9: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Geo Probleme die wir loesen wollen.

Page 10: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Besucher finden.

Page 11: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Ein Weg ist IP sniffing.

Page 12: Wie, wo, wer, was- Geolocation im Web - webtechcon2010
Page 14: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Ein Problem ist, das die IP weit weg sein kann.

Page 15: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Ausserdem kann ich meine IP aendern.

Page 16: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

W3C Geo API > IP!

Page 17: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Firefox/(Mobile) Safari/Chrome

Page 18: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

W3C API = Ort, und Ortsaenderungen.

Page 19: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Vorsicht Falle: Handy Batterie!

Page 20: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Soziale Netzwerke.

Page 21: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Plazes, FireEagle, Twitter, Yahoo, Flickr, Foursquare, Gowalla, Brightkite, Google Buzz/Latitude, Dopplr, Facebook...

Page 22: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Wichtig: Zeit und Update Frequenz.

Page 23: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Latitude, Longitude

34.0017, -84.4710

Page 24: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Marietta, Georgia, USA

Page 25: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Reverse Geocoding

Page 27: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Mittels YQL:

select * from flickr.places wherelat=51.5142271 and lon=-0.1289602

Page 28: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Mehr Information mittels YQL und Yahoo GeoPlanet:

select * from geo.places where woeid in ( select place.woeid from flickr.places where lat=51.5142271 and lon=-0.1289602)

Page 29: Wie, wo, wer, was- Geolocation im Web - webtechcon2010
Page 30: Wie, wo, wer, was- Geolocation im Web - webtechcon2010
Page 32: Wie, wo, wer, was- Geolocation im Web - webtechcon2010
Page 33: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

WOEID = Definition

Page 34: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Wo kommst denn du her?

Page 35: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Geographische Hierarchien.

h=p://developer.yahoo.com/geo/

Page 36: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

GeoPlanet hat Hierarchien:

Parent, Ancestors, Children, Siblings, Neigbours, BelongTos.

Page 39: Wie, wo, wer, was- Geolocation im Web - webtechcon2010
Page 40: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Mit diesem Beispiel bekommen wir eine Menge Inhalte.

http://isithackday.com/hacks/geo/geotest.php

Page 41: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Marietta, Georgia, USA

Worte zu Orte?

Page 42: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Uebersetzung gesucht.

Page 43: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

h=p://developer.yahoo.com/geo/placemaker/

Page 44: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Placemaker findet Orte in Texten, Web Adressen und RSS.

Page 45: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

select * from geo.placemaker where documentContent = "Hey I am in Atlanta! I came here from London and will travel onwards to Las Vegas and Sao Paulo" and documentType="text/plain"

Page 46: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

select * from geo.placemaker where documentURL ="h=p://icant.co.uk" and documentType="text/html" and appid=""

select * from geo.placemaker where documentURL ="h=p://newsrss.bbc.co.uk/rss/newsonline_uk_edi&on/front_page/rss.xml"and documentType="text/rss" and appid=""

Page 47: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Placemaker versteht verschiedene Sprachen.

Page 48: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Mainz

Mayence

Page 49: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Placemaker erkennt auch Namen als “falsche Orte”

Page 50: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Paris Hilton

Jack London

Page 51: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Orte und Referenzen kommen als Ergebnisse zurueck.

Page 52: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Am einfachsten ist es, GeoMaker auszuprobieren.

http://github.com/codepo8/geomaker

Page 54: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Geonames IDISOFIPSINSEEJGDCIATAICAOWOEID

Page 55: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Concordance

Page 57: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Geo Daten anzeigen.

Page 58: Wie, wo, wer, was- Geolocation im Web - webtechcon2010
Page 59: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Statische Karten.

Page 60: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

<img src=”http://maps.google.com/maps/api/staticmap?sensor=false&size=200x200&maptype=roadmap&key=YOUR_MAP_KEY&markers=color:blue|label:1|37.4447,-122.161&markers=color:blue|label:2|37.3385,-121.886&markers=color:blue|label:3|37.3716,-122.038&markers=color:blue|label:4|37.7792,-122.42” alt=””>

Page 61: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

YQL + Yahoo Maps

Page 62: Wie, wo, wer, was- Geolocation im Web - webtechcon2010
Page 63: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Mehrere Karten verwenden?

Page 65: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

All together now...

http://isithackday.com/hacks/geo/yql-geo-library/

Page 67: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

http://isithackday.com/hacks/geo/addmap.html

Page 68: Wie, wo, wer, was- Geolocation im Web - webtechcon2010

Christian Heilmann http://wait-till-i.com http://developer-evangelism.com http://twitter.com/codepo8

Thanks!