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.
This commit is contained in:
Martin Raifer 2023-02-13 20:58:57 +01:00
parent 99a79e4852
commit ec2a8dd28a
No known key found for this signature in database
GPG key ID: 3CD561F7B1C461BD
6 changed files with 128 additions and 2 deletions

View file

@ -7,13 +7,13 @@
"fields": [
"ref",
"operator",
"street_cabinet",
"utility_semi",
"height",
"colour"
],
"moreFields": [
"model"
"model",
"street_cabinet"
],
"terms": [
"cable tv",

View file

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

View file

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

View file

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

View file

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

View file

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