11 ways to locate your users. - options for lbs
DESCRIPTION
TRANSCRIPT
So, where is everybody?
11 ways to locate your users
Martijn Pannevis MobileDevCamp 11-08
Hey, not 11 GOOD ways
11 ways
Real world
Maps
Choices
Tag based
RFID Tags
2D Barcodes
User based
Manual Entry + Geocode
Bookmarks
Let users click maps
Enviroment
Cell based
Cell based
Handset based
Handset based
MNC
LACCELLID
MCC
Cell Database
Cell Network based
WiFi Locating
WiFi Locating
Database needed: Wardriving
WiFi Locating
Database Providers
GPS Device
Connects via Bluetooth
GPS Phone
GPS
Web Scraping / API’s
Web Scraping
In theory there is no difference between theory and practice.In practice there is
// Set criteria for selecting a location provider: // accurate to 500 meters horizontally Criteria cr= new Criteria(); cr.setHorizontalAccuracy(500); //500m LocationProvider lp=LocationProvider.getInstance(cr); // Request the location, setting a one-minute timeout Location l = lp.getLocation(60);Coordinates c = l.getQualifiedCoordinates(); if(c != null ) { // Use coordinate information double lat = c.getLatitude(); double lon = c.getLongitude(); }
JSR 179 (J2ME)
And then…
iPhone!
Maps
Web: Use JS API
Google Static map API
Slippy Maps
Tiles to cover world: For zoom level N0 1
1 2x2
2 4x4
N 22xN
18 68 719 476 736
Slippy Map tiles
Slippy Map tiles
X,Y Zoom 16
Slippy Map tiles
2X,2Y Zoom 17
2X,2Y 2X+1,2Y
2X,2Y+1 2X+1,2Y+1
Route-mehttp://code.google.com/p/route-me/
Slippy Map tiles
Questions ?
•radioflyer007• akaalias • mme •Psychosis•Delphien Experiences • iko •urban penguin •darkmatter •monkeyc.net •Josh Dionne •dsevilla •bitzcelt •güneş in wonderland
•Boris Veldhuijzen van Zanten •KhE 龙 •Orin Optiglot •moriza •TU Delft Library •c@rljones •Sarah Parrott •Mysterious Mimir •fabioperez •powerbooktrance •pchweat •Storm Crypt
Flickr Pictures by:
Other sources
OpenStreetMapGoogle MapsHolux.comTwitterFireeagleFuturistmovies.com Sun.comApple.comAntenneregister.nlNavizonSkyhook
Thanks