mapcomplete/Docs/Layers/transit_routes.md

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

172 lines
4.8 KiB
Markdown
Raw Normal View History

2022-07-09 17:25:38 +02:00
transit_routes
================
Layer showing bus lines
- This layer is shown at zoomlevel **15** and higher
- Not rendered on the map by default. If you want to rendering this on the map, override `mapRenderings`
#### Themes using this layer
- [personal](https://mapcomplete.osm.be/personal)
- [transit](https://mapcomplete.osm.be/transit)
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:type' target='_blank'>type</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:type%3Droute' target='_blank'>route</a>
- <a href='https://wiki.openstreetmap.org/wiki/Key:route' target='_blank'>route</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:route%3Dbus' target='_blank'>bus</a>
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B(%20%20%20%20nwr%5B%22route%22%3D%22bus%22%5D%5B%22type%22%3D%22route%22%5D(%7B%7Bbbox%7D%7D)%3B%0A)%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
Supported attributes
----------------------
Warning:
this quick overview is incomplete
attribute | type | values which are supported by this layer
----------- | ------ | ------------------------------------------
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/name#values) [name](https://wiki.openstreetmap.org/wiki/Key:name) | [string](../SpecialInputElements.md#string) |
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/from#values) [from](https://wiki.openstreetmap.org/wiki/Key:from) | [string](../SpecialInputElements.md#string) |
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/via#values) [via](https://wiki.openstreetmap.org/wiki/Key:via) | [string](../SpecialInputElements.md#string) |
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/to#values) [to](https://wiki.openstreetmap.org/wiki/Key:to) | [string](../SpecialInputElements.md#string) |
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/colour#values) [colour](https://wiki.openstreetmap.org/wiki/Key:colour) | [color](../SpecialInputElements.md#color) |
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/network#values) [network](https://wiki.openstreetmap.org/wiki/Key:network) | [string](../SpecialInputElements.md#string) |
[<img src='https://mapcomplete.osm.be/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/operator#values) [operator](https://wiki.openstreetmap.org/wiki/Key:operator) | [string](../SpecialInputElements.md#string) |
### name
2022-12-08 00:48:44 +01:00
The question is *What is the name for this bus line? (i.e. Bus XX: From => Via => To)*
2022-07-09 17:25:38 +02:00
This rendering asks information about the property [name](https://wiki.openstreetmap.org/wiki/Key:name)
2022-12-08 00:48:44 +01:00
This is rendered with `{name}`
2022-07-09 17:25:38 +02:00
### from
2022-12-08 00:48:44 +01:00
The question is *What is the starting point for this bus line?*
2022-07-09 17:25:38 +02:00
This rendering asks information about the property [from](https://wiki.openstreetmap.org/wiki/Key:from)
2022-12-08 00:48:44 +01:00
This is rendered with `This bus line begins at {from}`
2022-07-09 17:25:38 +02:00
### via
2022-12-08 00:48:44 +01:00
The question is *What is the via point for this bus line?*
2022-07-09 17:25:38 +02:00
This rendering asks information about the property [via](https://wiki.openstreetmap.org/wiki/Key:via)
2022-12-08 00:48:44 +01:00
This is rendered with `This bus line goes via {via}`
2022-07-09 17:25:38 +02:00
### to
2022-12-08 00:48:44 +01:00
The question is *What is the ending point for this bus line?*
2022-07-09 17:25:38 +02:00
This rendering asks information about the property [to](https://wiki.openstreetmap.org/wiki/Key:to)
2022-12-08 00:48:44 +01:00
This is rendered with `This bus line ends at {to}`
2022-07-09 17:25:38 +02:00
### colour
2022-12-08 00:48:44 +01:00
The question is *What is the colour for this bus line?*
2022-07-09 17:25:38 +02:00
This rendering asks information about the property [colour](https://wiki.openstreetmap.org/wiki/Key:colour)
2022-12-08 00:48:44 +01:00
This is rendered with `This bus line has the color {colour}`
2022-07-09 17:25:38 +02:00
### network
2022-12-08 00:48:44 +01:00
The question is *What network does this bus line belong to?*
2022-07-09 17:25:38 +02:00
This rendering asks information about the property [network](https://wiki.openstreetmap.org/wiki/Key:network)
2022-12-08 00:48:44 +01:00
This is rendered with `This bus line is part of the {network} network`
2022-07-09 17:25:38 +02:00
### operator
2022-12-08 00:48:44 +01:00
The question is *What company operates this bus line?*
2022-07-09 17:25:38 +02:00
This rendering asks information about the property [operator](https://wiki.openstreetmap.org/wiki/Key:operator)
2022-12-08 00:48:44 +01:00
This is rendered with `This bus line is operated by {operator}`
2022-07-09 17:25:38 +02:00
This document is autogenerated from [assets/layers/transit_routes/transit_routes.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/transit_routes/transit_routes.json)