mapcomplete/Docs/Layers/transit_routes.md

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

255 lines
7.8 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-07-09 17:25:38 +02:00
2024-05-07 00:41:59 +02:00
transit_routes
================
2022-07-09 17:25:38 +02:00
Layer showing bus lines
2024-05-07 00:41:59 +02:00
- 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`
## 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-)
2024-06-18 21:11:42 +02:00
- [just_created](#just_created)
- [nothing_known](#nothing_known)
- [name](#name)
- [from](#from)
- [via](#via)
- [to](#to)
- [colour](#colour)
- [network](#network)
- [operator](#operator)
- [leftover-questions](#leftover-questions)
- [minimap](#minimap)
- [lod](#lod)
- [favourite_status](#favourite_status)
- [share](#share)
- [qr_code](#qr_code)
- [last_edit](#last_edit)
- [all-tags](#all-tags)
2024-05-07 00:41:59 +02:00
Themes using this layer
2024-04-28 03:46:56 +02:00
-------------------------
2022-07-09 17:25:38 +02:00
2024-05-07 00:41:59 +02:00
- [personal](https://mapcomplete.org/personal)
- [transit](https://mapcomplete.org/transit)
2022-07-09 17:25:38 +02:00
2024-05-07 00:41:59 +02:00
Basic tags for this layer
---------------------------
2022-07-09 17:25:38 +02:00
2024-05-07 00:41:59 +02:00
Elements must match **all** of the following expressions:
2022-07-09 17:25:38 +02:00
2024-05-07 00:41:59 +02:00
0. <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>
1. <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>
2022-07-09 17:25:38 +02:00
2024-05-07 00:41:59 +02:00
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22route%22%3D%22bus%22%5D%5B%22type%22%3D%22route%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%3Bout%20body%3B%3E%3Bout%20skel%20qt%3B)
2022-07-09 17:25:38 +02:00
2024-05-07 00:41:59 +02:00
Supported attributes
----------------------
2022-07-09 17:25:38 +02:00
2024-05-07 00:41:59 +02:00
Warning:
this quick overview is incomplete
2022-07-09 17:25:38 +02:00
2024-05-07 00:41:59 +02:00
attribute | type | values which are supported by this layer
----------- | ------ | ------------------------------------------
[<img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/id#values) [id](https://wiki.openstreetmap.org/wiki/Key:id) | Multiple choice |
[<img src='https://mapcomplete.org/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.org/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.org/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.org/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.org/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.org/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.org/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) |
2022-07-09 17:25:38 +02:00
2024-06-18 21:11:42 +02:00
### just_created
2024-04-28 03:46:56 +02:00
This element shows a 'thank you' that the contributor has recently created this element
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2022-07-09 17:25:38 +02:00
2024-06-19 00:08:40 +02:00
- <img src='https://raw.githubusercontent.com/pietervdvn/MapComplete/develop/./assets/svg/party.svg' style='width: 3rem; height: 3rem'> *You just created this element! Thanks for sharing this info with the world and helping people worldwide.* corresponds with id~.+
2024-06-16 16:06:26 +02:00
This tagrendering is only visible in the popup if the following condition is met: _last_edit:passed_time<300 & (_version_number= | <a href='https://wiki.openstreetmap.org/wiki/Key:_version_number' target='_blank'>_version_number</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_version_number%3D1' target='_blank'>1</a>) & _backend~.+
This tagrendering has labels
2024-06-18 21:11:42 +02:00
`added_by_default_top`
### nothing_known
_This tagrendering has no question and is thus read-only_
This tagrendering is only visible in the popup if the following condition is met: _last_edit:passed_time>=300 & _backend~.+
This tagrendering has labels
`added_by_default_top`
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### name
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
The question is `What is the name for this bus line? (i.e. Bus XX: From => Via => To)`
This rendering asks information about the property
[name](https://wiki.openstreetmap.org/wiki/Key:name)
This is rendered with `{name}`
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### from
2022-07-09 17:25:38 +02:00
2024-06-16 16:06:26 +02:00
The question is `What is the starting point for this bus line?`
This rendering asks information about the property
[from](https://wiki.openstreetmap.org/wiki/Key:from)
This is rendered with `This bus line begins at {from}`
2022-07-09 17:25:38 +02:00
2024-06-18 21:11:42 +02:00
### via
2022-07-09 17:25:38 +02:00
2024-06-16 16:06:26 +02:00
The question is `What is the via point for this bus line?`
This rendering asks information about the property
[via](https://wiki.openstreetmap.org/wiki/Key:via)
This is rendered with `This bus line goes via {via}`
2022-07-09 17:25:38 +02:00
2024-06-18 21:11:42 +02:00
### to
2022-07-09 17:25:38 +02:00
2024-06-16 16:06:26 +02:00
The question is `What is the ending point for this bus line?`
This rendering asks information about the property
[to](https://wiki.openstreetmap.org/wiki/Key:to)
This is rendered with `This bus line ends at {to}`
2022-07-09 17:25:38 +02:00
2024-06-18 21:11:42 +02:00
### colour
2022-07-09 17:25:38 +02:00
2024-06-16 16:06:26 +02:00
The question is `What is the colour for this bus line?`
This rendering asks information about the property
[colour](https://wiki.openstreetmap.org/wiki/Key:colour)
This is rendered with `This bus line has the color {colour}`
2022-07-09 17:25:38 +02:00
2023-04-15 03:02:01 +02:00
2024-06-18 21:11:42 +02:00
### network
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
The question is `What network does this bus line belong to?`
This rendering asks information about the property
[network](https://wiki.openstreetmap.org/wiki/Key:network)
This is rendered with `This bus line is part of the {network} network`
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### operator
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
The question is `What company operates this bus line?`
This rendering asks information about the property
[operator](https://wiki.openstreetmap.org/wiki/Key:operator)
This is rendered with `This bus line is operated by {operator}`
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### leftover-questions
2023-04-15 03:02:01 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2023-04-15 03:02:01 +02:00
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### minimap
Shows a small map with the feature. Added by default to every popup
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2023-04-15 03:02:01 +02:00
2024-06-18 21:11:42 +02:00
### lod
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
This tagrendering has labels
`added_by_default`
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### favourite_status
2023-04-15 03:02:01 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
2024-06-16 16:06:26 +02:00
This tagrendering has labels
`added_by_default`
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### share
2023-12-30 15:24:30 +01:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2023-12-30 15:24:30 +01:00
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
This tagrendering has labels
`added_by_default`
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### qr_code
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2023-12-30 15:24:30 +01:00
2024-06-16 16:06:26 +02:00
This tagrendering has labels
`added_by_default`
2023-12-30 15:24:30 +01:00
2024-06-18 21:11:42 +02:00
### last_edit
Gives some metainfo about the last edit and who did edit it - rendering only
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
This tagrendering is only visible in the popup if the following condition is met: _last_edit:changeset~.+ & _last_edit:contributor~.+
2024-06-16 16:06:26 +02:00
This tagrendering has labels
`added_by_default`
2024-05-07 00:41:59 +02:00
2024-06-18 21:11:42 +02:00
### all-tags
2024-05-07 00:41:59 +02:00
2024-06-16 16:06:26 +02:00
_This tagrendering has no question and is thus read-only_
2024-05-07 00:41:59 +02:00
2023-05-08 00:20:32 +02:00
2024-05-07 00:41:59 +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)