mapcomplete/Docs/Layers/walls_and_buildings.md

70 lines
No EOL
1.8 KiB
Markdown

walls_and_buildings
=====================
Special builtin layer providing all walls and buildings. This layer is useful in presets for objects which can be placed against walls (e.g. AEDs, postboxes, entrances, addresses, surveillance cameras, ...). This layer is invisible by default and not toggleable by the user.
## Table of contents
1. [walls_and_buildings](#walls_and_buildings)
* [Themes using this layer](#themes-using-this-layer)
- [Basic tags for this layer](#basic-tags-for-this-layer)
- [Supported attributes](#supported-attributes)
- This layer is not visible by default and must be enabled in the filter by the user.
- Not visible in the layer selection by default. If you want to make this layer toggable, override `name`
- Not rendered on the map by default. If you want to rendering this on the map, override `mapRenderings`
- This layer is needed as dependency for layer [defibrillator](#defibrillator)
- This layer is needed as dependency for layer [entrance](#entrance)
- This layer is needed as dependency for layer [surveillance_camera](#surveillance_camera)
#### Themes using this layer
- [aed](https://mapcomplete.osm.be/aed)
- [entrances](https://mapcomplete.osm.be/entrances)
- [surveillance](https://mapcomplete.osm.be/surveillance)
[Go to the source code](../assets/layers/walls_and_buildings/walls_and_buildings.json)
Basic tags for this layer
---------------------------
Elements must have the all of following tags to be shown on this layer:
- <a href='https://wiki.openstreetmap.org/wiki/Key:barrier' target='_blank'>barrier</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:barrier%3Dwall' target='_blank'>wall</a>|building~^..*$
Supported attributes
----------------------
This document is autogenerated from assets/layers/walls_and_buildings/walls_and_buildings.json