diff options
author | Ilya Zverev <zverik@textual.ru> | 2018-02-15 17:22:25 +0300 |
---|---|---|
committer | mpimenov <mpimenov@users.noreply.github.com> | 2018-03-14 23:54:51 +0300 |
commit | 7077a6ea3961accf311b3841af4c8a8987874232 (patch) | |
tree | 8fb8e4f3e07ac8e1a34eb60e95466b3aee1c7292 /tools | |
parent | 9f8fc917c4133927599639783504b5343bf210b9 (diff) |
[localads] Add more types to localads
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/python/local_ads/mwm_to_csv_4localads.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/python/local_ads/mwm_to_csv_4localads.py b/tools/python/local_ads/mwm_to_csv_4localads.py index 3cba9a4447..3619f0a48c 100755 --- a/tools/python/local_ads/mwm_to_csv_4localads.py +++ b/tools/python/local_ads/mwm_to_csv_4localads.py @@ -25,7 +25,11 @@ HEADERS = { } QUEUES = {name: Queue() for name in HEADERS} GOOD_TYPES = ("amenity", "shop", "tourism", "leisure", "sport", - "craft", "man_made", "office", "historic") + "craft", "man_made", "office", "historic", + "aeroway", "natural-beach", "natural-peak", "natural-volcano", + "natural-spring", "natural-cave_entrance", + "waterway-waterfall", "place-island", "railway-station", + "railway-halt", "aerialway-station", "building-train_station") SOURCE_TYPES = {'osm': 0, 'booking': 1} # Big enough to never intersect with a feature id (there are below 3 mln usually). |