Merge branch 'maxspeed-advisory-default' into main

This commit is contained in:
Martin Raifer 2022-01-04 12:33:40 +01:00
commit eeae902763
No known key found for this signature in database
GPG key ID: 3CD561F7B1C461BD
17 changed files with 311 additions and 13 deletions

View file

@ -2,5 +2,8 @@
"key": "maxspeed",
"type": "roadspeed",
"label": "Speed Limit",
"placeholder": "40, 50, 60..."
"placeholder": "40, 50, 60...",
"locationSet": {
"exclude": ["ca", "us"]
}
}

View file

@ -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"]
}
}

View file

@ -17,6 +17,7 @@
"junction_line",
"lit",
"maxheight",
"maxspeed/advisory",
"maxweight_bridge",
"minspeed",
"not/name",

View file

@ -0,0 +1,48 @@
{
"name": "Motorway Link",
"icon": "iD-highway-motorway-link",
"fields": [
"destination_oneway",
"destination/ref_oneway",
"junction/ref_oneway",
"oneway",
"maxspeed/advisory",
"lanes",
"surface",
"structure",
"access"
],
"moreFields": [
"charge_toll",
"covered",
"destination/symbol_oneway",
"incline",
"junction_line",
"lit",
"maxheight",
"maxspeed",
"maxweight_bridge",
"name",
"ref_road_number",
"smoothness",
"toll",
"width"
],
"geometry": [
"line"
],
"tags": {
"highway": "motorway_link"
},
"terms": [
"exit",
"ramp",
"road",
"street",
"on ramp",
"off ramp"
],
"locationSet": {
"include": ["ca", "us"]
}
}

View file

@ -1,4 +1,5 @@
{
"name": "Motorway Link",
"icon": "iD-highway-motorway-link",
"fields": [
"destination_oneway",
@ -41,5 +42,7 @@
"on ramp",
"off ramp"
],
"name": "Motorway Link"
"locationSet": {
"exclude": ["ca", "us"]
}
}

View file

@ -0,0 +1,51 @@
{
"name": "Primary Link",
"icon": "iD-highway-primary-link",
"fields": [
"destination_oneway",
"destination/ref_oneway",
"oneway",
"maxspeed/advisory",
"lanes",
"surface",
"structure",
"access"
],
"moreFields": [
"charge_toll",
"covered",
"cycleway",
"destination/symbol_oneway",
"flood_prone",
"incline",
"junction_line",
"junction/ref_oneway",
"lit",
"maxheight",
"maxspeed",
"maxweight_bridge",
"name",
"oneway/bicycle",
"ref_road_number",
"smoothness",
"toll",
"trolley_wire",
"width"
],
"geometry": [
"line"
],
"tags": {
"highway": "primary_link"
},
"terms": [
"on ramp",
"off ramp",
"ramp",
"road",
"street"
],
"locationSet": {
"include": ["ca", "us"]
}
}

View file

@ -1,4 +1,5 @@
{
"name": "Primary Link",
"icon": "iD-highway-primary-link",
"fields": [
"destination_oneway",
@ -44,5 +45,7 @@
"road",
"street"
],
"name": "Primary Link"
"locationSet": {
"exclude": ["ca", "us"]
}
}

View file

@ -1,4 +1,5 @@
{
"name": "Secondary Link",
"icon": "iD-highway-secondary-link",
"fields": [
"{highway/primary_link}"
@ -18,6 +19,5 @@
"ramp",
"road",
"street"
],
"name": "Secondary Link"
]
}

View file

@ -1,4 +1,5 @@
{
"name": "Tertiary Link",
"icon": "iD-highway-tertiary-link",
"fields": [
"{highway/primary_link}"
@ -18,6 +19,5 @@
"ramp",
"road",
"street"
],
"name": "Tertiary Link"
]
}

View file

@ -18,6 +18,7 @@
"junction_line",
"lit",
"maxheight",
"maxspeed/advisory",
"maxweight_bridge",
"minspeed",
"not/name",

View file

@ -0,0 +1,26 @@
{
"name": "Trunk Link",
"icon": "iD-highway-trunk-link",
"fields": [
"{highway/motorway_link-US-CA}"
],
"moreFields": [
"{highway/motorway_link-US-CA}"
],
"geometry": [
"line"
],
"tags": {
"highway": "trunk_link"
},
"terms": [
"on ramp",
"off ramp",
"ramp",
"road",
"street"
],
"locationSet": {
"include": ["ca", "us"]
}
}

View file

@ -1,4 +1,5 @@
{
"name": "Trunk Link",
"icon": "iD-highway-trunk-link",
"fields": [
"{highway/motorway_link}"
@ -19,5 +20,7 @@
"road",
"street"
],
"name": "Trunk Link"
"locationSet": {
"exclude": ["ca", "us"]
}
}

16
dist/fields.json vendored
View file

@ -1737,11 +1737,23 @@
},
"maxspeed": {
"key": "maxspeed",
"type": "roadspeed"
"type": "roadspeed",
"locationSet": {
"exclude": [
"ca",
"us"
]
}
},
"maxspeed/advisory": {
"key": "maxspeed:advisory",
"type": "roadspeed"
"type": "roadspeed",
"locationSet": {
"include": [
"ca",
"us"
]
}
},
"maxstay": {
"key": "maxstay",

File diff suppressed because one or more lines are too long

129
dist/presets.json vendored
View file

@ -10520,6 +10520,48 @@
"highway": "motorway_junction"
}
},
"highway/motorway_link-US-CA": {
"icon": "iD-highway-motorway-link",
"fields": [
"destination_oneway",
"destination/ref_oneway",
"junction/ref_oneway",
"oneway",
"maxspeed/advisory",
"lanes",
"surface",
"structure",
"access"
],
"moreFields": [
"charge_toll",
"covered",
"destination/symbol_oneway",
"incline",
"junction_line",
"lit",
"maxheight",
"maxspeed",
"maxweight_bridge",
"name",
"ref_road_number",
"smoothness",
"toll",
"width"
],
"geometry": [
"line"
],
"tags": {
"highway": "motorway_link"
},
"locationSet": {
"include": [
"ca",
"us"
]
}
},
"highway/motorway_link": {
"icon": "iD-highway-motorway-link",
"fields": [
@ -10554,6 +10596,12 @@
],
"tags": {
"highway": "motorway_link"
},
"locationSet": {
"exclude": [
"ca",
"us"
]
}
},
"highway/motorway": {
@ -10575,6 +10623,7 @@
"junction_line",
"lit",
"maxheight",
"maxspeed/advisory",
"maxweight_bridge",
"minspeed",
"not/name",
@ -10730,6 +10779,52 @@
"highway": "pedestrian"
}
},
"highway/primary_link-US-CA": {
"icon": "iD-highway-primary-link",
"fields": [
"destination_oneway",
"destination/ref_oneway",
"oneway",
"maxspeed/advisory",
"lanes",
"surface",
"structure",
"access"
],
"moreFields": [
"charge_toll",
"covered",
"cycleway",
"destination/symbol_oneway",
"flood_prone",
"incline",
"junction_line",
"junction/ref_oneway",
"lit",
"maxheight",
"maxspeed",
"maxweight_bridge",
"name",
"oneway/bicycle",
"ref_road_number",
"smoothness",
"toll",
"trolley_wire",
"width"
],
"geometry": [
"line"
],
"tags": {
"highway": "primary_link"
},
"locationSet": {
"include": [
"ca",
"us"
]
}
},
"highway/primary_link": {
"icon": "iD-highway-primary-link",
"fields": [
@ -10768,6 +10863,12 @@
],
"tags": {
"highway": "primary_link"
},
"locationSet": {
"exclude": [
"ca",
"us"
]
}
},
"highway/primary": {
@ -11348,6 +11449,27 @@
"highway": "trailhead"
}
},
"highway/trunk_link-US-CA": {
"icon": "iD-highway-trunk-link",
"fields": [
"{highway/motorway_link-US-CA}"
],
"moreFields": [
"{highway/motorway_link-US-CA}"
],
"geometry": [
"line"
],
"tags": {
"highway": "trunk_link"
},
"locationSet": {
"include": [
"ca",
"us"
]
}
},
"highway/trunk_link": {
"icon": "iD-highway-trunk-link",
"fields": [
@ -11361,6 +11483,12 @@
],
"tags": {
"highway": "trunk_link"
},
"locationSet": {
"exclude": [
"ca",
"us"
]
}
},
"highway/trunk": {
@ -11383,6 +11511,7 @@
"junction_line",
"lit",
"maxheight",
"maxspeed/advisory",
"maxweight_bridge",
"minspeed",
"not/name",

File diff suppressed because one or more lines are too long

View file

@ -5790,6 +5790,11 @@ en:
name: Motorway Link
# 'terms: exit,ramp,road,street,on ramp,off ramp'
terms: '<translate with synonyms or related terms for ''Motorway Link'', separated by commas>'
highway/motorway_link-US-CA:
# 'highway=motorway_link\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).'
name: Motorway Link
# 'terms: exit,ramp,road,street,on ramp,off ramp'
terms: '<translate with synonyms or related terms for ''Motorway Link'', separated by commas>'
highway/passing_place:
# 'highway=passing_place\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).'
name: Passing Place
@ -5830,6 +5835,11 @@ en:
name: Primary Link
# 'terms: on ramp,off ramp,ramp,road,street'
terms: '<translate with synonyms or related terms for ''Primary Link'', separated by commas>'
highway/primary_link-US-CA:
# 'highway=primary_link\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).'
name: Primary Link
# 'terms: on ramp,off ramp,ramp,road,street'
terms: '<translate with synonyms or related terms for ''Primary Link'', separated by commas>'
highway/raceway:
# 'highway=raceway\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).'
name: Motorsport Racetrack
@ -5974,6 +5984,11 @@ en:
name: Trunk Link
# 'terms: on ramp,off ramp,ramp,road,street'
terms: '<translate with synonyms or related terms for ''Trunk Link'', separated by commas>'
highway/trunk_link-US-CA:
# 'highway=trunk_link\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).'
name: Trunk Link
# 'terms: on ramp,off ramp,ramp,road,street'
terms: '<translate with synonyms or related terms for ''Trunk Link'', separated by commas>'
highway/turning_circle:
# 'highway=turning_circle\n\nTranslate the primary name. Optionally, add equivalent synonyms on newlines in order of preference (press the Return key).'
name: Turning Circle