Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
Location on the Web
Making Web Applications Location-aware
Ryan

• Director of Consumer Products at Skyhook
  Wireless
• Founded Locationaware.org which
  eventually became W3C Geol...
Seth


• Engineering lead for Fire Eagle at Yahoo!
• Developer evangelist
practical tools and code to
allow you to add location to
your web application today
location = context
higher
context =
          relevancy
higher
location =
           relevancy
location is relative
the world isn’t only points




        ... what constitutes a place?
WOEIDs
GeoPlanet
http://developer.yahoo.com/geo
Location Technologies
sensed vs. declared
 active vs. passive
sensed location
Three primary methods
1. IP Geolocation
2. Triangulation
  • GPS
  • Wi-Fi
  • Cell Tower

3. Declarative - just ask
IP Geolocation
Pros
 • Widely available
 • Detection happens server-side
Cons
 • Only accurate to the city-level
 • Only i...
IP Geolocation
Vendors

 • MaxMind - http://www.maxmind.com
  • Has a free database - GeoLite City
 • Quova - http://www.q...
Wi-Fi Positioning (WPS)
Pros
 • Accurate
 • Works indoors and in Urban Areas
 • Quick Time to First Fix
 • Software-only, ...
so, why should I use it?
considerations
privacy
precision
browser-based
(active) location
W3C Geolocation API
coalition of the willing
state of the union



http://www.flickr.com/photos/xrrr/2478140383/
• W3C Geolocation API support
  natively in Firefox 3.5




• Opera Labs release with W3C
  Geolocation API support



• S...
• Cross-platform, cross-browser plugin for
  adding geolocation to any website
• Locate a user down to their exact street
...
Tips for browser-
  based Geolocation
• Plan for asynchronous call - show status
  to user
• Request location on page load...
... shut up and get to the code
Simple Example
Plotting location on a
         map
Store Finder w/ Local
  Business Search
Position &
          Coordinates Objects
interface Position {
     readonly attribute Coordinates coords;
     readonly at...
PositionError Object
interface PositionError {
     const unsigned short UNKNOWN_ERROR = 0;
     const unsigned short PERM...
brokered (passive)
     location
• Location broker
• Ecosystem
• APIs for updating and querying (REST and
  XMPP)
• http://fireeagle.yahoo.net/developer
• <...
Tips for broker-based
     Geolocation
• Location is barely current--find ways to
  reduce latency
• Share--back to Fire Ea...
... shut up and get to the code
Querying a user’s
    location
Updating a user’s
   location
Receiving a user’s
location (real-time)
WhereCamp
     SocialText Office
     Palo Alto
     Friday and Saturday
     wherecamp.org
Questions?
coalition of the willing
Nächste SlideShare
Wird geladen in …5
×
15.881 Aufrufe

Veröffentlicht am

coalition of the willing

Veröffentlicht in: Technologie

×