From 7d9e984acd9dd070e60721d0e7b77b3e9687510c Mon Sep 17 00:00:00 2001 From: umarpreet1 Date: Thu, 15 Mar 2018 09:17:53 +0530 Subject: [PATCH] Advisory speed limit added (#4870) maxspeed:advisory speed limit added --- data/presets/fields.json | 8 +++++++- data/presets/fields/maxspeed/advisory.json | 6 ++++++ data/presets/presets/highway/motorway_link.json | 2 +- data/presets/presets/highway/primary_link.json | 2 +- data/presets/presets/highway/secondary_link.json | 2 +- data/presets/presets/highway/tertiary_link.json | 2 +- data/presets/presets/highway/trunk_link.json | 2 +- 7 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 data/presets/fields/maxspeed/advisory.json diff --git a/data/presets/fields.json b/data/presets/fields.json index 6b9369f03..f85f292ea 100644 --- a/data/presets/fields.json +++ b/data/presets/fields.json @@ -1139,6 +1139,12 @@ "label": "Speed Limit", "placeholder": "40, 50, 60..." }, + "maxspeed/advisory":{ + "key": "maxspeed:advisory", + "type": "maxspeed", + "label": "Advisory Speed Limit", + "placeholder": "40, 50, 60..." + }, "maxstay": { "key": "maxstay", "type": "combo", @@ -2251,4 +2257,4 @@ } } } -} \ No newline at end of file +} diff --git a/data/presets/fields/maxspeed/advisory.json b/data/presets/fields/maxspeed/advisory.json new file mode 100644 index 000000000..ec1e59309 --- /dev/null +++ b/data/presets/fields/maxspeed/advisory.json @@ -0,0 +1,6 @@ +{ + "key": "maxspeed:advisory", + "type": "maxspeed", + "label": "Advisory Speed Limit", + "placeholder": "40, 50, 60..." +} diff --git a/data/presets/presets/highway/motorway_link.json b/data/presets/presets/highway/motorway_link.json index c64f6e950..18451f6a5 100644 --- a/data/presets/presets/highway/motorway_link.json +++ b/data/presets/presets/highway/motorway_link.json @@ -4,7 +4,7 @@ "name", "ref_road_number", "oneway", - "maxspeed", + "maxspeed/advisory", "lanes", "surface", "structure", diff --git a/data/presets/presets/highway/primary_link.json b/data/presets/presets/highway/primary_link.json index df1725340..fd43e47b0 100644 --- a/data/presets/presets/highway/primary_link.json +++ b/data/presets/presets/highway/primary_link.json @@ -3,7 +3,7 @@ "fields": [ "name", "oneway", - "maxspeed", + "maxspeed/advisory", "lanes", "surface", "maxheight", diff --git a/data/presets/presets/highway/secondary_link.json b/data/presets/presets/highway/secondary_link.json index d154d9705..d877bbe3c 100644 --- a/data/presets/presets/highway/secondary_link.json +++ b/data/presets/presets/highway/secondary_link.json @@ -3,7 +3,7 @@ "fields": [ "name", "oneway", - "maxspeed", + "maxspeed/advisory", "lanes", "surface", "structure", diff --git a/data/presets/presets/highway/tertiary_link.json b/data/presets/presets/highway/tertiary_link.json index 753ef80ed..df5531fe9 100644 --- a/data/presets/presets/highway/tertiary_link.json +++ b/data/presets/presets/highway/tertiary_link.json @@ -3,7 +3,7 @@ "fields": [ "name", "oneway", - "maxspeed", + "maxspeed/advisory", "lanes", "surface", "structure", diff --git a/data/presets/presets/highway/trunk_link.json b/data/presets/presets/highway/trunk_link.json index 023cad5d3..ea5265ee2 100644 --- a/data/presets/presets/highway/trunk_link.json +++ b/data/presets/presets/highway/trunk_link.json @@ -4,7 +4,7 @@ "name", "ref_road_number", "oneway", - "maxspeed", + "maxspeed/advisory", "lanes", "surface", "structure",