expand * in terms, sort and add terms

see https://github.com/openstreetmap/id-tagging-schema/pull/648#discussion_r1033621284
This commit is contained in:
Martin Raifer 2022-11-28 16:23:10 +01:00
parent 62cf5afa1a
commit fffa81e7a7
No known key found for this signature in database
GPG key ID: 3CD561F7B1C461BD
23 changed files with 102 additions and 74 deletions

View file

@ -23,7 +23,8 @@
"area"
],
"terms": [
"medic*",
"medic",
"medical doctor",
"physician"
],
"tags": {

View file

@ -12,11 +12,16 @@
"terms": [
"game",
"gun",
"hide",
"lookout",
"raised blind",
"raised hide",
"rifle",
"shoot*",
"wild",
"watch"
"shoot",
"stance",
"stand",
"watch",
"wild"
],
"tags": {
"amenity": "hunting_stand"

View file

@ -30,10 +30,12 @@
"amenity": "nightclub"
},
"terms": [
"disco*",
"night club",
"club",
"dance club",
"dancing",
"dance club"
"disco",
"discotheque",
"night club"
],
"name": "Nightclub"
}

View file

@ -39,9 +39,11 @@
},
"terms": [
"apothecary",
"chemist",
"dispensary",
"drug store",
"drugstore",
"med*",
"medicine",
"prescription"
],
"name": "Pharmacy Counter"

View file

@ -5,9 +5,9 @@
"area"
],
"terms": [
"heat*",
"vent*",
"air conditioning"
"air conditioning",
"heating",
"ventilation"
],
"tags": {
"craft": "hvac"

View file

@ -15,9 +15,7 @@
"terms": [
"bandage",
"first aid",
"med",
"med kit",
"medic*",
"medkit"
],
"tags": {

View file

@ -22,12 +22,11 @@
"sport": "motor"
},
"terms": [
"auto*",
"formula one",
"kart",
"motocross",
"nascar",
"race*",
"raceway",
"track"
],
"name": "Motorsport Racetrack"

View file

@ -33,7 +33,8 @@
"fight",
"force",
"guard",
"heli*",
"helicopter",
"helipad",
"jet",
"marine",
"navy",

View file

@ -21,11 +21,12 @@
"base",
"blast",
"bomb",
"explo*",
"explosion",
"explosive",
"force",
"guard",
"mine",
"marine",
"mine",
"navy",
"troop",
"war"

View file

@ -26,8 +26,8 @@
"marine",
"navy",
"rifle",
"shoot*",
"snip*",
"shooting",
"sniper",
"train",
"troop",
"war"

View file

@ -26,8 +26,8 @@
"marine",
"navy",
"rifle",
"shoot*",
"snip*",
"shooting",
"sniper",
"train",
"troop",
"war"

View file

@ -27,7 +27,7 @@
"dog",
"greyhound",
"horse",
"race*",
"raceway",
"track"
],
"name": "Racetrack (Non-Motorsport)"

View file

@ -17,12 +17,12 @@
"area"
],
"terms": [
"sewage*",
"water treatment plant",
"wastewater treatment works",
"reclamation plant",
"sewage",
"wastewater treatment plant",
"WWTP",
"reclamation plant"
"wastewater treatment works",
"water treatment plant",
"wwtp"
],
"tags": {
"man_made": "wastewater_plant"

View file

@ -18,7 +18,7 @@
"atom",
"blast",
"bomb",
"detonat*",
"detonation",
"nuke",
"site",
"test"

View file

@ -26,7 +26,7 @@
"terms": [
"coal",
"gas",
"generat*",
"generator",
"hydro",
"nuclear",
"power",

View file

@ -5,8 +5,8 @@
"area"
],
"terms": [
"art*",
"exhibit*",
"art",
"exhibition",
"gallery"
],
"tags": {

View file

@ -10,11 +10,13 @@
"terms": [
"apothecary",
"beauty",
"chemist",
"dispensary",
"drug store",
"drugstore",
"gift",
"hair",
"med*",
"medicine",
"pharmacy",
"prescription",
"tooth"

View file

@ -8,10 +8,18 @@
"shop": "craft"
},
"terms": [
"art*",
"paint*",
"art",
"canvas",
"crafting",
"crafts",
"draw",
"frame",
"hobby"
"handicraft",
"hobby",
"paint",
"paper",
"pencil",
"wood"
],
"name": "Arts & Crafts Store"
}

View file

@ -5,7 +5,8 @@
"area"
],
"terms": [
"drape*",
"drape",
"drapery",
"window"
],
"tags": {

View file

@ -8,10 +8,10 @@
"shop": "frame"
},
"terms": [
"art*",
"paint*",
"photo*",
"frame"
"art",
"frame",
"painting",
"photograph"
],
"name": "Framing Shop"
}

View file

@ -27,11 +27,11 @@
"area"
],
"terms": [
"art*",
"exhibit*",
"paint*",
"photo*",
"sculpt*"
"art",
"exhibition",
"painting",
"photogaph",
"sculpture"
],
"tags": {
"tourism": "gallery"

View file

@ -34,15 +34,23 @@
"area"
],
"terms": [
"art*",
"exhibit*",
"gallery",
"archaeological",
"archeological",
"art",
"cultural",
"excavation",
"exhibition",
"foundation",
"gallery",
"hall",
"history",
"institution",
"paint*",
"photo*",
"sculpt*"
"nature",
"painting",
"photograph",
"science",
"sculpture",
"technology"
],
"tags": {
"tourism": "museum"

View file

@ -4774,7 +4774,7 @@ en:
amenity/doctors:
# amenity=doctors | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Doctor
# 'terms: medic*,physician'
# 'terms: medic,medical doctor,physician'
terms: <translate with synonyms or related terms for 'Doctor', separated by commas>
amenity/doctors/gynaecology:
# amenity=doctors + healthcare=doctor + healthcare:speciality=gynaecology | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@ -4932,7 +4932,7 @@ en:
amenity/hunting_stand:
# amenity=hunting_stand | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Hunting Stand
# 'terms: game,gun,lookout,rifle,shoot*,wild,watch'
# 'terms: game,gun,hide,lookout,rifle,raised hide,raised blind,shoot,stand,stance,wild,watch'
terms: <translate with synonyms or related terms for 'Hunting Stand', separated by commas>
amenity/ice_cream:
# amenity=ice_cream | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@ -5029,7 +5029,7 @@ en:
amenity/nightclub:
# amenity=nightclub | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Nightclub
# 'terms: disco*,night club,dancing,dance club'
# 'terms: club,disco,discotheque,night club,dancing,dance club'
terms: <translate with synonyms or related terms for 'Nightclub', separated by commas>
amenity/nightclub/lgbtq:
# amenity=nightclub + lgbtq=primary | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@ -5096,7 +5096,7 @@ en:
amenity/pharmacy:
# amenity=pharmacy | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Pharmacy Counter
# 'terms: apothecary,drug store,drugstore,med*,prescription'
# 'terms: apothecary,chemist,dispensary,drug store,drugstore,medicine,prescription'
terms: <translate with synonyms or related terms for 'Pharmacy Counter', separated by commas>
amenity/photo_booth:
# amenity=photo_booth | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@ -6425,7 +6425,7 @@ en:
craft/hvac:
# craft=hvac | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: HVAC Workplace
# 'terms: heat*,vent*,air conditioning'
# 'terms: heating,ventilation,air conditioning'
terms: <translate with synonyms or related terms for 'HVAC Workplace', separated by commas>
craft/insulator:
# craft=insulation | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@ -6629,7 +6629,7 @@ en:
emergency/first_aid_kit:
# emergency=first_aid_kit | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: First Aid Kit
# 'terms: bandage,first aid,med,med kit,medic*,medkit'
# 'terms: bandage,first aid,med,med kit,medkit'
terms: <translate with synonyms or related terms for 'First Aid Kit', separated by commas>
emergency/landing_site:
# emergency=landing_site | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@ -7121,7 +7121,7 @@ en:
highway/raceway:
# highway=raceway | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Motorsport Racetrack
# 'terms: auto*,formula one,kart,motocross,nascar,race*,track'
# 'terms: formula one,kart,motocross,nascar,raceway,track'
terms: <translate with synonyms or related terms for 'Motorsport Racetrack', separated by commas>
highway/raceway/karting:
# highway=raceway + sport=karting | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@ -7554,7 +7554,7 @@ en:
landuse/military/airfield:
# military=airfield | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Military Airfield
# 'terms: aerodrome,aeroway,air force,airplane,airport,army,base,bomb,fight,force,guard,heli*,jet,marine,navy,plane,troop,war'
# 'terms: aerodrome,aeroway,air force,airplane,airport,army,base,bomb,fight,force,guard,helicopter,helipad,jet,marine,navy,plane,troop,war'
terms: <translate with synonyms or related terms for 'Military Airfield', separated by commas>
landuse/military/barracks:
# military=barracks | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@ -7574,7 +7574,7 @@ en:
landuse/military/danger_area:
# military=danger_area | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Danger Area
# 'terms: air force,army,base,blast,bomb,explo*,force,guard,mine,marine,navy,troop,war'
# 'terms: air force,army,base,blast,bomb,explosion,explosive,force,guard,mine,marine,navy,troop,war'
terms: <translate with synonyms or related terms for 'Danger Area', separated by commas>
landuse/military/obstacle_course:
# military=obstacle_course | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@ -7584,12 +7584,12 @@ en:
landuse/military/range:
# military=range | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Military Range
# 'terms: air force,army,base,fight,fire,force,guard,gun,marine,navy,rifle,shoot*,snip*,train,troop,war'
# 'terms: air force,army,base,fight,fire,force,guard,gun,marine,navy,rifle,shooting,sniper,train,troop,war'
terms: <translate with synonyms or related terms for 'Military Range', separated by commas>
landuse/military/training_area:
# military=training_area | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Military Training Area
# 'terms: air force,army,base,fight,fire,force,guard,gun,marine,navy,rifle,shoot*,snip*,train,troop,war'
# 'terms: air force,army,base,fight,fire,force,guard,gun,marine,navy,rifle,shooting,sniper,train,troop,war'
terms: <translate with synonyms or related terms for 'Military Training Area', separated by commas>
landuse/orchard:
# landuse=orchard | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@ -8133,7 +8133,7 @@ en:
leisure/track:
# leisure=track | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Racetrack (Non-Motorsport)
# 'terms: cycle,dog,greyhound,horse,race*,track'
# 'terms: cycle,dog,greyhound,horse,raceway,track'
terms: <translate with synonyms or related terms for 'Racetrack (Non-Motorsport)', separated by commas>
leisure/track/cycling:
# leisure=track + sport=cycling | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@ -8518,7 +8518,7 @@ en:
man_made/wastewater_plant:
# man_made=wastewater_plant | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Wastewater Plant
# 'terms: sewage*,water treatment plant,wastewater treatment works,wastewater treatment plant,wwtp,reclamation plant'
# 'terms: sewage,water treatment plant,wastewater treatment works,wastewater treatment plant,wwtp,reclamation plant'
terms: <translate with synonyms or related terms for 'Wastewater Plant', separated by commas>
man_made/water_tap:
# man_made=water_tap | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@ -8594,7 +8594,7 @@ en:
military/nuclear_explosion_site:
# military=nuclear_explosion_site | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Nuclear Explosion Site
# 'terms: atom,blast,bomb,detonat*,nuke,site,test'
# 'terms: atom,blast,bomb,detonation,nuke,site,test'
terms: <translate with synonyms or related terms for 'Nuclear Explosion Site', separated by commas>
military/office:
# military=office | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@ -9469,7 +9469,7 @@ en:
power/plant:
# power=plant | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Power Station Grounds
# 'terms: coal,gas,generat*,hydro,nuclear,power,station'
# 'terms: coal,gas,generator,hydro,nuclear,power,station'
terms: <translate with synonyms or related terms for 'Power Station Grounds', separated by commas>
power/plant/source/coal:
# power=plant + plant:source=coal | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@ -9962,7 +9962,7 @@ en:
shop/art:
# shop=art | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Art Store
# 'terms: art*,exhibit*,gallery'
# 'terms: art,exhibition,gallery'
terms: <translate with synonyms or related terms for 'Art Store', separated by commas>
shop/baby_goods:
# shop=baby_goods | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@ -10099,7 +10099,7 @@ en:
shop/chemist:
# shop=chemist | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Drugstore
# 'terms: apothecary,beauty,drug store,gift,hair,med*,pharmacy,prescription,tooth'
# 'terms: apothecary,beauty,chemist,dispensary,drug store,gift,hair,medicine,pharmacy,prescription,tooth'
terms: <translate with synonyms or related terms for 'Drugstore', separated by commas>
shop/chocolate:
# shop=chocolate | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@ -10177,12 +10177,12 @@ en:
shop/craft:
# shop=craft | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Arts & Crafts Store
# 'terms: art*,paint*,frame,hobby'
# 'terms: art,canvas,crafting,crafts,draw,frame,handicraft,hobby,paint,pencil,paper,wood'
terms: <translate with synonyms or related terms for 'Arts & Crafts Store', separated by commas>
shop/curtain:
# shop=curtain | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Curtain Store
# 'terms: drape*,window'
# 'terms: drape,drapery,window'
terms: <translate with synonyms or related terms for 'Curtain Store', separated by commas>
shop/dairy:
# shop=dairy | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@ -10277,7 +10277,7 @@ en:
shop/frame:
# shop=frame | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Framing Shop
# 'terms: art*,paint*,photo*,frame'
# 'terms: art,frame,painting,photograph'
terms: <translate with synonyms or related terms for 'Framing Shop', separated by commas>
shop/frozen_food:
# shop=frozen_food | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@ -10865,7 +10865,7 @@ en:
tourism/gallery:
# tourism=gallery | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Art Gallery
# 'terms: art*,exhibit*,paint*,photo*,sculpt*'
# 'terms: art,exhibition,painting,photogaph,sculpture'
terms: <translate with synonyms or related terms for 'Art Gallery', separated by commas>
tourism/guest_house:
# tourism=guest_house | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
@ -10926,7 +10926,7 @@ en:
tourism/museum:
# tourism=museum | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).
name: Museum
# 'terms: art*,exhibit*,gallery,foundation,hall,institution,paint*,photo*,sculpt*'
# 'terms: archaeological,archeological,art,cultural,excavation,exhibition,foundation,gallery,hall,history,institution,nature,painting,photograph,science,sculpture,technology'
terms: <translate with synonyms or related terms for 'Museum', separated by commas>
tourism/museum/history:
# tourism=museum + museum=history | Translate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).