diff --git a/data/presets.yaml b/data/presets.yaml index e7f88b9c6..a9263bbc4 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -3017,6 +3017,9 @@ en: name: Public Bookcase # 'terms: library,bookcrossing' terms: '' + public_bookcase/type: + # public_bookcase:type=* + label: Type amenity/ranger_station: # amenity=ranger_station name: Ranger Station diff --git a/data/presets/fields.json b/data/presets/fields.json index 9cfbceb35..e7d4b8850 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -275,6 +275,7 @@ "preschool": {"key": "preschool", "type": "check", "label": "Preschool"}, "produce": {"key": "produce", "type": "semiCombo", "label": "Produce"}, "product": {"key": "product", "type": "semiCombo", "label": "Products"}, + "public_bookcase/type": {"key": "public_bookcase:type", "type": "combo", "label": "Type"}, "railway": {"key": "railway", "type": "typeCombo", "label": "Type"}, "railway/position": {"key": "railway:position", "type": "text", "placeholder": "Distance to one decimal (123.4)", "label": "Milestone Position"}, "railway/signal/direction": {"key": "railway:signal:direction", "type": "combo", "label": "Direction Affected", "strings": {"options": {"forward": "Forward", "backward": "Backward", "both": "Both / All"}}}, diff --git a/data/presets/fields/public_bookcase/type.json b/data/presets/fields/public_bookcase/type.json new file mode 100644 index 000000000..3f2339a3a --- /dev/null +++ b/data/presets/fields/public_bookcase/type.json @@ -0,0 +1,5 @@ +{ + "key": "public_bookcase:type", + "type": "combo", + "label": "Type" +} \ No newline at end of file diff --git a/data/presets/presets.json b/data/presets/presets.json index 0cbd54f50..7435c7f38 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -173,7 +173,7 @@ "amenity/pub/lgbtq": {"icon": "maki-beer", "geometry": ["point", "area"], "tags": {"amenity": "pub", "lgbtq": "primary"}, "terms": ["gay pub", "lesbian pub", "lgbtq pub", "lgbt pub", "lgb pub"], "name": "LGBTQ+ Pub"}, "amenity/pub/microbrewery": {"icon": "maki-beer", "geometry": ["point", "area"], "tags": {"amenity": "pub", "microbrewery": "yes"}, "reference": {"key": "microbrewery"}, "terms": ["alcohol", "drink", "dive", "beer", "bier", "booze", "craft brewery", "microbrewery", "small batch brewery"], "name": "Brewpub"}, "amenity/public_bath": {"icon": "maki-water", "fields": ["name", "bath/type", "bath/open_air", "bath/sand_bath", "address", "building_area", "fee"], "moreFields": ["email", "fax", "internet_access", "internet_access/fee", "internet_access/ssid", "opening_hours", "payment_multi_fee", "phone", "website", "wheelchair"], "geometry": ["point", "area"], "tags": {"amenity": "public_bath"}, "terms": ["onsen", "foot bath", "hot springs"], "name": "Public Bath"}, - "amenity/public_bookcase": {"icon": "maki-library", "fields": ["name", "operator", "opening_hours", "capacity", "website", "lit"], "moreFields": ["wheelchair", "location", "access_simple", "brand", "email", "phone"], "geometry": ["point", "area"], "terms": ["library", "bookcrossing"], "tags": {"amenity": "public_bookcase"}, "name": "Public Bookcase"}, + "amenity/public_bookcase": {"icon": "maki-library", "fields": ["name", "public_bookcase/type", "operator", "opening_hours", "capacity", "website", "lit"], "moreFields": ["wheelchair", "location", "address", "access_simple", "brand", "email", "phone"], "geometry": ["point", "area"], "terms": ["library", "bookcrossing"], "tags": {"amenity": "public_bookcase"}, "name": "Public Bookcase"}, "amenity/ranger_station": {"icon": "maki-ranger-station", "fields": ["name", "operator", "address", "building_area", "opening_hours"], "moreFields": ["email", "fax", "internet_access", "internet_access/fee", "internet_access/ssid", "phone", "website", "wheelchair"], "geometry": ["point", "area"], "terms": ["visitor center", "visitor centre", "permit center", "permit centre", "backcountry office", "warden office", "warden center"], "tags": {"amenity": "ranger_station"}, "name": "Ranger Station"}, "amenity/recycling_centre": {"icon": "maki-recycling", "fields": ["name", "operator", "operator/type", "address", "building", "opening_hours", "recycling_accepts"], "moreFields": ["fee", "payment_multi_fee", "website", "phone", "email", "fax", "wheelchair"], "geometry": ["point", "area"], "terms": ["bottle", "can", "dump", "glass", "garbage", "rubbish", "scrap", "trash"], "tags": {"amenity": "recycling", "recycling_type": "centre"}, "reference": {"key": "recycling_type", "value": "*"}, "name": "Recycling Center"}, "amenity/recycling_container": {"icon": "maki-recycling", "fields": ["operator", "recycling_accepts", "collection_times", "material", "colour"], "moreFields": ["covered", "indoor", "manufacturer"], "geometry": ["point", "area"], "terms": ["bin", "can", "bottle", "glass", "garbage", "rubbish", "scrap", "trash"], "tags": {"amenity": "recycling", "recycling_type": "container"}, "reference": {"key": "amenity", "value": "recycling"}, "name": "Recycling Container"}, diff --git a/data/presets/presets/amenity/public_bookcase.json b/data/presets/presets/amenity/public_bookcase.json index a0ff3350e..8289dec6a 100644 --- a/data/presets/presets/amenity/public_bookcase.json +++ b/data/presets/presets/amenity/public_bookcase.json @@ -2,6 +2,7 @@ "icon": "maki-library", "fields": [ "name", + "public_bookcase/type", "operator", "opening_hours", "capacity", @@ -11,6 +12,7 @@ "moreFields": [ "wheelchair", "location", + "address", "access_simple", "brand", "email", diff --git a/dist/locales/en.json b/dist/locales/en.json index 44763ac38..75df1b932 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -7912,6 +7912,9 @@ "name": "Transformer", "terms": "" }, + "public_bookcase/type": { + "label": "Type" + }, "public_transport/platform_point": { "name": "Transit Stop / Platform", "terms": "platform,public transit,public transportation,transit,transportation"