diff --git a/data/presets.yaml b/data/presets.yaml index 5a20a7349..73eb3e338 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -718,6 +718,9 @@ en: maxstay: # maxstay=* label: Max Stay + maxweight: + # maxweight=* + label: Max Weight mtb/scale: # 'mtb:scale=*' label: Mountain Biking Difficulty diff --git a/data/presets/fields.json b/data/presets/fields.json index 84097d3be..453eff4d8 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -1007,6 +1007,12 @@ ], "snake_case": false }, + "maxweight": { + "key": "maxweight", + "type": "combo", + "label": "Max Weight", + "snake_case": false + }, "mtb/scale": { "key": "mtb:scale", "type": "combo", diff --git a/data/presets/fields/maxweight.json b/data/presets/fields/maxweight.json new file mode 100644 index 000000000..973aa5bb4 --- /dev/null +++ b/data/presets/fields/maxweight.json @@ -0,0 +1,6 @@ +{ + "key": "maxweight", + "type": "combo", + "label": "Max Weight", + "snake_case": false +} diff --git a/data/presets/presets.json b/data/presets/presets.json index a4a9667fe..ba308aead 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -5389,6 +5389,7 @@ "fields": [ "access_simple", "opening_hours", + "maxweight", "ref" ], "geometry": [ diff --git a/data/presets/presets/highway/elevator.json b/data/presets/presets/highway/elevator.json index ae1b9a77d..43c74bbf8 100644 --- a/data/presets/presets/highway/elevator.json +++ b/data/presets/presets/highway/elevator.json @@ -3,6 +3,7 @@ "fields": [ "access_simple", "opening_hours", + "maxweight", "ref" ], "geometry": [ diff --git a/dist/locales/en.json b/dist/locales/en.json index 98829e6a7..34a234f9b 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -1541,6 +1541,9 @@ "maxstay": { "label": "Max Stay" }, + "maxweight": { + "label": "Max Weight" + }, "mtb/scale": { "label": "Mountain Biking Difficulty", "placeholder": "0, 1, 2, 3...",