From 655428b00e4a5a3f8c9b1d01f9689259dc96a83c Mon Sep 17 00:00:00 2001
From: tomayac
+ This document provides a collection of use cases and usage scenarios for
+ web pages and applications using Geolocation.
+
+ This document provides informative background to the
+ Geolocation Sensor specification.
+ Comments on the document should be filed as issues at
+ https://github.com/w3c/geolocation-sensor/issues.
+
+ Use cases can roughly be grouped in four categories:
+
+ Core constraints when obtaining gelocation are accuracy
+ (how close to the actual position of the user is the determined position) and
+ latency (how long does the user want to wait for a result).
+ Both are tradeoffs: one can trade faster results for lower accuracy and vice versa.
+ A common theme is to first obtain a rough estimation that then gets refined,
+ for example based initially on surrounding WiFi signals (which is fast to obtain)
+ and then eventually based on precise GPS data (which may take some time to find a signal).
+
+ In the following, we list use cases based on the previously defined categories.
+
+ Someone visiting a foreign city could access a web application that
+ allows users to search or browse through a database of tourist
+ attractions. Using the Geolocation Sensor API, the web application has access to
+ the user's approximate position and it is therefore able to rank the
+ search results by proximity to the user's location.
+
+ A widget-like web application that shows the weather or news that are
+ relevant to the user's current area can use the Geolocation Sensor API to
+ register for location updates. If the user's position changes, the widget
+ can adapt the content accordingly.
+
+ A tour-guide web application can use the Geolocation Sensor API to monitor the
+ user's position and trigger visual or audio notifications when interesting
+ places are in the vicinity. An online task management system can trigger
+ reminders when the user is in the proximity of landmarks that are
+ associated with certain tasks.
+
+ A user finds themselves in an unfamiliar city area. They want to check their
+ position so they use their handheld device to navigate to a web-based
+ mapping application that can pinpoint their exact location on the city map
+ using the Geolocation Sensor API. They then ask the web application to provide
+ driving directions from their current position to their desired destination.
+
+ A mapping application can help the user navigate along a route by
+ providing detailed turn-by-turn directions. The application does this by
+ registering with the Geolocation Sensor API to receive repeated location updates
+ of the user's position. These updates are delivered as soon as the
+ implementing user agent determines that the position of the user has
+ changed, which allows the application to anticipate any changes of
+ direction that the user might need to do.
+ The application can be in the foreground, but likewise can be backgrounded,
+ for example, when the user turns their device off to save battery
+ on a long highway route section without side roads.
+
+ A web application can track a user's sports activity, for example,
+ a marathon run or a bicycle race. Therefore, the application does not
+ need to be on the screen, but would be backgrounded while the user
+ performs their activity, maybe with their handheld device strapped to their arm.
+
+ A group of friends is hiking through the Scottish highlands. Some of
+ them write short notes and take pictures at various points throughout the
+ journey and store them using a web application that can work offline on
+ their handheld devices. Whenever they add new content, the application
+ automatically tags it with location data from the Geolocation Sensor API (which,
+ in turn, uses the on-board GPS device). Every time they reach a town or a
+ village, and they are again within network coverage, the application
+ automatically uploads their notes and pictures to a popular blogging website,
+ which uses the geolocation data to construct links that point to a
+ mapping service. Users who follow the group's trip can click on these
+ links to see a satellite view of the area where the notes were written and
+ the pictures were taken. Another example is a life blog where a user
+ creates content (e.g., images, video, audio) that records their every day
+ experiences. This content can be automatically annotated with information
+ such as time, geographic position or even the user's emotional state at
+ the time of the recording.
+
+ A web application on a handheld device can notify a user of interesting
+ available properties in a neighborhood they are passing by where the property
+ fits the user's previously specified search criteria, for example,
+ 3 bedroom apartments with balcony.
+
+ Given their previous consent, a user with a retailer's web application
+ installed on their handheld device can be alerted about special offers
+ or location-based coupons when they are in vicinity of a physical presence of the retailer.
+ Further, the in-store experience can be enriched, for example, the
+ retailer can let the user know something they have looked at before
+ is actually available for pick up nearby.
+
+ Reminder and to-do web applications can use a geofence to remind the
+ user to do something when they cross it, for example, to buy milk
+ when they are near the supermarket.
+
+ Travel applications can show venue specific data like WiFi passwords,
+ the user's booking confirmation etc. only within geofence boundaries.
+
+ Ticketing or booking applications can bring up a ticket notification with a QR
+ or bar code once the user is near the venue of a concert or sports event
+ or when they reach their rental car counter or similar.
+
+ Users can be informed if their designated driver reaches a pre-defined pickup point.
+
This document provides a collection of use cases and usage scenarios for
- web pages and applications using Geolocation.
+ web pages and applications that rely on Geolocation Sensor data.
Terminology
+
+ Use Cases
+
+ Acknowledgments
+
+ Terminology
-
+
+
+
+
+
+
+ Use Cases
-
+ Foreground—One-off geolocation update
+
+
+
+ Find points of interest in the user's area
+ Foreground—Continuous geolocation updates
+
+ Up-to-date local information
+
+ Alerts when points of interest are in the user's vicinity
+
+ Show the user's position on a map
+
+ Background—Continuous geolocation updates
+
+ Turn-by-turn route navigation
+
+ Tracking sports activity
+
+ Annotating content with location information
+
+ Real estate search
+ Background—One-off geolocation fence alert
+
+ Retail special offers
+ Reminder and to-do applications
+ Travel applications
+ Ticketing or booking confirmations
+ Ride share applications
+ Acknowledgments
From 87f31c1ca1c50177902cc4c3e0d01e4d05d99740 Mon Sep 17 00:00:00 2001
From: tomayac
- Use cases can roughly be grouped in four categories: + The mentioned use cases can roughly be grouped into four categories:
- Core constraints when obtaining gelocation are accuracy + Core constraints when obtaining the gelocation are accuracy (how close to the actual position of the user is the determined position) and latency (how long does the user want to wait for a result). Both are tradeoffs: one can trade faster results for lower accuracy and vice versa. - A common theme is to first obtain a rough estimation that then gets refined, +
++ A common theme is to first obtain a rough estimation that then gets refined over time, for example based initially on surrounding WiFi signals (which is fast to obtain) and then eventually based on precise GPS data (which may take some time to find a signal).
In the following, we list use cases based on the previously defined categories. + We note that the categories are not mutually exclusive and that overlaps exist. + A task might start in the foreground, then continue in the background + (for example, while the user quickly responds to an incoming email), and then eventually + terminate in the foreground when the user multitasks back.
-- A tour-guide web application can use the Geolocation Sensor API to monitor the + A tour guide web application can use the Geolocation Sensor API to monitor the user's position and trigger visual or audio notifications when interesting places are in the vicinity. An online task management system can trigger reminders when the user is in the proximity of landmarks that are @@ -154,19 +159,34 @@
- A user finds themselves in an unfamiliar city area. They want to check their + A user finds themselves in an unfamiliar area. They want to check their position so they use their handheld device to navigate to a web-based - mapping application that can pinpoint their exact location on the city map + mapping application that can pinpoint their exact location on the map using the Geolocation Sensor API. They then ask the web application to provide - driving directions from their current position to their desired destination. + driving directions from their current position to their desired destination, + essentially responding to the question "Where am I going?".
@@ -195,56 +215,21 @@
- A group of friends is hiking through the Scottish highlands. Some of - them write short notes and take pictures at various points throughout the - journey and store them using a web application that can work offline on - their handheld devices. Whenever they add new content, the application - automatically tags it with location data from the Geolocation Sensor API (which, - in turn, uses the on-board GPS device). Every time they reach a town or a - village, and they are again within network coverage, the application - automatically uploads their notes and pictures to a popular blogging website, - which uses the geolocation data to construct links that point to a - mapping service. Users who follow the group's trip can click on these - links to see a satellite view of the area where the notes were written and - the pictures were taken. Another example is a life blog where a user - creates content (e.g., images, video, audio) that records their every day - experiences. This content can be automatically annotated with information - such as time, geographic position or even the user's emotional state at - the time of the recording. -
-A web application on a handheld device can notify a user of interesting available properties in a neighborhood they are passing by where the property fits the user's previously specified search criteria, for example, - 3 bedroom apartments with balcony. + 3 bedroom apartments with balcony.
- Given their previous consent, a user with a retailer's web application - installed on their handheld device can be alerted about special offers - or location-based coupons when they are in vicinity of a physical presence of the retailer. - Further, the in-store experience can be enriched, for example, the - retailer can let the user know something they have looked at before - is actually available for pick up nearby. -
-Reminder and to-do web applications can use a geofence to remind the @@ -253,7 +238,7 @@
Travel applications can show venue specific data like WiFi passwords, @@ -261,7 +246,7 @@
Ticketing or booking applications can bring up a ticket notification with a QR @@ -270,18 +255,49 @@
+ Given their previous consent, a user with a retailer's web application + installed on their handheld device can be alerted about special offers + or location-based coupons when they are in vicinity of a physical presence of the retailer. + Further, the in-store experience can be enriched, for example, the + retailer can let the user know something they have looked at before + is actually available for pick up nearby. +
++ The use cases mentioned in this document are partly based on previous work in + [GEOLOCATION]. +