Download - Get Started with Location Based Services
![Page 1: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/1.jpg)
LOCATION GET STARTED WITH
BASED SERVICES
Jean-Luc David @jldavid yellowapi.com
![Page 2: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/2.jpg)
![Page 3: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/3.jpg)
SERVICES THAT LOCATE YOU.
![Page 4: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/4.jpg)
SERVICES THAT TELL PEOPLE WHERE YOU ARE.
![Page 5: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/5.jpg)
SERVICES THAT PROVIDE CONTEXT.
![Page 6: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/6.jpg)
![Page 7: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/7.jpg)
![Page 8: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/8.jpg)
![Page 9: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/9.jpg)
![Page 10: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/10.jpg)
![Page 11: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/11.jpg)
•Cross-platform development
•Finding quality data
•Places fragmentation
•Monetization
BigChallenges
![Page 12: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/12.jpg)
WIFI TRIANGULATION
![Page 13: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/13.jpg)
GPS TRIANGULATION
![Page 14: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/14.jpg)
CELLULAR TRIANGULATION
![Page 15: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/15.jpg)
@interface AddressAnnotation : NSObject<MKAnnotation> { CLLocationCoordinate2D coordinate; } @end -(id)initWithCoordinate:(CLLocationCoordinate2D) c{ coordinate=c; NSLog(@"%f,%f",c.latitude,c.longitude); return self; } @end
IPHONEGEOLOCATION
![Page 16: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/16.jpg)
LocationManager locationManager = (LocationManager) this.getSystemService(Context.LOCATION_SERVICE);
LocationListener locationListener = new LocationListener() { public void onLocationChanged(Location location) { makeUseOfNewLocation(location); } public void onStatusChanged(String provider, int status, Bundle extras) {} public void onProviderEnabled(String provider) {} public void onProviderDisabled(String provider) {} };
locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locationListener);
ANDROIDGEOLOCATION
![Page 17: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/17.jpg)
if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(success, err);} else { error('not supported');}
HTML5GEOLOCATION
http://www.modernizr.comSupported in Firefox 3.5+, Chrome 5+, Opera 10.6+,
IE9+
![Page 18: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/18.jpg)
introducingIODOCSExploring, learning and testing YellowAPI is easy!
Use your API key, fill in the parameter fields and presto.
![Page 19: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/19.jpg)
HTTP://WWW.YELLOWAPI.COM
![Page 20: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/20.jpg)
•Cross-platform development
•Finding quality data
•Places fragmentation
•Monetization
BigChallenges
![Page 21: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/21.jpg)
UNCURATED DATA
![Page 22: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/22.jpg)
YELLOWAPI
STRAIGHT FROM THE SOURCE2250 SALES PEOPLE GATHERING
DATA700 INTERNAL CURATORS
11+ TELCOS
![Page 23: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/23.jpg)
•Cross-platform development
•Finding quality data
•Places fragmentation
•Monetization
BigChallenges
![Page 24: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/24.jpg)
LOTS OF LOCATION APIs
![Page 25: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/25.jpg)
What - Anything goes! Works best with categories & business names
YELLOWAPIWHAT
![Page 26: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/26.jpg)
Geo search Specific coordinates (lat/long) Ranking is based on proximity Great for LBS!Regional search Province, city, postal code, etc. Ranking is based on relevance within the specified region
WHEREYELLOWAPI
![Page 27: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/27.jpg)
http://api.yellowapi.com/FindBusiness/?what=cars&where=Montreal&fmt=json&
apiKey=<api key>&UID=demoappp
FIND BUSINESS
{summary: {searchType: "si",searchFlags: "",searchOrder: "located",what: "cafe",where: "montreal,qc",firstListing: 1,lastListing: 40,totalListings: 1420,pageCount: 36,currentPage: 1,listingsPerPage: 40,
YELLOWAPI
![Page 28: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/28.jpg)
http://api.yellowapi.com/GetBusinessDetails/?listingId=6418182&prov=-&bus-name=-
&apikey=<key>&UID=demoapp&fmt=json
GET BUSINESS DETAILSYELLOWAPI
id: "6418182",name: "Co-operators The",address: {street: "123 Cooper St",city: "Montreal",prov: "QC",pcode: "H1H 2J3"},merchantUrl: "http://www.yellowpages.ca/bus/Canada/-/6418182.html?ypid="} ...
![Page 29: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/29.jpg)
![Page 30: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/30.jpg)
Merchant ID: 123456
Venue ID: 655254
Places ID: ae1d5a44a565a5
. . .
![Page 31: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/31.jpg)
VENUES/SEARCH APIhttps://developer.foursquare.com/docs/
explore.html#req=venues/search?ll=45.469208,-73.538805&providerId=ypg
&linkedId=6338420
response: {venues: [{
Id: "4b1d1c48f964a520ee0b24e3"name: "Yellow Pages Group"contact: {phone: "5149342611"formattedPhone: "(514) 934-2611"
}location: {address: "16 Place du Commerce"lat: 45.469582lng: -73.539045...
![Page 32: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/32.jpg)
VENUE/LINKS APIhttps://developer.foursquare.com/docs/explore.html#req=venues/4b1d1c48f964a520ee0b24e3/links&v=20110705
response: {links: {
count: 1items: [
{provider: {id: "ypg"
}linkedId: "6338420"url:
"http://www.yellowpages.ca/bus/Quebec/Verdun/Yellow-Pages-Group-Montreal/6338420.html
}]
}}
![Page 33: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/33.jpg)
HTTP://DEVELOPER.FACTUAL.COM
![Page 34: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/34.jpg)
•Cross-platform development
•Finding quality data
•Places fragmentation
•Monetization
BigChallenges
![Page 35: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/35.jpg)
DEVELOPER PROGRAMSUPPORT FOR:
- INCUBATION $$$- DESIGN- DEVELOPMENT
MORE ABOUT THIS AND MORE IN BRAD WING’S TALK AT 2:00 PM IN THIS ROOM!
![Page 36: Get Started with Location Based Services](https://reader033.vdocuments.us/reader033/viewer/2022061205/547103e0b4af9fbe0a8b4a75/html5/thumbnails/36.jpg)
•Cross-platform is facilitatedby right tools & SDKs
•Curated data > Uncurated data
•Look for hubs & harmonization
•Monetize your geolocal apps!
TakeAways
Jean-Luc David @jldavid yellowapi.com