-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hide "street_cabinet" field; add presets for special cabinets
after #777, unfortunately, there were two fields to define the sub-type of street cabinets: utility for the "common" ones (e.g. telecom, power, etc.) and the "legacy" street_cabinet field for the rest. This PR adds dedicated presets for the legacy cases where the "street_cabinet" tag is still to be used to solve this UI issue.
- Loading branch information
Showing
6 changed files
with
128 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"icon": "fas-door-closed", | ||
"geometry": [ | ||
"point", | ||
"area" | ||
], | ||
"fields": [ | ||
"{man_made/street_cabinet}" | ||
], | ||
"moreFields": [ | ||
"{man_made/street_cabinet}" | ||
], | ||
"terms": [ | ||
"letter storage", | ||
"post delivery", | ||
"postal services" | ||
], | ||
"tags": { | ||
"man_made": "street_cabinet", | ||
"street_cabinet": "postal_service" | ||
}, | ||
"reference": { | ||
"key": "street_cabinet", | ||
"value": "postal_service" | ||
}, | ||
"name": "Postal Relay Box" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"icon": "fas-door-closed", | ||
"geometry": [ | ||
"point", | ||
"area" | ||
], | ||
"fields": [ | ||
"{man_made/street_cabinet}" | ||
], | ||
"moreFields": [ | ||
"{man_made/street_cabinet}" | ||
], | ||
"terms": [ | ||
"traffic control automation", | ||
"traffic light" | ||
], | ||
"tags": { | ||
"man_made": "street_cabinet", | ||
"street_cabinet": "traffic_control" | ||
}, | ||
"reference": { | ||
"key": "man_made", | ||
"value": "street_cabinet" | ||
}, | ||
"name": "Traffic Controll System Cabinet" | ||
} |
26 changes: 26 additions & 0 deletions
26
data/presets/man_made/street_cabinet/traffic_monitoring.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"icon": "fas-door-closed", | ||
"geometry": [ | ||
"point", | ||
"area" | ||
], | ||
"fields": [ | ||
"{man_made/street_cabinet}" | ||
], | ||
"moreFields": [ | ||
"{man_made/street_cabinet}" | ||
], | ||
"terms": [ | ||
"traffic monitoring", | ||
"vehicle counting" | ||
], | ||
"tags": { | ||
"man_made": "street_cabinet", | ||
"street_cabinet": "traffic_monitoring" | ||
}, | ||
"reference": { | ||
"key": "man_made", | ||
"value": "street_cabinet" | ||
}, | ||
"name": "Traffic Monitoring Cabinet" | ||
} |
25 changes: 25 additions & 0 deletions
25
data/presets/man_made/street_cabinet/transport_management.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"icon": "fas-door-closed", | ||
"geometry": [ | ||
"point", | ||
"area" | ||
], | ||
"fields": [ | ||
"{man_made/street_cabinet}" | ||
], | ||
"moreFields": [ | ||
"{man_made/street_cabinet}" | ||
], | ||
"terms": [ | ||
"public transport automation" | ||
], | ||
"tags": { | ||
"man_made": "street_cabinet", | ||
"street_cabinet": "transport_management" | ||
}, | ||
"reference": { | ||
"key": "man_made", | ||
"value": "street_cabinet" | ||
}, | ||
"name": "Transport Management Cabinet" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"icon": "maki-recycling", | ||
"geometry": [ | ||
"point", | ||
"area" | ||
], | ||
"fields": [ | ||
"{man_made/street_cabinet}" | ||
], | ||
"moreFields": [ | ||
"{man_made/street_cabinet}" | ||
], | ||
"tags": { | ||
"man_made": "street_cabinet", | ||
"street_cabinet": "waste" | ||
}, | ||
"reference": { | ||
"key": "man_made", | ||
"value": "street_cabinet" | ||
}, | ||
"name": "Private Waste Collection Cabinet" | ||
} |