Skip to content

Commit

Permalink
Fix issue where iD would suggest adding highway=crossing to railway=c…
Browse files Browse the repository at this point in the history
…rossing + crossing=marked or crossing=unmarked (close #6508)
  • Loading branch information
quincylvania committed Jun 16, 2019
1 parent 6432a0c commit 21e52bd
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
6 changes: 3 additions & 3 deletions data/presets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4279,17 +4279,17 @@ en:
# highway=crossing
name: Crossing
highway/crossing/marked:
# crossing=marked
# 'highway=crossing, crossing=marked'
name: Marked Crosswalk
# 'terms: zebra crossing,marked crossing,crosswalk'
terms: '<translate with synonyms or related terms for ''Marked Crosswalk'', separated by commas>'
highway/crossing/marked-raised:
# 'crossing=marked, traffic_calming=table'
# 'highway=crossing, crossing=marked, traffic_calming=table'
name: Marked Crosswalk (Raised)
# 'terms: zebra crossing,marked crossing,crosswalk,flat top,hump,speed,slow'
terms: '<translate with synonyms or related terms for ''Marked Crosswalk (Raised)'', separated by commas>'
highway/crossing/unmarked:
# crossing=unmarked
# 'highway=crossing, crossing=unmarked'
name: Unmarked Crossing
terms: '<translate with synonyms or related terms for ''Unmarked Crossing'', separated by commas>'
highway/crossing/unmarked-raised:
Expand Down
6 changes: 3 additions & 3 deletions data/presets/presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -457,10 +457,10 @@
"highway/corridor": {"icon": "temaki-pedestrian", "fields": ["name", "width", "level", "access_simple", "wheelchair"], "moreFields": ["covered", "indoor", "maxheight"], "geometry": ["line"], "tags": {"highway": "corridor"}, "addTags": {"highway": "corridor", "indoor": "yes"}, "terms": ["gallery", "hall", "hallway", "indoor", "passage", "passageway"], "name": "Indoor Corridor"},
"highway/crossing/zebra-raised": {"icon": "temaki-pedestrian", "fields": ["crossing", "tactile_paving"], "geometry": ["vertex"], "tags": {"highway": "crossing", "crossing": "zebra", "traffic_calming": "table"}, "reference": {"key": "traffic_calming", "value": "table"}, "terms": ["zebra crossing", "marked crossing", "crosswalk", "flat top", "hump", "speed", "slow"], "name": "Marked Crosswalk (Raised)", "searchable": false},
"highway/crossing/zebra": {"icon": "temaki-pedestrian", "fields": ["crossing", "tactile_paving"], "geometry": ["vertex"], "tags": {"highway": "crossing", "crossing": "zebra"}, "reference": {"key": "highway", "value": "crossing"}, "terms": ["zebra crossing", "marked crossing", "crosswalk"], "name": "Marked Crosswalk", "searchable": false},
"highway/crossing/marked-raised": {"icon": "temaki-pedestrian", "fields": ["crossing", "tactile_paving"], "geometry": ["vertex"], "tags": {"crossing": "marked", "traffic_calming": "table"}, "addTags": {"highway": "crossing", "crossing": "marked", "traffic_calming": "table"}, "reference": {"key": "traffic_calming", "value": "table"}, "terms": ["zebra crossing", "marked crossing", "crosswalk", "flat top", "hump", "speed", "slow"], "name": "Marked Crosswalk (Raised)"},
"highway/crossing/marked": {"icon": "temaki-pedestrian", "fields": ["crossing", "tactile_paving"], "geometry": ["vertex"], "tags": {"crossing": "marked"}, "addTags": {"highway": "crossing", "crossing": "marked"}, "reference": {"key": "highway", "value": "crossing"}, "terms": ["zebra crossing", "marked crossing", "crosswalk"], "name": "Marked Crosswalk"},
"highway/crossing/marked-raised": {"icon": "temaki-pedestrian", "fields": ["crossing", "tactile_paving"], "geometry": ["vertex"], "tags": {"highway": "crossing", "crossing": "marked", "traffic_calming": "table"}, "addTags": {"highway": "crossing", "crossing": "marked", "traffic_calming": "table"}, "reference": {"key": "traffic_calming", "value": "table"}, "terms": ["zebra crossing", "marked crossing", "crosswalk", "flat top", "hump", "speed", "slow"], "name": "Marked Crosswalk (Raised)"},
"highway/crossing/marked": {"icon": "temaki-pedestrian", "fields": ["crossing", "tactile_paving"], "geometry": ["vertex"], "tags": {"highway": "crossing", "crossing": "marked"}, "addTags": {"highway": "crossing", "crossing": "marked"}, "reference": {"key": "highway", "value": "crossing"}, "terms": ["zebra crossing", "marked crossing", "crosswalk"], "name": "Marked Crosswalk"},
"highway/crossing/unmarked-raised": {"icon": "temaki-pedestrian", "fields": ["crossing", "tactile_paving"], "geometry": ["vertex"], "tags": {"highway": "crossing", "crossing": "unmarked", "traffic_calming": "table"}, "reference": {"key": "traffic_calming", "value": "table"}, "terms": ["flat top", "hump", "speed", "slow"], "name": "Unmarked Crossing (Raised)"},
"highway/crossing/unmarked": {"icon": "temaki-pedestrian", "fields": ["crossing", "tactile_paving"], "geometry": ["vertex"], "tags": {"crossing": "unmarked"}, "addTags": {"highway": "crossing", "crossing": "unmarked"}, "reference": {"key": "crossing", "value": "unmarked"}, "terms": [], "name": "Unmarked Crossing"},
"highway/crossing/unmarked": {"icon": "temaki-pedestrian", "fields": ["crossing", "tactile_paving"], "geometry": ["vertex"], "tags": {"highway": "crossing", "crossing": "unmarked"}, "addTags": {"highway": "crossing", "crossing": "unmarked"}, "reference": {"key": "crossing", "value": "unmarked"}, "terms": [], "name": "Unmarked Crossing"},
"highway/cycleway": {"icon": "maki-bicycle", "fields": ["name", "oneway", "surface", "width", "structure", "access", "incline"], "moreFields": ["covered", "dog", "lit", "maxspeed", "maxweight_bridge", "smoothness", "wheelchair"], "geometry": ["line"], "tags": {"highway": "cycleway"}, "terms": ["bike path", "bicyle path"], "matchScore": 0.9, "name": "Cycle Path"},
"highway/cycleway/crossing": {"icon": "maki-bicycle", "fields": ["crossing", "access", "surface", "tactile_paving"], "geometry": ["line"], "tags": {"cycleway": "crossing"}, "addTags": {"highway": "cycleway", "cycleway": "crossing"}, "reference": {"key": "cycleway", "value": "crossing"}, "searchable": false, "matchScore": 0.95, "name": "Cycle Crossing"},
"highway/cycleway/bicycle_foot": {"icon": "maki-bicycle", "geometry": ["line"], "tags": {"highway": "cycleway", "foot": "designated"}, "addTags": {"highway": "cycleway", "foot": "designated", "bicycle": "designated"}, "terms": ["bicycle and foot path", "bike and pedestrian path", "green way", "greenway", "mixed-use trail", "multi-use trail", "segregated trail", "rail trail"], "matchScore": 0.95, "name": "Cycle & Foot Path"},
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/highway/crossing/marked-raised.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"vertex"
],
"tags": {
"highway": "crossing",
"crossing": "marked",
"traffic_calming": "table"
},
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/highway/crossing/marked.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"vertex"
],
"tags": {
"highway": "crossing",
"crossing": "marked"
},
"addTags": {
Expand Down
1 change: 1 addition & 0 deletions data/presets/presets/highway/crossing/unmarked.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"vertex"
],
"tags": {
"highway": "crossing",
"crossing": "unmarked"
},
"addTags": {
Expand Down

0 comments on commit 21e52bd

Please sign in to comment.