mapcomplete/Docs/Layers/named_streets.md

71 lines
1.9 KiB
Markdown
Raw Normal View History

2022-02-14 04:59:49 +01:00
named_streets
2022-01-14 19:36:36 +01:00
===============
Hidden layer with all streets which have a name. Useful to detect addresses
2022-02-14 04:59:49 +01:00
2022-01-14 19:36:36 +01:00
## Table of contents
1. [named_streets](#named_streets)
2022-02-28 17:16:21 +01:00
* [Themes using this layer](#themes-using-this-layer)
2022-02-14 04:59:49 +01:00
- [Basic tags for this layer](#basic-tags-for-this-layer)
- [Supported attributes](#supported-attributes)
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
- This layer is not visible by default and must be enabled in the filter by the user.
- This layer cannot be toggled in the filter view. 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 is needed as dependency for layer [address](#address)
2022-01-14 19:36:36 +01:00
2022-02-28 17:16:21 +01:00
#### Themes using this layer
- [personal](https://mapcomplete.osm.be/personal)
2022-03-31 02:54:17 +02:00
[Go to the source code](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/named_streets/named_streets.json)
2022-01-14 19:36:36 +01:00
2022-02-14 04:59:49 +01:00
Basic tags for this layer
2022-01-14 19:36:36 +01:00
---------------------------
Elements must have the all of following tags to be shown on this layer:
2022-02-14 04:59:49 +01:00
- highway~^..*$
- name~^..*$
2022-03-24 19:59:57 +01:00
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B(%20%20%20%20nwr%5B%22name%22%5D%5B%22highway%22%5D(%7B%7Bbbox%7D%7D)%3B%0A)%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
2022-02-14 04:59:49 +01:00
Supported attributes
----------------------
2022-01-26 21:40:38 +01:00
2022-02-14 04:59:49 +01:00
2022-01-14 19:36:36 +01:00
2022-02-15 00:00:30 +01:00
This document is autogenerated from [assets/layers/named_streets/named_streets.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/named_streets/named_streets.json)