Locate your hacks
-
date post
12-Sep-2014 -
Category
Travel
-
view
618 -
download
0
description
Transcript of Locate your hacks
LOCATE YOUR HACKSSunil Pai, Y!
LOCATION, LOCATION, LOCATION“irl”
4
“COORDINATES”
5
“PLACES” ARE NOT POINTS
protip- neither are directions!
CURRENT LOCATIONhttp://isithackday.com/hacks/geo/distance.php
WOEIDs and morehttp://developer.yahoo.com/geo/geoplanet/guide/concepts.html#woeids
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
9
LET’S GO MEET THE SIMPSONS
BIG UNSTRUCTURED DATA Bring out the big guns.
APIs-Data.
-Interface.
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)
13
INTERFACE
OSM + Leaflet http://switch2osm.org/using-tiles/getting-started-with-leaflet/
YUI + YQL – everything else!
Bonus – Mapbox’s TileMillhttp://mapbox.com/tilemill/
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/
15
GO FORTH AND FIND YOURSELF