From e911166b48920f4cc1a3c4e2a85daaa9575cfb48 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Thu, 29 Aug 2013 17:06:27 -0700 Subject: [PATCH] Refine cycleway preset (#1003) --- data/presets.yaml | 2 ++ data/presets/fields.json | 5 +++++ data/presets/fields/lit.json | 5 +++++ data/presets/presets.json | 5 +++-- data/presets/presets/highway/cycleway.json | 5 +++-- dist/locales/en.json | 3 +++ 6 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 data/presets/fields/lit.json diff --git a/data/presets.yaml b/data/presets.yaml index 8acc09b34..fd647c973 100644 --- a/data/presets.yaml +++ b/data/presets.yaml @@ -153,6 +153,8 @@ en: levels: label: Levels placeholder: "2, 4, 6..." + lit: + label: Lit location: label: Location man_made: diff --git a/data/presets/fields.json b/data/presets/fields.json index 6392661fd..8814a44fa 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -358,6 +358,11 @@ "label": "Levels", "placeholder": "2, 4, 6..." }, + "lit": { + "key": "lit", + "type": "check", + "label": "Lit" + }, "location": { "key": "location", "type": "combo", diff --git a/data/presets/fields/lit.json b/data/presets/fields/lit.json new file mode 100644 index 000000000..cb6b0b5f7 --- /dev/null +++ b/data/presets/fields/lit.json @@ -0,0 +1,5 @@ +{ + "key": "lit", + "type": "check", + "label": "Lit" +} \ No newline at end of file diff --git a/data/presets/presets.json b/data/presets/presets.json index 864956484..02a5ba106 100644 --- a/data/presets/presets.json +++ b/data/presets/presets.json @@ -1654,10 +1654,11 @@ "highway/cycleway": { "icon": "highway-cycleway", "fields": [ - "oneway", + "surface", + "lit", "structure", "access", - "surface" + "oneway" ], "geometry": [ "line" diff --git a/data/presets/presets/highway/cycleway.json b/data/presets/presets/highway/cycleway.json index 29b315472..ca143c40d 100644 --- a/data/presets/presets/highway/cycleway.json +++ b/data/presets/presets/highway/cycleway.json @@ -1,10 +1,11 @@ { "icon": "highway-cycleway", "fields": [ - "oneway", + "surface", + "lit", "structure", "access", - "surface" + "oneway" ], "geometry": [ "line" diff --git a/dist/locales/en.json b/dist/locales/en.json index 4fbda0bf3..003e3ae09 100644 --- a/dist/locales/en.json +++ b/dist/locales/en.json @@ -590,6 +590,9 @@ "label": "Levels", "placeholder": "2, 4, 6..." }, + "lit": { + "label": "Lit" + }, "location": { "label": "Location" },