際際滷

際際滷Share a Scribd company logo
Locate your hacks
LOCATE YOUR HACKS
Sunil Pai, Y!
LOCATION, LOCATION, LO
CATION
irl
C或或檎禽鴛鰻粥意掘皆




                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



Tky-to, Shinjuku-ku, Nishishinjuku,        



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

27 Escombe Ave, Johannesburg 2193, South Africa



                                                  8
LETS 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  MapboxsTileMill
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

More Related Content

Locate your hacks

Editor's Notes

  1. 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!
  2. Indeed, everythings a shape. Introdice the woeidDirections - Distances - Geometry, 'speed' affects decision to take a route - Calculating Distances, Radial Distances, Routing, Nearest Place etc.
  3. Anyone with an iphone here? [mention the arrow]Geolocationapi / geoip resolution http://isithackday.com/hacks/geo/distance.php
  4. People don't think in tuples/ lat lon pairs- Named places, Listings, POIs. Addresses.
  5. Mention delhi east timor, michigan, etchttp://isithackday.com/geoplanet-explorer/index.php?start=Delhiselect name,country from geo.places(100) where text='Delhi'
  6. 3. Placefinder http://isithackday.com/hacks/geo/placefinder/4. http://isithackday.com/geoplanet-explorer/index.php?woeid=20070458
  7. Talk about OSM at lengthhttp://maps.stamen.com/watercolor/#12/37.7706/-122.3782<- wow