Download - Locate your hacks - Open Hack 2012 India
![Page 1: Locate your hacks - Open Hack 2012 India](https://reader033.vdocument.in/reader033/viewer/2022061104/5412f1118d7f72174e8b462e/html5/thumbnails/1.jpg)
![Page 2: Locate your hacks - Open Hack 2012 India](https://reader033.vdocument.in/reader033/viewer/2022061104/5412f1118d7f72174e8b462e/html5/thumbnails/2.jpg)
LOCATE YOUR HACKSSunil Pai, Y!
![Page 3: Locate your hacks - Open Hack 2012 India](https://reader033.vdocument.in/reader033/viewer/2022061104/5412f1118d7f72174e8b462e/html5/thumbnails/3.jpg)
LOCATION, LOCATION, LOCATION“irl”
![Page 4: Locate your hacks - Open Hack 2012 India](https://reader033.vdocument.in/reader033/viewer/2022061104/5412f1118d7f72174e8b462e/html5/thumbnails/4.jpg)
4
“COORDINATES”
![Page 5: Locate your hacks - Open Hack 2012 India](https://reader033.vdocument.in/reader033/viewer/2022061104/5412f1118d7f72174e8b462e/html5/thumbnails/5.jpg)
5
“PLACES” ARE NOT POINTS
protip- neither are directions!
![Page 6: Locate your hacks - Open Hack 2012 India](https://reader033.vdocument.in/reader033/viewer/2022061104/5412f1118d7f72174e8b462e/html5/thumbnails/6.jpg)
CURRENT LOCATIONhttp://isithackday.com/hacks/geo/distance.php
![Page 7: Locate your hacks - Open Hack 2012 India](https://reader033.vdocument.in/reader033/viewer/2022061104/5412f1118d7f72174e8b462e/html5/thumbnails/7.jpg)
WOEIDs and morehttp://developer.yahoo.com/geo/geoplanet/guide/concepts.html#woeids
![Page 8: Locate your hacks - Open Hack 2012 India](https://reader033.vdocument.in/reader033/viewer/2022061104/5412f1118d7f72174e8b462e/html5/thumbnails/8.jpg)
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 - Open Hack 2012 India](https://reader033.vdocument.in/reader033/viewer/2022061104/5412f1118d7f72174e8b462e/html5/thumbnails/9.jpg)
9
LET’S GO MEET THE SIMPSONS
![Page 10: Locate your hacks - Open Hack 2012 India](https://reader033.vdocument.in/reader033/viewer/2022061104/5412f1118d7f72174e8b462e/html5/thumbnails/10.jpg)
BIG UNSTRUCTURED DATA Bring out the big guns.
![Page 11: Locate your hacks - Open Hack 2012 India](https://reader033.vdocument.in/reader033/viewer/2022061104/5412f1118d7f72174e8b462e/html5/thumbnails/11.jpg)
APIs-Data.
-Interface.
![Page 12: Locate your hacks - Open Hack 2012 India](https://reader033.vdocument.in/reader033/viewer/2022061104/5412f1118d7f72174e8b462e/html5/thumbnails/12.jpg)
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 - Open Hack 2012 India](https://reader033.vdocument.in/reader033/viewer/2022061104/5412f1118d7f72174e8b462e/html5/thumbnails/13.jpg)
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 - Open Hack 2012 India](https://reader033.vdocument.in/reader033/viewer/2022061104/5412f1118d7f72174e8b462e/html5/thumbnails/14.jpg)
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 - Open Hack 2012 India](https://reader033.vdocument.in/reader033/viewer/2022061104/5412f1118d7f72174e8b462e/html5/thumbnails/15.jpg)
15
GO FORTH AND FIND YOURSELF