Skip to content

Commit eeca6f1

Browse files
committed
Add traffic_sign=DE:240 presets
- only for Germany, since it's a German traffic sign - one preset for the tagging in combination with `highway=path`, which is dominant (25k) and one un-searchable for `highway=cycleway` (3k) https://taginfo.openstreetmap.org/tags/?key=traffic_sign&value=DE%3A240#combinations - the unsearchable uses the same `fields+moreFields` as the main preset - the `imageUrl` (https://github.com/ideditor/schema-builder/blob/main/schemas/preset.json#L62-L65) is the traffic sign from https://wiki.openstreetmap.org/wiki/DE:Tag:traffic_sign%3DDE:240 - the presets match on the two main tags and add the `addTags` or suggest to do so - should a mapper switch the preset back to something else, `removeTags` should remove the special tags that the mapper should re-add manually - the list of `fields+moreFields` are optimized for Germany: name move to moreFields (not commonly present on cycleways), segregated was added, sort order was changed for logical groups - the cycleway with `highway=path`-preset it still in the cycleway-folder, to keep them together
1 parent b3baf34 commit eeca6f1

File tree

2 files changed

+80
-0
lines changed

2 files changed

+80
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"locationSet": {
3+
"include": ["DE"]
4+
},
5+
"icon": "fas-biking",
6+
"imageURL": "https://upload.wikimedia.org/wikipedia/commons/0/08/Zeichen_240_-_Gemeinsamer_Fu%C3%9F-_und_Radweg%2C_StVO_1992.svg",
7+
"fields": ["{highway/cycleway/path-traffic-sign-DE-240}"],
8+
"moreFields": ["{highway/cycleway/path-traffic-sign-DE-240}"],
9+
"geometry": ["line"],
10+
"tags": {
11+
"highway": "cycleway",
12+
"traffic_sign": "DE:240"
13+
},
14+
"addTags": {
15+
"bicycle": "designated",
16+
"foot": "designated",
17+
"segregated": "no"
18+
},
19+
"removeTags": {
20+
"bicycle": "designated",
21+
"foot": "designated",
22+
"segregated": "no"
23+
},
24+
"terms": [],
25+
"name": "Cycle & Foot Path (Traffic sign DE:240)",
26+
"reference": {
27+
"key": "traffic_sign",
28+
"value": "DE:240"
29+
}
30+
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"locationSet": {
3+
"include": ["DE"]
4+
},
5+
"searchable": false,
6+
"icon": "fas-biking",
7+
"imageURL": "https://upload.wikimedia.org/wikipedia/commons/0/08/Zeichen_240_-_Gemeinsamer_Fu%C3%9F-_und_Radweg%2C_StVO_1992.svg",
8+
"fields": [
9+
"surface",
10+
"smoothness",
11+
"segregated",
12+
"access",
13+
"oneway",
14+
"width",
15+
"structure",
16+
"incline"
17+
],
18+
"moreFields": [
19+
"name",
20+
"covered_no",
21+
"dog",
22+
"lit",
23+
"maxspeed",
24+
"maxweight_bridge",
25+
"not/name",
26+
"stroller",
27+
"wheelchair"
28+
],
29+
"geometry": ["line"],
30+
"tags": {
31+
"highway": "path",
32+
"traffic_sign": "DE:240"
33+
},
34+
"addTags": {
35+
"bicycle": "designated",
36+
"foot": "designated",
37+
"segregated": "no"
38+
},
39+
"removeTags": {
40+
"bicycle": "designated",
41+
"foot": "designated",
42+
"segregated": "no"
43+
},
44+
"terms": [],
45+
"name": "Cycle & Foot Path (Traffic sign DE:240)",
46+
"reference": {
47+
"key": "traffic_sign",
48+
"value": "DE:240"
49+
}
50+
}

0 commit comments

Comments
 (0)