SlideShare une entreprise Scribd logo
1  sur  38
Hacking up
location aware apps
Pradeep B V
Developer under construction
Yahoo! Developer Network

http://slideshare.net/pradeepbv


@pradeepbv
Where?



http://www.flickr.com/photos/saveoursmile/5849236335/
What’s around?
http://www.flickr.com/photos/joeshlabotnik/422697043/
http://www.flickr.com/photos/anonymouscollective/1899303123/
Oldest known map




  Imago Mundi Babylonian map, the oldest known world map, 6th century BCE Babylonia.




http://en.wikipedia.org/wiki/Early_world_maps
World map as of 2011




http://en.wikipedia.org/wiki/World_map
Beyond maps…
Typical questions..
•   Where?
•   Here?
•   Around?
•   Meta?
•   Who?
•   When?
Current Location




www.flickr.com/photos/mukumbura/4092900623/
Current Location
• Ask
• Sniff
• Infer
Ask the user
Ask the browser




http://isithackday.com/hacks/geo/js-location.html
Ask the browser
http://blog.ganeshzone.net/index.php/2011/0
5/geolocation-api-with-html5/
Ask the browser




http://foursquare.com
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
Sniff




http://sulekha.com, http://asklaila.com
http://justdial.com
IP Sniffing




http://isithackday.com/hacks/geo/js-location.html
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_name

http://www.maxmind.com/
Infer
Infer
Query




Wikipedia
Why go around when you have…
GeoCoding




                select * from
            geo.placefinder where
              text="iit mumbai"
Reverse GeoCoding


                       select * from
                      geo.placefinder
                          where
                    text="12.9456651,
                       77.6472844"
                      and gflags="R"
Yahoo! GeoPlanet™


             http://where.yahooa
             pis.com/v1/places.q('
             gateway+of+india')?a
             ppid=
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.siblings

http://developer.yahoo.com/geo/geoplanet/
GeoPlanet Explorer




http://isithackday.com/geoplanet-explorer/
SELECT * FROM
 geo.placemaker WHERE
 documentContent = "AR
Rahman received his oscar
award in Los Angeles for a
movie made in Mumbai for
which he composed music
    in Chennai" AND
documentType="text/plain
            "
SELECT * FROM
   geo.placemaker
WHERE documentURL
 = "http://www.mid-
day.com/news/2012/j
 ul/250712-mumbai-
  Talking-a-toll.htm"
         AND
documentType="text/
         html"
Putting it all together




Demo: http://icant.co.uk/geomaker/index.php

Code: https://github.com/codepo8/GeoMaker
Interesting hacks
• http://trendsmap.com/local/in/mumbai
http://christianheilmann.com/2009/07/14/rss2map-a-
           placemakeryahoo-maps-mashup/
Awesome Apps
Awesome Apps
Augmented Reality

                                                                                            Metro AR
                                                            Wikitude




                                                                           Layar


http://www.businessinsider.com/best-augmented-reality-apps-for-iphone-and-ios-2011-3?op=1
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/
http://www.snookerbacker.com/2011/04/24/crucible-day-9/

Contenu connexe

Tendances

Maximising Your SERP Potential - Enhance your listings with Rich Snippets
Maximising Your SERP Potential - Enhance your listings with Rich Snippets Maximising Your SERP Potential - Enhance your listings with Rich Snippets
Maximising Your SERP Potential - Enhance your listings with Rich Snippets
Peter Handley
 
Interesting facts about indian mangalyaan mission
Interesting facts about indian mangalyaan missionInteresting facts about indian mangalyaan mission
Interesting facts about indian mangalyaan mission
hindujudaic
 
Web 2.0 tools used!
Web 2.0 tools used!Web 2.0 tools used!
Web 2.0 tools used!
mawatson10
 
ABC 2011 Summer App Inventor入門ワークショップ
ABC 2011 Summer App Inventor入門ワークショップABC 2011 Summer App Inventor入門ワークショップ
ABC 2011 Summer App Inventor入門ワークショップ
Shoya Tsukada
 

Tendances (19)

Maximising Your SERP Potential - Enhance your listings with Rich Snippets
Maximising Your SERP Potential - Enhance your listings with Rich Snippets Maximising Your SERP Potential - Enhance your listings with Rich Snippets
Maximising Your SERP Potential - Enhance your listings with Rich Snippets
 
Mobile Web App Development (Building your API)
Mobile Web App Development (Building your API)Mobile Web App Development (Building your API)
Mobile Web App Development (Building your API)
 
Interesting facts about indian mangalyaan mission
Interesting facts about indian mangalyaan missionInteresting facts about indian mangalyaan mission
Interesting facts about indian mangalyaan mission
 
Social #WebApps - Ideas for developing GIS applications that are socially a ”...
Social #WebApps - Ideas for developing GIS applications that are socially a ”...Social #WebApps - Ideas for developing GIS applications that are socially a ”...
Social #WebApps - Ideas for developing GIS applications that are socially a ”...
 
Three part series: Designing for multiple devices - GA, London, 26 Nov 2013
Three part series: Designing for multiple devices - GA, London, 26 Nov 2013Three part series: Designing for multiple devices - GA, London, 26 Nov 2013
Three part series: Designing for multiple devices - GA, London, 26 Nov 2013
 
Web 2.0 tools used!
Web 2.0 tools used!Web 2.0 tools used!
Web 2.0 tools used!
 
Userstories a practical intro
Userstories a practical introUserstories a practical intro
Userstories a practical intro
 
User stories - an introduction
User stories - an introductionUser stories - an introduction
User stories - an introduction
 
Three part series: Designing for multiple devices - GA, London, 20 Jan 2014
Three part series: Designing for multiple devices - GA, London, 20 Jan 2014Three part series: Designing for multiple devices - GA, London, 20 Jan 2014
Three part series: Designing for multiple devices - GA, London, 20 Jan 2014
 
JAX2013 Keynote - When open-source enables the Internet of Things
JAX2013 Keynote - When open-source enables the Internet of ThingsJAX2013 Keynote - When open-source enables the Internet of Things
JAX2013 Keynote - When open-source enables the Internet of Things
 
Asian race
Asian raceAsian race
Asian race
 
ABC 2011 Summer App Inventor入門ワークショップ
ABC 2011 Summer App Inventor入門ワークショップABC 2011 Summer App Inventor入門ワークショップ
ABC 2011 Summer App Inventor入門ワークショップ
 
Incomplete file
Incomplete fileIncomplete file
Incomplete file
 
Awakening Possibilities
Awakening PossibilitiesAwakening Possibilities
Awakening Possibilities
 
Las apps
Las appsLas apps
Las apps
 
Language and AI: Hacking Humanity's Greatest Invention
Language and AI: Hacking Humanity's Greatest InventionLanguage and AI: Hacking Humanity's Greatest Invention
Language and AI: Hacking Humanity's Greatest Invention
 
Playful IAs @ Euro IA Summit 2007
Playful IAs @ Euro IA Summit 2007Playful IAs @ Euro IA Summit 2007
Playful IAs @ Euro IA Summit 2007
 
ベジェ曲線を書いてみた
ベジェ曲線を書いてみたベジェ曲線を書いてみた
ベジェ曲線を書いてみた
 
Building Skyscrapers with our Scholarship
Building Skyscrapers with our ScholarshipBuilding Skyscrapers with our Scholarship
Building Skyscrapers with our Scholarship
 

Similaire à Hacking location aware hacks HackU IIT Bombay

Library of Congress - Neogeography and Geospatial data preservation
Library of Congress - Neogeography and Geospatial data preservationLibrary of Congress - Neogeography and Geospatial data preservation
Library of Congress - Neogeography and Geospatial data preservation
Andrew Turner
 
Drupal and the GeoSpatial Web
Drupal and the GeoSpatial WebDrupal and the GeoSpatial Web
Drupal and the GeoSpatial Web
Andrew Turner
 
Geolocation and Beer
Geolocation and BeerGeolocation and Beer
Geolocation and Beer
Neil Crosby
 
WEB SOCKET 應用
WEB SOCKET 應用WEB SOCKET 應用
WEB SOCKET 應用
Jerromy Lee
 
YQL:: Select * from Internet
YQL:: Select * from InternetYQL:: Select * from Internet
YQL:: Select * from Internet
drgath
 

Similaire à Hacking location aware hacks HackU IIT Bombay (20)

Hacking up location aware apps
Hacking up location aware appsHacking up location aware apps
Hacking up location aware apps
 
Library of Congress - Neogeography and Geospatial data preservation
Library of Congress - Neogeography and Geospatial data preservationLibrary of Congress - Neogeography and Geospatial data preservation
Library of Congress - Neogeography and Geospatial data preservation
 
Location.Aware
Location.AwareLocation.Aware
Location.Aware
 
Open hack 2011-ppt-geo
Open hack 2011-ppt-geoOpen hack 2011-ppt-geo
Open hack 2011-ppt-geo
 
Yql with geo
Yql with geoYql with geo
Yql with geo
 
W3C Geolocation
W3C GeolocationW3C Geolocation
W3C Geolocation
 
Seti 09
Seti 09Seti 09
Seti 09
 
Drupal and the GeoSpatial Web
Drupal and the GeoSpatial WebDrupal and the GeoSpatial Web
Drupal and the GeoSpatial Web
 
Powerful tools that you need and might not know about
Powerful tools that you need and might not know aboutPowerful tools that you need and might not know about
Powerful tools that you need and might not know about
 
GeoClue - State of the Map 2007
GeoClue - State of the Map 2007GeoClue - State of the Map 2007
GeoClue - State of the Map 2007
 
Open Hack London - Introduction to YQL
Open Hack London - Introduction to YQLOpen Hack London - Introduction to YQL
Open Hack London - Introduction to YQL
 
Geolocation and Beer
Geolocation and BeerGeolocation and Beer
Geolocation and Beer
 
M libraries final
M libraries finalM libraries final
M libraries final
 
Using Geoscript Groovy
Using Geoscript GroovyUsing Geoscript Groovy
Using Geoscript Groovy
 
O'Reilly WebCast - Trends And Technologies In Where2.0
O'Reilly WebCast - Trends And Technologies In Where2.0O'Reilly WebCast - Trends And Technologies In Where2.0
O'Reilly WebCast - Trends And Technologies In Where2.0
 
Device系APIの全体図
Device系APIの全体図Device系APIの全体図
Device系APIの全体図
 
Geobi Project - fossa2010
Geobi Project -  fossa2010Geobi Project -  fossa2010
Geobi Project - fossa2010
 
WEB SOCKET 應用
WEB SOCKET 應用WEB SOCKET 應用
WEB SOCKET 應用
 
Real-time Semantic Web with Twitter Annotations
Real-time Semantic Web with Twitter AnnotationsReal-time Semantic Web with Twitter Annotations
Real-time Semantic Web with Twitter Annotations
 
YQL:: Select * from Internet
YQL:: Select * from InternetYQL:: Select * from Internet
YQL:: Select * from Internet
 

Plus de Pradeep Varadaraja Banavara (6)

Product for startups
Product for startupsProduct for startups
Product for startups
 
What the hack - Yahoo! Hack India Hyderabad 2013
What the hack -  Yahoo! Hack India Hyderabad 2013What the hack -  Yahoo! Hack India Hyderabad 2013
What the hack - Yahoo! Hack India Hyderabad 2013
 
Making sense out of things on the web
Making sense out of things on the webMaking sense out of things on the web
Making sense out of things on the web
 
Locate your hacks
Locate your hacksLocate your hacks
Locate your hacks
 
BOSS HackU IITD
BOSS HackU IITDBOSS HackU IITD
BOSS HackU IITD
 
Introduction to HTML5 & CSS3
Introduction to HTML5 & CSS3Introduction to HTML5 & CSS3
Introduction to HTML5 & CSS3
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Dernier (20)

Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 

Hacking location aware hacks HackU IIT Bombay