switch to regional presets instead of regional fields

also limit to ramps of type motorway, trunk and primary.
This commit is contained in:
Martin Raifer
2022-01-04 12:21:11 +01:00
parent 8b60bddd17
commit 8c59cdac6e
29 changed files with 305 additions and 68 deletions
+14 -2
View File
@@ -1603,11 +1603,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",
+1 -1
View File
File diff suppressed because one or more lines are too long
+129
View File
@@ -10391,6 +10391,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": [
@@ -10425,6 +10467,12 @@
],
"tags": {
"highway": "motorway_link"
},
"locationSet": {
"exclude": [
"ca",
"us"
]
}
},
"highway/motorway": {
@@ -10446,6 +10494,7 @@
"junction_line",
"lit",
"maxheight",
"maxspeed/advisory",
"maxweight_bridge",
"minspeed",
"not/name",
@@ -10601,6 +10650,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": [
@@ -10639,6 +10734,12 @@
],
"tags": {
"highway": "primary_link"
},
"locationSet": {
"exclude": [
"ca",
"us"
]
}
},
"highway/primary": {
@@ -11218,6 +11319,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": [
@@ -11231,6 +11353,12 @@
],
"tags": {
"highway": "trunk_link"
},
"locationSet": {
"exclude": [
"ca",
"us"
]
}
},
"highway/trunk": {
@@ -11252,6 +11380,7 @@
"junction_line",
"lit",
"maxheight",
"maxspeed/advisory",
"maxweight_bridge",
"minspeed",
"not/name",
+1 -1
View File
File diff suppressed because one or more lines are too long