Extend the list of supported tags
This commit is contained in:
parent
8416369029
commit
2d11a164aa
5 changed files with 6478 additions and 72 deletions
179
filter.json
179
filter.json
|
@ -1,47 +1,170 @@
|
|||
{
|
||||
"wanted": {
|
||||
"amenity": [
|
||||
"bank",
|
||||
"cafe",
|
||||
"car_rental",
|
||||
"fast_food",
|
||||
"parking",
|
||||
"place_of_worship",
|
||||
"school",
|
||||
"restaurant",
|
||||
"fuel",
|
||||
"cafe",
|
||||
"fast_food",
|
||||
"bank",
|
||||
"pharmacy",
|
||||
"kindergarten",
|
||||
"hospital",
|
||||
"pub",
|
||||
"restaurant"
|
||||
"bar",
|
||||
"doctors",
|
||||
"library",
|
||||
"social_facility",
|
||||
"car_wash",
|
||||
"dentist",
|
||||
"clinic",
|
||||
"theatre",
|
||||
"bicycle_rental",
|
||||
"cinema",
|
||||
"veterinary",
|
||||
"nightclub",
|
||||
"arts_centre",
|
||||
"nursing_home",
|
||||
"car_rental",
|
||||
"driving_school",
|
||||
"biergarten",
|
||||
"ice_cream",
|
||||
"childcare",
|
||||
"bureau_de_change",
|
||||
"studio",
|
||||
"food_court",
|
||||
"casino",
|
||||
"sauna",
|
||||
"brothel",
|
||||
"retirement_home",
|
||||
"dojo"
|
||||
],
|
||||
"shop": [
|
||||
"alcohol",
|
||||
"convenience",
|
||||
"supermarket",
|
||||
"clothes",
|
||||
"hairdresser",
|
||||
"bakery",
|
||||
"books",
|
||||
"car_repair",
|
||||
"car",
|
||||
"chemist",
|
||||
"clothes",
|
||||
"computer",
|
||||
"convenience",
|
||||
"cosmetics",
|
||||
"department_store",
|
||||
"kiosk",
|
||||
"butcher",
|
||||
"doityourself",
|
||||
"electronics",
|
||||
"florist",
|
||||
"mall",
|
||||
"furniture",
|
||||
"hairdresser",
|
||||
"hardware",
|
||||
"hifi",
|
||||
"jewelry",
|
||||
"mobile_phone",
|
||||
"motorcycle",
|
||||
"optician",
|
||||
"pet",
|
||||
"perfumery",
|
||||
"shoes",
|
||||
"sports",
|
||||
"stationery",
|
||||
"supermarket",
|
||||
"toys",
|
||||
"travel_agency",
|
||||
"electronics",
|
||||
"beauty",
|
||||
"alcohol",
|
||||
"bicycle",
|
||||
"mobile_phone",
|
||||
"jewelry",
|
||||
"department_store",
|
||||
"optician",
|
||||
"gift",
|
||||
"car_parts",
|
||||
"greengrocer",
|
||||
"chemist",
|
||||
"variety_store",
|
||||
"video"
|
||||
"sports",
|
||||
"computer",
|
||||
"travel_agency",
|
||||
"stationery",
|
||||
"garden_centre",
|
||||
"confectionery",
|
||||
"laundry",
|
||||
"beverages",
|
||||
"newsagent",
|
||||
"pet",
|
||||
"toys",
|
||||
"dry_cleaning",
|
||||
"motorcycle",
|
||||
"boutique",
|
||||
"tyres",
|
||||
"copyshop",
|
||||
"deli",
|
||||
"funeral_directors",
|
||||
"outdoor",
|
||||
"hifi",
|
||||
"art",
|
||||
"farm",
|
||||
"tailor",
|
||||
"interior_decoration",
|
||||
"tobacco",
|
||||
"photo",
|
||||
"seafood",
|
||||
"fabric",
|
||||
"paint",
|
||||
"kitchen",
|
||||
"ticket",
|
||||
"massage",
|
||||
"second_hand",
|
||||
"wine",
|
||||
"video",
|
||||
"estate_agent",
|
||||
"trade",
|
||||
"music",
|
||||
"cosmetics",
|
||||
"lottery",
|
||||
"pawnbroker",
|
||||
"charity",
|
||||
"antiques",
|
||||
"bed",
|
||||
"musical_instrument",
|
||||
"bookmaker",
|
||||
"houseware",
|
||||
"tattoo",
|
||||
"general",
|
||||
"fashion",
|
||||
"medical_supply",
|
||||
"craft",
|
||||
"baby_goods",
|
||||
"baths",
|
||||
"hearing_aids",
|
||||
"carpet",
|
||||
"coffee",
|
||||
"tea",
|
||||
"bag",
|
||||
"curtain",
|
||||
"erotic",
|
||||
"video_games",
|
||||
"frame",
|
||||
"ice_cream",
|
||||
"food",
|
||||
"money_lender",
|
||||
"locksmith",
|
||||
"bathroom_furnishing",
|
||||
"energy",
|
||||
"cheese"
|
||||
],
|
||||
"leisure": [
|
||||
"swimming_pool",
|
||||
"playground",
|
||||
"sports_centre",
|
||||
"fitness_centre"
|
||||
],
|
||||
"tourism": [
|
||||
"hotel",
|
||||
"attraction",
|
||||
"camp_site",
|
||||
"guest_house",
|
||||
"museum",
|
||||
"motel",
|
||||
"chalet",
|
||||
"hostel",
|
||||
"caravan_site",
|
||||
"alpine_hut",
|
||||
"theme_park",
|
||||
"zoo",
|
||||
"apartment"
|
||||
],
|
||||
"man_made": [
|
||||
"windmill",
|
||||
"watermill"
|
||||
]
|
||||
},
|
||||
"discardedNames": [
|
||||
|
|
|
@ -13,7 +13,7 @@ if (process.argv.length < 3) {
|
|||
var input_filename = process.argv[2],
|
||||
handler = new osmium.Handler(),
|
||||
output_filename = 'topNames.json',
|
||||
osmKeys = ['amenity', 'shop'],
|
||||
osmKeys = ['amenity', 'shop', 'leisure', 'man_made', 'tourism'],
|
||||
counts = {},
|
||||
THRESHOLD = process.argv[3] || 50;
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
781
topNames.json
781
topNames.json
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue