mirror of
https://github.com/openstreetmap/id-tagging-schema.git
synced 2025-10-26 12:23:52 +01:00
Show Advisory Speed Limit by default on link presets in Canada, U.S.
Canada and the United States generally post only an advisory speed limit and avoid posting a legal speed limit on highway ramps. Other countries differ. This change splits the maxspeed field into two as a workaround for the inability to limit the default inclusion of a field to a particular location set.
This commit is contained in:
parent
8e426229e8
commit
8b60bddd17
21 changed files with 67 additions and 8 deletions
|
|
@ -2,5 +2,8 @@
|
|||
"key": "maxspeed",
|
||||
"type": "roadspeed",
|
||||
"label": "Speed Limit",
|
||||
"placeholder": "40, 50, 60..."
|
||||
"placeholder": "40, 50, 60...",
|
||||
"locationSet": {
|
||||
"exclude": ["ca", "us"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,5 +2,8 @@
|
|||
"key": "maxspeed:advisory",
|
||||
"type": "roadspeed",
|
||||
"label": "Advisory Speed Limit",
|
||||
"placeholder": "40, 50, 60..."
|
||||
"placeholder": "40, 50, 60...",
|
||||
"locationSet": {
|
||||
"include": ["ca", "us"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
9
data/fields/maxspeed/advisory_mutcd.json
Normal file
9
data/fields/maxspeed/advisory_mutcd.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"key": "maxspeed:advisory",
|
||||
"type": "roadspeed",
|
||||
"label": "Advisory Speed Limit",
|
||||
"placeholder": "40, 50, 60...",
|
||||
"locationSet": {
|
||||
"exclude": ["ca", "us"]
|
||||
}
|
||||
}
|
||||
9
data/fields/maxspeed_mutcd.json
Normal file
9
data/fields/maxspeed_mutcd.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"key": "maxspeed",
|
||||
"type": "roadspeed",
|
||||
"label": "Speed Limit",
|
||||
"placeholder": "40, 50, 60...",
|
||||
"locationSet": {
|
||||
"include": ["ca", "us"]
|
||||
}
|
||||
}
|
||||
|
|
@ -2,7 +2,8 @@
|
|||
"icon": "temaki-golf_cart",
|
||||
"fields": [
|
||||
"{golf/path}",
|
||||
"maxspeed"
|
||||
"maxspeed",
|
||||
"maxspeed_mutcd"
|
||||
],
|
||||
"geometry": [
|
||||
"line"
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
"dog",
|
||||
"lit",
|
||||
"maxspeed",
|
||||
"maxspeed_mutcd",
|
||||
"maxweight_bridge",
|
||||
"not/name",
|
||||
"smoothness",
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
"name",
|
||||
"oneway",
|
||||
"maxspeed",
|
||||
"maxspeed_mutcd",
|
||||
"lanes",
|
||||
"surface",
|
||||
"structure",
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
"ref_road_number",
|
||||
"oneway_yes",
|
||||
"maxspeed",
|
||||
"maxspeed_mutcd",
|
||||
"lanes",
|
||||
"surface",
|
||||
"structure",
|
||||
|
|
@ -18,6 +19,7 @@
|
|||
"lit",
|
||||
"maxheight",
|
||||
"maxspeed/advisory",
|
||||
"maxspeed/advisory_mutcd",
|
||||
"maxweight_bridge",
|
||||
"minspeed",
|
||||
"not/name",
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
"junction/ref_oneway",
|
||||
"oneway",
|
||||
"maxspeed",
|
||||
"maxspeed/advisory",
|
||||
"maxspeed/advisory_mutcd",
|
||||
"lanes",
|
||||
"surface",
|
||||
"structure",
|
||||
|
|
@ -20,6 +20,8 @@
|
|||
"junction_line",
|
||||
"lit",
|
||||
"maxheight",
|
||||
"maxspeed_mutcd",
|
||||
"maxspeed/advisory",
|
||||
"maxweight_bridge",
|
||||
"name",
|
||||
"ref_road_number",
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
"name",
|
||||
"oneway",
|
||||
"maxspeed",
|
||||
"maxspeed_mutcd",
|
||||
"lanes",
|
||||
"surface",
|
||||
"structure",
|
||||
|
|
@ -20,6 +21,7 @@
|
|||
"lit",
|
||||
"maxheight",
|
||||
"maxspeed/advisory",
|
||||
"maxspeed/advisory_mutcd",
|
||||
"maxweight_bridge",
|
||||
"not/name",
|
||||
"oneway/bicycle",
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
"destination/ref_oneway",
|
||||
"oneway",
|
||||
"maxspeed",
|
||||
"maxspeed/advisory",
|
||||
"maxspeed/advisory_mutcd",
|
||||
"lanes",
|
||||
"surface",
|
||||
"structure",
|
||||
|
|
@ -22,6 +22,8 @@
|
|||
"junction/ref_oneway",
|
||||
"lit",
|
||||
"maxheight",
|
||||
"maxspeed_mutcd",
|
||||
"maxspeed/advisory",
|
||||
"maxweight_bridge",
|
||||
"name",
|
||||
"oneway/bicycle",
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@
|
|||
"name",
|
||||
"oneway",
|
||||
"maxspeed",
|
||||
"maxspeed_mutcd",
|
||||
"lanes",
|
||||
"surface",
|
||||
"structure",
|
||||
|
|
@ -18,6 +19,7 @@
|
|||
"lit",
|
||||
"maxheight",
|
||||
"maxspeed/advisory",
|
||||
"maxspeed/advisory_mutcd",
|
||||
"maxweight_bridge",
|
||||
"not/name",
|
||||
"oneway/bicycle",
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
"service",
|
||||
"oneway",
|
||||
"maxspeed",
|
||||
"maxspeed_mutcd",
|
||||
"surface",
|
||||
"structure",
|
||||
"access"
|
||||
|
|
@ -17,6 +18,7 @@
|
|||
"lit",
|
||||
"maxheight",
|
||||
"maxspeed/advisory",
|
||||
"maxspeed/advisory_mutcd",
|
||||
"maxweight_bridge",
|
||||
"oneway/bicycle",
|
||||
"smoothness",
|
||||
|
|
|
|||
|
|
@ -7,7 +7,8 @@
|
|||
"fields": [
|
||||
"direction",
|
||||
"ref",
|
||||
"maxspeed"
|
||||
"maxspeed",
|
||||
"maxspeed_mutcd"
|
||||
],
|
||||
"tags": {
|
||||
"highway": "speed_camera"
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
"ref_road_number",
|
||||
"oneway",
|
||||
"maxspeed",
|
||||
"maxspeed_mutcd",
|
||||
"lanes",
|
||||
"surface",
|
||||
"structure",
|
||||
|
|
@ -18,6 +19,7 @@
|
|||
"lit",
|
||||
"maxheight",
|
||||
"maxspeed/advisory",
|
||||
"maxspeed/advisory_mutcd",
|
||||
"maxweight_bridge",
|
||||
"minspeed",
|
||||
"not/name",
|
||||
|
|
|
|||
|
|
@ -15,6 +15,7 @@
|
|||
"highspeed",
|
||||
"incline",
|
||||
"maxspeed",
|
||||
"maxspeed_mutcd",
|
||||
"service_rail",
|
||||
"usage_rail",
|
||||
"voltage_electrified"
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@
|
|||
"electrified",
|
||||
"frequency_electrified",
|
||||
"maxspeed",
|
||||
"maxspeed_mutcd",
|
||||
"voltage_electrified"
|
||||
],
|
||||
"geometry": [
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
"frequency_electrified",
|
||||
"incline",
|
||||
"maxspeed",
|
||||
"maxspeed_mutcd",
|
||||
"voltage_electrified"
|
||||
],
|
||||
"geometry": [
|
||||
|
|
|
|||
|
|
@ -2,7 +2,8 @@
|
|||
"icon": "maki-square-stroked",
|
||||
"fields": [
|
||||
"{traffic_sign}",
|
||||
"maxspeed"
|
||||
"maxspeed",
|
||||
"maxspeed_mutcd"
|
||||
],
|
||||
"geometry": [
|
||||
"point",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
{
|
||||
"icon": "iD-relation",
|
||||
"fields": [
|
||||
"maxspeed"
|
||||
"maxspeed",
|
||||
"maxspeed_mutcd"
|
||||
],
|
||||
"geometry": [
|
||||
"relation"
|
||||
|
|
|
|||
|
|
@ -1496,6 +1496,18 @@ en:
|
|||
# maxspeed/advisory field placeholder
|
||||
placeholder: '40, 50, 60...'
|
||||
terms: '[translate with synonyms or related terms for ''Advisory Speed Limit'', separated by commas]'
|
||||
maxspeed/advisory_mutcd:
|
||||
# 'maxspeed:advisory=*'
|
||||
label: Advisory Speed Limit
|
||||
# maxspeed/advisory_mutcd field placeholder
|
||||
placeholder: '40, 50, 60...'
|
||||
terms: '[translate with synonyms or related terms for ''Advisory Speed Limit'', separated by commas]'
|
||||
maxspeed_mutcd:
|
||||
# maxspeed=*
|
||||
label: Speed Limit
|
||||
# maxspeed_mutcd field placeholder
|
||||
placeholder: '40, 50, 60...'
|
||||
terms: '[translate with synonyms or related terms for ''Speed Limit'', separated by commas]'
|
||||
maxstay:
|
||||
# maxstay=*
|
||||
label: Max Stay
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue