LOCATE YOUR HACKS
Sunil Pai, Y!
LOCATION, LOCATION,
LOCATION
“irl”
“COORDINATES”




                4
“PLACES” ARE NOT POINTS




protip- neither are directions!

                                  5
CURRENT LOCATION
http://isithackday.com/hacks/geo/distance.php
WOEIDs and more
http://developer.yahoo.com/geo/geoplanet/guide/concepts.html#
woeids
NO STANDARDS



Tōkyō-to, Shinjuku-ku, Nishishinjuku,        −



No. 512-A, 2nd Cross, 5th main, Opp. Water Tank

27 Escombe Ave, Johannesburg 2193, South Africa



                                                  8
LET’S GO MEET THE SIMPSONS




                             9
BIG UNSTRUCTURED
DATA
Bring out the big guns.
APIs
-Data.
-Interface.
DATA
Cheatsheet!

scan your text and extract “places”
select * from geo.placemaker where documentContent = "aruba, jamaica, ooh I wanna take ya" and
documentType="text/plain"

find details about a place
-select name,country from geo.places(100) where text='Delhi’

find what places are at a point
select * from geo.placefinder where text='12.973111, 77.611541748' and gflags='R’

geographical info of a place
select placeTypeName, name from geo.places.belongtos where member_woeid in (select woeid from
geo.places where text="New Delhi, India" limit 1)




                                                                                                 12
INTERFACE
OSM + Leaflet
http://switch2osm.org/using-tiles/getting-started-with-leaflet/




YUI + YQL – everything else!

Bonus – Mapbox’sTileMill
http://mapbox.com/tilemill/




                                                                  13
LINKS AND STUFF
•http://developer.yahoo.com/geo/
•http://isithackday.com/hacks/geo/
•http://isithackday.com/geoplanet-explorer/
•http://developer.yahoo.com/geo/geoplanet/data/




                                                  14
GO FORTH
AND FIND
YOURSELF

           15

Locate your hacks - Open Hack 2012 India

Editor's Notes

  • #5 What is a location? What is the earth like? Lat, Lon. Altitude? GPS?South, West, North, land up in the same place. Where? North Pole!
  • #6 Indeed, everything’s a shape. Introdice the woeidDirections - Distances - Geometry, 'speed' affects decision to take a route - Calculating Distances, Radial Distances, Routing, Nearest Place etc.
  • #7 Anyone with an iphone here? [mention the arrow]Geolocationapi / geoip resolution http://isithackday.com/hacks/geo/distance.php
  • #9 People don't think in tuples/ lat lon pairs- Named places, Listings, POIs. Addresses.
  • #10 Mention delhi – east timor, michigan, etchttp://isithackday.com/geoplanet-explorer/index.php?start=Delhiselect name,country from geo.places(100) where text='Delhi'
  • #13 3. Placefinder http://isithackday.com/hacks/geo/placefinder/4. http://isithackday.com/geoplanet-explorer/index.php?woeid=20070458
  • #14 Talk about OSM at lengthhttp://maps.stamen.com/watercolor/#12/37.7706/-122.3782<- wow