• Save
Where 2.0 2009 - Location on the Web
Upcoming SlideShare
Loading in...5
×
 

Where 2.0 2009 - Location on the Web

on

  • 17,299 views

Slides from Where 2.0 2009 Workshop - Location on the Web ...

Slides from Where 2.0 2009 Workshop - Location on the Web

Location aware websites, applications and devices can provide users with rich social connectivity, useful content, efficient movement around their environment, highly targeted advertising, and more. We will discuss the new W3C Geolocation API, location-aware browsers and other available tools that can add location to websites and applications.

While most devices now have functionality which make location determination possible, understanding these technologies and how they can be deployed into mobile devices and websites can be complicated.

In this session, we will discuss the technical details of the APIs available to help location-enable your websites, and how to deploy them. These tools include the W3C Geolocation API, Mozilla’s Geode, the Loki Plugin, Fire Eagle and Google’s My Location.

Statistics

Views

Total Views
17,299
Views on SlideShare
11,286
Embed Views
6,013

Actions

Likes
30
Downloads
0
Comments
2

25 Embeds 6,013

http://sarver.org 3834
http://locationaware.org 1999
http://www.locationaware.org 53
http://www.goodnews.sarver.org 33
http://www.slideshare.net 19
http://pickupskate.com 16
http://rancity.sarver.org 13
http://lanyrd.com 10
http://blog.wherecamp.org 6
http://translate.googleusercontent.com 5
http://www.pickupskate.com 4
http://sanjesh.sarver.org 3
http://www.cannon-k.sarver.org 2
http://webcache.googleusercontent.com 2
http://dashboard.bloglines.com 2
http://goodnew.sarver.org 2
https://579406576-wave-opensocial.googleusercontent.com 2
http://static.slidesharecdn.com 1
http://64.13.230.15 1
http://mail.pickupskate.com 1
http://64.233.163.132 1
https://blackboard.ohio.edu 1
http://pop.sarver.org 1
http://74.125.155.132 1
http://74.125.77.132 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

12 of 2

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • - who here runs a website? <br /> - who here uses location of some kind on their website? <br /> - mobile? <br />
  • <br />
  • <br />
  • <br />
  • - location is a proxy to lots of metadata - rich demographic data <br /> - context about the physical surroundings of the user <br /> - events they might be at <br /> - nearby POIs <br /> - time of day, weather <br />
  • - the more context you have the more relevant the experience you can delivery <br /> <br />
  • - deliver the most highly relevant experience to your users <br /> - use most accurate location available <br /> <br />
  • (seth) <br /> There’s no single right answer. <br />
  • (seth) <br /> Are Ryan and I in the same place? Yes and no. <br /> <br /> The definition of a place is highly relative. Place names as well. <br />
  • (seth) <br /> Where on Earth ids are one solution. <br />
  • (seth) <br /> GeoPlanet is Yahoo!’s answer to the “what constitutes a place” problem. Places are referred to with unique identifiers and related to one another. It’s just one approach, but it helps. <br />
  • <br />
  • (seth) <br /> Complementary approaches, complementary tools. <br /> Sensed location is device-centric, declared location requires the user’s input. <br /> Active location is a means for determining where a user is when s/he is in front of a computer. <br /> Passive location is a means for determining where a user is when s/he is away from a computer, but has a device that can sense location with them (e.g. SPOT, cell phone). <br />
  • Sensed location is the more obvious approach, and potentially most useful, as it involves less user intervention. However, it is not without problems: sensed locations may be wrong, and, as location is a socially relative construct, may disrupt or offend the user. (e.g. neighborhood boundaries) <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • - relevancy. too much noise, not enough signal <br /> - location is a piece of metadata that can make the entire web more relevant <br /> - better user experience <br /> - geotag photos, share location on social networks, local search, local news <br />
  • - Lets take a store finder as an example <br /> - each dot represents a Dunkin Donuts in Boston <br /> - if you ask a user to tell you where they are, they will say “boston” or “02218” <br /> - using precise location allows you to instantly show them the correct location and start to route them there <br />
  • - seth <br /> 1. privacy <br /> 2. precision <br />
  • (seth) <br /> A user’s location is a facet of their identity; they are sharing it with you (or allowing you to sense it) in exchange for something of value. They trust you. It’s your responsibility to respect your users by not sharing it out, or being explicit about what you intend to do with it once it passes into our hands. <br />
  • (seth) <br /> Precision is one way to protect a user’s location; just request the level of granularity that your application requires rather than always asking for a user’s exact location. You probably don’t need it, and it will give your users a greater sense of safety when using your application. <br />
  • <br />
  • - June 2008 <br /> - standardize the way geolocation is exposed through the browser <br /> <br />
  • - all major vendors are involved <br /> - already getting to draft <br /> - KISS <br />
  • “its all coming together” <br />
  • <br />
  • - instead of waiting for all the browsers, add it now <br /> - cross platform, cross browser <br /> - on MapQuest.com/findme <br />
  • (ryan) <br /> - Here is a video of BrightKite using auto-location <br /> - gives you a feel for how other sites are doing it <br /> (seth) <br /> - imagine brightkite updating while you’re out in the world and sharing it with friends who are online; a single application can take advantage of both active and passive location <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • Fire Eagle is a location broker; alone it does nothing. It is part of a rich ecosystem where applications with access to users’ location can allow them to share it with applications that would like access to location data. Privacy is core: users have control over what applications can do what with their location (and what level they’re allowed to see). <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • <br />
  • - if you are looking to get more involved in geo, there are some great events to attend <br />

Where 2.0 2009 - Location on the Web Where 2.0 2009 - Location on the Web Presentation Transcript

  • Location on the Web Making Web Applications Location-aware
  • Ryan • Director of Consumer Products at Skyhook Wireless • Founded Locationaware.org which eventually became W3C Geolocation API Working Group
  • 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 in the right state 85% of the time • Costly • Produces false positives
  • IP Geolocation Vendors • MaxMind - http://www.maxmind.com • Has a free database - GeoLite City • Quova - http://www.quova.com • IPligence - http://www.ipilgence.com • IP2Location - http://www.ip2location.com
  • Wi-Fi Positioning (WPS) Pros • Accurate • Works indoors and in Urban Areas • Quick Time to First Fix • Software-only, leverages existing Wi-Fi Cons • Doesn’t work well in rural areas
  • 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 • Support in Chrome for Windows and Gears - desktop / Android
  • • Cross-platform, cross-browser plugin for adding geolocation to any website • Locate a user down to their exact street address with a few lines of javascript • http://loki.com/how • </plug>
  • Tips for browser- based Geolocation • Plan for asynchronous call - show status to user • Request location on page load if its available • Fallback to IP if necessary, but message it to user
  • ... 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 attribute DOMTimeStamp timestamp; }; interface Coordinates { readonly attribute double latitude; readonly attribute double longitude; readonly attribute double altitude; readonly attribute double accuracy; readonly attribute double altitudeAccuracy; readonly attribute double heading; readonly attribute double speed; };
  • PositionError Object interface PositionError { const unsigned short UNKNOWN_ERROR = 0; const unsigned short PERMISSION_DENIED = 1; const unsigned short POSITION_UNAVAILABLE = 2; const unsigned short TIMEOUT = 3; readonly unsigned short code; readonly DOMString message; };
  • brokered (passive) location
  • • Location broker • Ecosystem • APIs for updating and querying (REST and XMPP) • http://fireeagle.yahoo.net/developer • </plug>
  • Tips for broker-based Geolocation • Location is barely current--find ways to reduce latency • Share--back to Fire Eagle and with other users • Don’t violate users’ trust--say what you use their location for
  • ... 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?