MapComplete/Docs/Layers/onwheels_entrance_data.md

62 lines
3.3 KiB
Markdown
Raw Normal View History

2025-03-06 16:21:55 +01:00
[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
# onwheels_entrance_data
All objects which have entrance data mapped on the amenity instead of the entrance object
- This layer is shown at zoomlevel **0** and higher
- This layer is not visible by default and must be enabled in the filter by the user.
- Elements don't have a title set and cannot be toggled nor will they show up in the dashboard. If you import this layer in your theme, override `title` to make this toggleable.
- This layer is not visible by default and the visibility cannot be toggled, effectively resulting in a fully hidden layer. This can be useful, e.g. to calculate some metatags. If you want to render this layer (e.g. for debugging), enable it by setting the URL-parameter layer-<id>=true
- 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 will automatically load [walls_and_buildings](./walls_and_buildings.md) into the layout as it depends on it: a tagrendering needs this layer (_stolen_entrances)
- This layer will automatically load [walls_and_buildings](./walls_and_buildings.md) into the layout as it depends on it: a calculated tag loads features from this layer (calculatedTag[0] which calculates the value for _enclosing_building)
## Table of contents
1. [Themes using this layer](#themes-using-this-layer)
2. [Basic tags for this layer](#basic-tags-for-this-layer)
3. [Supported attributes](#supported-attributes)
- [_stolen_entrances](#_stolen_entrances)
- [leftover-questions](#leftover-questions)
- [lod](#lod)
## Themes using this layer
- [onwheels](https://mapcomplete.org/onwheels)
## Basic tags for this layer
Elements must match **all** of the following expressions:
0. door=
1. entrance=
2. entrance:kerb:height~.+ | entrance:step_count~.+ | entrance:width~.+ | entrance:width~.+
3. indoor!=door
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B!%22door%22%5D%5B!%22entrance%22%5D%5B%22entrance%3Akerb%3Aheight%22%5D%5B%22indoor%22!%3D%22door%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B!%22door%22%5D%5B!%22entrance%22%5D%5B%22entrance%3Astep_count%22%5D%5B%22indoor%22!%3D%22door%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B!%22door%22%5D%5B!%22entrance%22%5D%5B%22entrance%3Awidth%22%5D%5B%22indoor%22!%3D%22door%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%20%20%20%20nwr%5B!%22door%22%5D%5B!%22entrance%22%5D%5B%22entrance%3Awidth%22%5D%5B%22indoor%22!%3D%22door%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
## Supported attributes
### _stolen_entrances
_This tagrendering has no question and is thus read-only_
*{steal(_enclosing_building,walls_and_buildings.entrance_info; walls_and_buildings.biggest_width)}*
### leftover-questions
_This tagrendering has no question and is thus read-only_
*{questions( ,)}*
### lod
_This tagrendering has no question and is thus read-only_
*{linked_data_from_website()}*
This tagrendering has labels
`added_by_default`
This document is autogenerated from [assets/themes/onwheels/onwheels.json](https://source.mapcomplete.org/MapComplete/MapComplete/src/branch/develop/assets/themes/onwheels/onwheels.json)