Your SlideShare is downloading. ×
Social Geolocation using Yahoo Blueprint
Social Geolocation using Yahoo Blueprint
Social Geolocation using Yahoo Blueprint
Social Geolocation using Yahoo Blueprint
Social Geolocation using Yahoo Blueprint
Social Geolocation using Yahoo Blueprint
Social Geolocation using Yahoo Blueprint
Social Geolocation using Yahoo Blueprint
Social Geolocation using Yahoo Blueprint
Social Geolocation using Yahoo Blueprint
Social Geolocation using Yahoo Blueprint
Social Geolocation using Yahoo Blueprint
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Social Geolocation using Yahoo Blueprint

1,016

Published on

Presentation material on using Yahoo Blueprint GEO headers to detect user's location and benefit it for social networking. …

Presentation material on using Yahoo Blueprint GEO headers to detect user's location and benefit it for social networking.

Sample uses http://www.bola.mobi website, a niche soccer website for Indonesia Soccer League fans.

Published in: Technology, News & Politics
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,016
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
29
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Hacking
  • 2. Introducing BOLA.MOBILE  A mobile apps, create using Yahoo Blueprint technology  Targeting a very specific and niche market, the Indonesian Soccer League
  • 3. Mini Social Networking We have this cute mini social networking, grouped by League Clubs
  • 4. The problem!  But who the hell wanted they buddies to be alphabetically ordered Ordered by A to Z? Really uncool!
  • 5. Thank Goodness I Use YAHOO BLUEPRINT!
  • 6. BP Headers  [HTTP_GEO_COUNTRY] => ID  [HTTP_GEO_POSITION] => -6.18287, 106.829109  [HTTP_X_CARRIER] => UNKNOWN; country=ID  [HTTP_X_GEO_LOCATION] => name=; street=; city=Jakarta; state=; country=ID; zip= Geolocation data for Indonesia is sucky but Yahoo will make it better through FireEagle and Koprol. Trust me.
  • 7. getDistance Between Two Coordinates – MySQL Function CREATE FUNCTION `getDistance`( lat1 DECIMAL(23,20), lon1 DECIMAL(23,20), lat2 DECIMAL(23,20), lon2 DECIMAL(23,20) ) RETURNS decimal(15,5) BEGIN SET @R = 6371; SET @dLat = RADIANS(lat2 - lat1); SET @dLon = RADIANS(lon2 - lon1); SET @a = POW( SIN(@dLat/2), 2 ) + ( COS( RADIANS(lat1) ) * COS( RADIANS(lat2) ) * POW( SIN(@dLon/2), 2 )); SET @c = 2 * ATAN2( SQRT(@a), SQRT(1 - @a) ); SET @d = @R * @c; RETURN @d; END
  • 8. Everytime the user logged in  We update the user’s location and coordinates  [HTTP_GEO_POSITION] => -6.18287, 106.829109  [HTTP_X_GEO_LOCATION] => name=; street=; city=Jakarta; state=; country=ID; zip=
  • 9. Results!  Look for my buddies really close to me, and then look for the ones who logged in recently Ordered by Distance from where I am. REALLY COOL!
  • 10. http://www.bola.mobi
  • 11. Ideas for Yahoo  Complete the geolocation streets for Indonesia  Activate FireEagle. Geolocation is the next Web 4.0 

×