mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-18 14:45:12 +02:00
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:
@@ -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"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user