mapcomplete/Docs/Layers/filters.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

107 lines
2.3 KiB
Markdown
Raw Normal View History

2023-02-12 23:08:57 +01:00
[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
2022-10-11 01:39:09 +02:00
filters
=========
This layer acts as library for common filters
- This layer is shown at zoomlevel **0** and higher
- 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.
- 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`
Basic tags for this layer
---------------------------
Elements must have the all of following tags to be shown on this layer:
- id~.+
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B(%20%20%20%20nwr%5B%22id%22%5D(%7B%7Bbbox%7D%7D)%3B%0A)%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
Supported attributes
----------------------
2022-12-06 03:41:27 +01:00
#### Filters
id | question | osmTags
---- | ---------- | ---------
open_now.0 | Opened now | _isOpen=yes
id | question | osmTags
---- | ---------- | ---------
accepts_cash.0 | Accepts cash | payment:cash=yes
id | question | osmTags
---- | ---------- | ---------
accepts_cards.0 | Accepts payment cards | payment:cards=yes
id | question | osmTags
---- | ---------- | ---------
has_image.0 | With and without images (default) |
has_image.1 | Has at least one image | image~.+\|image:0~.+|image:1~.+|image:2~.+|image:3~.+|mapillary~.+
has_image.2 | Probably does not have an image |
id | question | osmTags
---- | ---------- | ---------
tactile_paving.0 | With tactile paving | tactile_paving=yes
id | question | osmTags
---- | ---------- | ---------
tactile_paving_advanced.0 | With or without tactile paving (default) |
tactile_paving_advanced.1 | With tactile paving | tactile_paving=yes
tactile_paving_advanced.2 | Without tactile paving | tactile_paving=no
tactile_paving_advanced.3 | No information about tactile paving |
id | question | osmTags
---- | ---------- | ---------
has_organic.0 | Has organic options | organic=yes\|organic=only
2022-10-11 01:39:09 +02:00
2023-02-12 23:08:57 +01:00
This document is autogenerated from [assets/layers/filters/filters.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/filters/filters.json)