Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Hacking up location aware apps

1,395 views

Published on

Published in: Technology, Sports
  • Be the first to comment

  • Be the first to like this

Hacking up location aware apps

  1. 1. Hacking uplocation aware apps@pradeepbvhttp://slideshare.net/pradeepbv
  2. 2. Where?http://www.flickr.com/photos/saveoursmile/5849236335/
  3. 3. What’s around?
  4. 4. http://www.flickr.com/photos/joeshlabotnik/422697043/
  5. 5. http://www.flickr.com/photos/anonymouscollective/1899303123/
  6. 6. Oldest known map Imago Mundi Babylonian map, the oldest known world map, 6th century BCE Babylonia.http://en.wikipedia.org/wiki/Early_world_maps
  7. 7. World map as of 2011http://en.wikipedia.org/wiki/World_map
  8. 8. Beyond maps…http://en.wikipedia.org/wiki/Early_world_maps
  9. 9. Typical questions..• Where?• Here?• Around?• Meta?• Who?• When?
  10. 10. Current Locationwww.flickr.com/photos/mukumbura/4092900623/
  11. 11. Current Location• Ask• Sniff• Infer
  12. 12. Ask the user
  13. 13. Ask the browserhttp://isithackday.com/hacks/geo/js-location.html
  14. 14. Ask the browserhttp://blog.ganeshzone.net/index.php/2011/05/geolocation-api-with-html5/
  15. 15. Ask the browserhttp://foursquare.com
  16. 16. W3C geolocation API navigator.geolocation.getCurrentPosition(function(position) { console.log( Your Coordinates are ’ + position.coords.latitude +&’+ position.coords.longitude ); }http://dev.w3.org/geo/api/spec-source.html
  17. 17. Sniffhttp://sulekha.comhttp://asklaila.com
  18. 18. IP Sniffinghttp://isithackday.com/hacks/geo/js-location.html
  19. 19. IP Sniffing <script type="text/javascript" src="http://j.maxmind.com/app/geoip.js"></script> • geoip_latitude • geoip_longitude • geoip_city • geoip_region • geoip_region_name • geoip_postal_code • geoip_country_code • geoip_country_namehttp://www.maxmind.com/
  20. 20. Infer
  21. 21. Infer
  22. 22. QueryWikipedia
  23. 23. Why go around when you have…
  24. 24. GeoCoding select * from geo.placefinder where text="iit kharagpur"
  25. 25. Reverse GeoCoding select * from geo.placefinder where text="12.9456651, 77.6472844" and gflags="R"
  26. 26. Yahoo! GeoPlanet™ http://where.yahooa pis.com/v1/places.q( howrah+bridge’)
  27. 27. Yahoo! GeoPlanet™ • geo.places.ancestors • geo.places.belongtos • geo.places.children • geo.places.common • geo.places.descendants • geo.places.neighbors • geo.places.parent • geo.places.siblingshttp://developer.yahoo.com/geo/geoplanet/
  28. 28. GeoPlanet Explorerhttp://isithackday.com/geoplanet-explorer/
  29. 29. SELECT * FROM geo.placemaker WHEREdocumentContent = "While Deepika is fromBangalore, Bipasha is fromKolkata they predominantly act in movies made in Mumbai" ANDdocumentType="text/plain "
  30. 30. SELECT * FROM geo.placemakerWHERE documentURL ="www.telegraphindia.com/1120323/jsp/calcutta/index.jsp" ANDdocumentType="text/ html"
  31. 31. Putting it all togetherDemo: http://icant.co.uk/geomaker/index.phpCode: https://github.com/codepo8/GeoMaker
  32. 32. Interesting hacks• http://trendsmap.com/local/india
  33. 33. http://christianheilmann.com/2009/07/14/rss2map-a- placemakeryahoo-maps-mashup/
  34. 34. Awesome Apps
  35. 35. Awesome Apps
  36. 36. Augmented Reality Metro AR Wikitude Layarhttp://www.businessinsider.com/best-augmented-reality-apps-for-iphone-and-ios-2011-3?op=1
  37. 37. Useful resources• http://developer.yahoo.com/geo/• http://isithackday.com/hacks/geo/• http://isithackday.com/geoplanet-explorer/• http://developer.yahoo.com/geo/geoplanet/d ata/
  38. 38. Awesome AppsQuestions?

×