Add delete option for bench_at_pt (fix #1151); bench=yes now also requires that highway=bus_stop is present (fix #1152)

This commit is contained in:
Pieter Vander Vennet 2022-12-06 00:52:07 +01:00
parent f16cf31b40
commit 6c82614daf

View file

@ -21,9 +21,14 @@
"minzoom": 14,
"source": {
"osmTags": {
"or": [
"bench=yes",
"bench=stand_up_bench"
"and": [
"highway=bus_stop",
{
"or": [
"bench=yes",
"bench=stand_up_bench"
]
}
]
}
},
@ -209,6 +214,28 @@
}
}
],
"deletion": {
"omitDefaultDeleteReasons": true,
"nonDeleteMappings": [
{
"if": "bench=no",
"then": {
"en": "This bus stop does not have a bench (there never was one or it has been removed)"
}
}
],
"extraDeleteReasons": [
{
"changesetMessage": "discontinued",
"explanation": {
"en": "This bus stop is not used anymore"
}
}
],
"softDeletionTags": {
"and": ["disused:highway=bus_stop","bench=no"]
}
},
"description": {
"en": "A layer showing all public-transport-stops which do have a bench",
"es": "Una capa que muestra todas las paradas de transporte público que tienen bancos",
@ -218,4 +245,4 @@
"da": "Et lag, der viser alle offentlige stoppesteder, som har en bænk",
"cs": "Vrstva zobrazující všechny zastávky veřejné dopravy, které mají lavičku"
}
}
}