twofish[es]. what are twofishes? a coarse geocoder from foursquare city/neighborhood/poi level...
TRANSCRIPT
![Page 1: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/1.jpg)
Twofish[es]
![Page 2: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/2.jpg)
What are twofishes?
![Page 3: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/3.jpg)
![Page 4: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/4.jpg)
A coarse geocoder from Foursquare
• City/neighborhood/POI level• In-memory• Fast?• Splitting
• pizza new york -> pizza near [40.74,-74]
![Page 5: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/5.jpg)
Based on open data
![Page 6: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/6.jpg)
Geonames
CC-BY (Attribution)
![Page 7: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/7.jpg)
Flickr
Public Domain
![Page 8: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/8.jpg)
Foursquare <3 OSM
coming soon.
![Page 9: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/9.jpg)
Algorithm
![Page 10: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/10.jpg)
Recursive Descent Parse Tree
![Page 11: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/11.jpg)
[soho] + [new york]
![Page 12: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/12.jpg)
[soho] + [new york]
parents• london• united kingdom
Soho
parents• new york (city)• new york (state)• united states
Soho
![Page 13: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/13.jpg)
[soho] + [new york]
parents• london• united kingdom
Soho
parents• new york (city)• new york (state)• united states
Soho
New York (city) New York (state)
New York, TX New York, IA
parents• new york (state)• united states
parents• united states
parents• iowa• united states
parents• texas• united states
![Page 14: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/14.jpg)
[soho] + [new york]
parents• london• united kingdom
Soho
parents• new york (city)• new york (state)• united states
Soho
New York (city) New York (state)
New York, TX New York, IA
parents• new york (state)• united states
parents• united states
parents• iowa• united states
parents• texas• united states
![Page 15: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/15.jpg)
[soho] + [new york]
parents• london• united kingdom
Soho
parents• new york (city)• new york (state)• united states
Soho
New York (state)
New York, TX New York, IA
parents• new york (state)• united states
parents• united states
parents• iowa• united states
parents• texas• united states
New York (city)
![Page 16: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/16.jpg)
Done!
![Page 17: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/17.jpg)
Postal Codes = Hack
![Page 18: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/18.jpg)
Launching Thursday!
![Page 19: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/19.jpg)
In our API
https://foursquare.com/v2/venues/search?query=pizza&ll=40.74,-74
https://foursquare.com/v2/venues/search?query=pizza&near=nyc
![Page 20: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/20.jpg)
Hosted in our API
https://foursquare.com/v2/geo/geocode?query=nyc
• Limited release while we tweak the API
• Email [email protected] for access
![Page 21: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/21.jpg)
Open Sourced
http://github.com/foursquare/twofishes
![Page 22: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/22.jpg)
Office Hours @ 4:15 (now!)
![Page 24: Twofish[es]. What are twofishes? A coarse geocoder from Foursquare City/neighborhood/POI level In-memory Fast? Splitting pizza new york -> pizza near](https://reader036.vdocuments.site/reader036/viewer/2022062321/56649f295503460f94c41dd2/html5/thumbnails/24.jpg)
References
• http://geonames.org/• http://code.flickr.com/blog/
2011/01/08/flickr-shapefiles-public-dataset-2-0/