12 Commits

Author SHA1 Message Date
Al
d56c210fb9 [fix] add_address=True for CategoryQuery/ChainQuery 2016-07-21 17:04:57 -04:00
Al
b061c619d3 [categories] Method to determine which keys to check for category matches given a dict of OSM tags 2016-07-21 17:04:57 -04:00
Al
6b8e7cc2de [categories] Updated category query to have add_address variable (e.g. for 'near 123 Main Street' vs. 'near Brooklyn, NY'), reuses category preposition 2016-07-21 17:04:57 -04:00
Al
ce381134fb [categories/chains] Reusing category config in chain queries 2016-07-21 17:04:57 -04:00
Al
a24fe03b81 [categories] Category query fragment generator. Given a language, key and value, and a flag for plurals, returns a tuple of (category_phrase, preposition, add_place_name) 2016-07-21 17:04:57 -04:00
Al
4933303cec [categories] Config for looking up category-related phrases given a language + OSM key and value (amenity=restaurant, natural=waterfall, etc.) 2016-07-21 17:04:57 -04:00
Al
492b6ee235 [categories] Using TSV files instead of YAML for category queries, easier to edit 2016-07-21 17:04:57 -04:00
Al
5d19aacb25 [categories] Keeping keys sorted in generated YAML files, ignoring Interlingua queries 2016-07-21 17:04:57 -04:00
Al
e65711f6fa [fix] changing extension to .yaml 2016-07-21 17:04:57 -04:00
Al
3cd32584c6 [categories] Moving category configs to YAML files 2016-07-21 17:04:57 -04:00
Al
9ee1f56a0f [categories] documentation of Nominatim special phrases scraper 2016-07-21 17:04:57 -04:00
Al
e6b59980e7 [categories] Scraper for Nominatim Special Phrases, translated into a number of languages 2016-07-21 17:04:57 -04:00