From 30c44a8729b6efb5429f34a1d6c745c4aa82cab5 Mon Sep 17 00:00:00 2001 From: Ansis Brammanis Date: Sun, 10 Mar 2013 00:29:16 -0500 Subject: [PATCH] use radio to set bridge, tunnel, ... on highways --- data/presets/forms/roadtype.json | 10 ++++++++++ data/presets/presets/highway/cycleway.json | 5 ++--- data/presets/presets/highway/motorway.json | 5 ++--- data/presets/presets/highway/path.json | 3 +-- data/presets/presets/highway/primary.json | 5 ++--- data/presets/presets/highway/residential.json | 3 +-- data/presets/presets/highway/secondary.json | 3 +-- data/presets/presets/highway/tertiary.json | 3 +-- data/presets/presets/highway/track.json | 3 +-- data/presets/presets/highway/trunk.json | 3 +-- data/presets/presets/highway/unclassified.json | 3 +-- 11 files changed, 23 insertions(+), 23 deletions(-) create mode 100644 data/presets/forms/roadtype.json diff --git a/data/presets/forms/roadtype.json b/data/presets/forms/roadtype.json new file mode 100644 index 000000000..4d8583857 --- /dev/null +++ b/data/presets/forms/roadtype.json @@ -0,0 +1,10 @@ +{ + "title": " ", + "type": "radio", + "options": [ + "bridge", + "tunnel", + "embankment", + "cutting" + ] +} diff --git a/data/presets/presets/highway/cycleway.json b/data/presets/presets/highway/cycleway.json index b13fc577c..bcccf5962 100644 --- a/data/presets/presets/highway/cycleway.json +++ b/data/presets/presets/highway/cycleway.json @@ -12,10 +12,9 @@ "icon": "highway-cycleway", "form": [ "oneway", - "bridge", - "tunnel", + "roadtype", "access", "maxspeed", "surface" ] -} \ No newline at end of file +} diff --git a/data/presets/presets/highway/motorway.json b/data/presets/presets/highway/motorway.json index 79bbf8158..bdec8ba38 100644 --- a/data/presets/presets/highway/motorway.json +++ b/data/presets/presets/highway/motorway.json @@ -12,10 +12,9 @@ "icon": "highway-motorway", "form": [ "oneway", - "bridge", - "tunnel", + "roadtype", "access", "maxspeed", "surface" ] -} \ No newline at end of file +} diff --git a/data/presets/presets/highway/path.json b/data/presets/presets/highway/path.json index bb209404a..cb24ac7f5 100644 --- a/data/presets/presets/highway/path.json +++ b/data/presets/presets/highway/path.json @@ -12,8 +12,7 @@ "icon": "highway-path", "form": [ "oneway", - "bridge", - "tunnel", + "roadtype", "access", "maxspeed", "surface" diff --git a/data/presets/presets/highway/primary.json b/data/presets/presets/highway/primary.json index a1d93f3f5..7dc80e0cd 100644 --- a/data/presets/presets/highway/primary.json +++ b/data/presets/presets/highway/primary.json @@ -12,10 +12,9 @@ "icon": "highway-primary", "form": [ "oneway", - "bridge", - "tunnel", + "roadtype", "access", "maxspeed", "surface" ] -} \ No newline at end of file +} diff --git a/data/presets/presets/highway/residential.json b/data/presets/presets/highway/residential.json index 4194fd4d2..062850a1a 100644 --- a/data/presets/presets/highway/residential.json +++ b/data/presets/presets/highway/residential.json @@ -12,8 +12,7 @@ "icon": "highway-residential", "form": [ "oneway", - "bridge", - "tunnel", + "roadtype", "access", "maxspeed", "surface" diff --git a/data/presets/presets/highway/secondary.json b/data/presets/presets/highway/secondary.json index 04d698dec..5d837853b 100644 --- a/data/presets/presets/highway/secondary.json +++ b/data/presets/presets/highway/secondary.json @@ -12,8 +12,7 @@ "icon": "highway-secondary", "form": [ "oneway", - "bridge", - "tunnel", + "roadtype", "access", "maxspeed", "surface" diff --git a/data/presets/presets/highway/tertiary.json b/data/presets/presets/highway/tertiary.json index 8105129c9..03b764fee 100644 --- a/data/presets/presets/highway/tertiary.json +++ b/data/presets/presets/highway/tertiary.json @@ -12,8 +12,7 @@ "icon": "highway-tertiary", "form": [ "oneway", - "bridge", - "tunnel", + "roadtype", "access", "maxspeed", "surface" diff --git a/data/presets/presets/highway/track.json b/data/presets/presets/highway/track.json index d5073aa85..d0812cced 100644 --- a/data/presets/presets/highway/track.json +++ b/data/presets/presets/highway/track.json @@ -12,8 +12,7 @@ "icon": "highway-track", "form": [ "oneway", - "bridge", - "tunnel", + "roadtype", "access", "maxspeed", "surface" diff --git a/data/presets/presets/highway/trunk.json b/data/presets/presets/highway/trunk.json index 5da52aae0..424e735ee 100644 --- a/data/presets/presets/highway/trunk.json +++ b/data/presets/presets/highway/trunk.json @@ -12,8 +12,7 @@ "icon": "highway-trunk", "form": [ "oneway", - "bridge", - "tunnel", + "roadtype", "access", "maxspeed", "surface" diff --git a/data/presets/presets/highway/unclassified.json b/data/presets/presets/highway/unclassified.json index ab788acc3..cf7a6d157 100644 --- a/data/presets/presets/highway/unclassified.json +++ b/data/presets/presets/highway/unclassified.json @@ -12,8 +12,7 @@ "icon": "highway", "form": [ "oneway", - "bridge", - "tunnel", + "roadtype", "access", "maxspeed", "surface"