From 506c7302468aac4d3f03661c1630ccacbbdae82e Mon Sep 17 00:00:00 2001 From: Hyunseung Park Date: Thu, 14 Aug 2025 20:11:39 +0900 Subject: [PATCH 1/3] Add maxspeed:variable field --- data/fields/maxspeed_variable.json | 18 ++++++++++++++++++ data/presets/highway/motorway.json | 1 + data/presets/highway/primary.json | 1 + data/presets/highway/residential.json | 1 + data/presets/highway/trunk.json | 1 + 5 files changed, 22 insertions(+) create mode 100644 data/fields/maxspeed_variable.json diff --git a/data/fields/maxspeed_variable.json b/data/fields/maxspeed_variable.json new file mode 100644 index 00000000..aef96a65 --- /dev/null +++ b/data/fields/maxspeed_variable.json @@ -0,0 +1,18 @@ +{ + "key": "maxspeed:variable", + "type": "combo", + "label": "Variable Speed Limit", + "snake_case": false, + "strings": { + "options": { + "yes": "Yes", + "peak_traffic": "During peak hours", + "weather": "Due to weather conditions", + "environment": "Due to environmental reasons", + "school_zone": "Due to nearby schools", + "obstruction": "Due to exceptional incidents", + "border_control": "Due to border checks", + "no": "No" + } + } +} diff --git a/data/presets/highway/motorway.json b/data/presets/highway/motorway.json index 8a7e52aa..8d3ec245 100644 --- a/data/presets/highway/motorway.json +++ b/data/presets/highway/motorway.json @@ -22,6 +22,7 @@ "maxlength", "maxspeed/advisory", "maxspeed/hgv", + "maxspeed/variable", "maxweight_bridge", "maxwidth", "minspeed", diff --git a/data/presets/highway/primary.json b/data/presets/highway/primary.json index 8e3daa6a..3f31ace2 100644 --- a/data/presets/highway/primary.json +++ b/data/presets/highway/primary.json @@ -26,6 +26,7 @@ "maxlength", "maxspeed/advisory", "maxspeed/hgv", + "maxspeed/variable", "maxweight_bridge", "maxwidth", "not/name", diff --git a/data/presets/highway/residential.json b/data/presets/highway/residential.json index 0a9746fa..8537d2c0 100644 --- a/data/presets/highway/residential.json +++ b/data/presets/highway/residential.json @@ -24,6 +24,7 @@ "maxheight", "maxlength", "maxspeed/advisory", + "maxspeed/variable", "maxweight", "maxwidth", "not/name", diff --git a/data/presets/highway/trunk.json b/data/presets/highway/trunk.json index c3fec98e..4830ed6d 100644 --- a/data/presets/highway/trunk.json +++ b/data/presets/highway/trunk.json @@ -23,6 +23,7 @@ "maxlength", "maxspeed/advisory", "maxspeed/hgv", + "maxspeed/variable", "maxweight_bridge", "maxwidth", "minspeed", From 85365f0bfccbe73de8458a40aa1a8d16669e4709 Mon Sep 17 00:00:00 2001 From: Hyunseung Park Date: Thu, 14 Aug 2025 22:29:14 +0900 Subject: [PATCH 2/3] solve error in file directory --- data/fields/{maxspeed_variable.json => maxspeed/variable.json} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename data/fields/{maxspeed_variable.json => maxspeed/variable.json} (100%) diff --git a/data/fields/maxspeed_variable.json b/data/fields/maxspeed/variable.json similarity index 100% rename from data/fields/maxspeed_variable.json rename to data/fields/maxspeed/variable.json From 7fa3ddd834473247d6d8e8b484225e71e47188a4 Mon Sep 17 00:00:00 2001 From: Hyunseung Park Date: Fri, 24 Oct 2025 23:27:41 +0900 Subject: [PATCH 3/3] Update data/fields/maxspeed/variable.json Co-authored-by: Mateusz Konieczny --- data/fields/maxspeed/variable.json | 1 - 1 file changed, 1 deletion(-) diff --git a/data/fields/maxspeed/variable.json b/data/fields/maxspeed/variable.json index aef96a65..22f3c5e7 100644 --- a/data/fields/maxspeed/variable.json +++ b/data/fields/maxspeed/variable.json @@ -2,7 +2,6 @@ "key": "maxspeed:variable", "type": "combo", "label": "Variable Speed Limit", - "snake_case": false, "strings": { "options": { "yes": "Yes",