Locate your hacks

15
  • date post

    12-Sep-2014
  • Category

    Travel

  • view

    618
  • download

    0

description

 

Transcript of Locate your hacks

Page 1: Locate your hacks
Page 2: Locate your hacks

LOCATE YOUR HACKSSunil Pai, Y!

Page 3: Locate your hacks

LOCATION, LOCATION, LOCATION“irl”

Page 4: Locate your hacks

4

“COORDINATES”

Page 5: Locate your hacks

5

“PLACES” ARE NOT POINTS

protip- neither are directions!

Page 6: Locate your hacks

CURRENT LOCATIONhttp://isithackday.com/hacks/geo/distance.php

Page 7: Locate your hacks

WOEIDs and morehttp://developer.yahoo.com/geo/geoplanet/guide/concepts.html#woeids

Page 8: Locate your hacks

8

NO STANDARDS

Tōkyō-to, Shinjuku-ku, Nishishinjuku, 5丁目5−23

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

27 Escombe Ave, Johannesburg 2193, South Africa

Page 9: Locate your hacks

9

LET’S GO MEET THE SIMPSONS

Page 10: Locate your hacks

BIG UNSTRUCTURED DATA Bring out the big guns.

Page 11: Locate your hacks

APIs-Data.

-Interface.

Page 12: Locate your hacks

12

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 placeselect placeTypeName, name from geo.places.belongtos where member_woeid in (select woeid from geo.places where text="New Delhi, India" limit 1)

Page 13: Locate your hacks

13

INTERFACE

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

YUI + YQL – everything else!

Bonus – Mapbox’s TileMillhttp://mapbox.com/tilemill/

Page 14: Locate your hacks

14

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/

Page 15: Locate your hacks

15

GO FORTH AND FIND YOURSELF