remove building=shed from bicycle_parking=shed preset

building=shed should not be added if the geometry is a point, but should, if possible, if it is an area. Unfortunately, the iD preset system is currently not able to map this behavior to a preset. Instead, there is the building_area field which automatically adds building=yes to the preset if it is an area.
This commit is contained in:
Tobias Zwick
2019-04-29 19:50:40 +02:00
committed by GitHub
parent 92c438a9e7
commit 0656ceff63
@@ -2,7 +2,7 @@
"icon": "maki-bicycle",
"fields": [
"{amenity/bicycle_parking}",
"building"
"building_area"
],
"geometry": [
"point",
@@ -13,16 +13,6 @@
"amenity": "bicycle_parking",
"bicycle_parking": "shed"
},
"addTags": {
"building": "shed",
"amenity": "bicycle_parking",
"bicycle_parking": "shed"
},
"removeTags": {
"building": "shed",
"amenity": "bicycle_parking",
"bicycle_parking": "shed"
},
"reference": {
"key": "bicycle_parking"
},