Refactoring: split mapRendering into pointRendering and lineRendering
This commit is contained in:
parent
89818019c3
commit
3549a10a15
280 changed files with 94705 additions and 53 deletions
168
Docs/Layers/address.md
Normal file
168
Docs/Layers/address.md
Normal file
|
@ -0,0 +1,168 @@
|
|||
[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
|
||||
|
||||
address
|
||||
=========
|
||||
|
||||
|
||||
|
||||
<img src='https://mapcomplete.org/./assets/layers/address/housenumber_blank.svg' height="100px">
|
||||
|
||||
Addresses
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- This layer is shown at zoomlevel **18** and higher
|
||||
- This layer will automatically load [named_streets](./named_streets.md) into the layout as it depends on it: a calculated tag loads features from this layer (calculatedTag[0] which calculates the value for _closest_3_street_names)
|
||||
|
||||
|
||||
This is a special layer - data is not sourced from OpenStreetMap
|
||||
|
||||
|
||||
|
||||
Supported attributes
|
||||
----------------------
|
||||
|
||||
|
||||
|
||||
Warning:
|
||||
|
||||
this quick overview is incomplete
|
||||
|
||||
|
||||
|
||||
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/addr:housenumber#values) [addr:housenumber](https://wiki.openstreetmap.org/wiki/Key:addr:housenumber) | [string](../SpecialInputElements.md#string) |
|
||||
[<img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/addr:street#values) [addr:street](https://wiki.openstreetmap.org/wiki/Key:addr:street) | [string](../SpecialInputElements.md#string) | [](https://wiki.openstreetmap.org/wiki/Tag:addr:street%3D) [](https://wiki.openstreetmap.org/wiki/Tag:addr:street%3D) [](https://wiki.openstreetmap.org/wiki/Tag:addr:street%3D)
|
||||
[<img src='https://mapcomplete.org/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/fixme#values) [fixme](https://wiki.openstreetmap.org/wiki/Key:fixme) | [string](../SpecialInputElements.md#string) | [](https://wiki.openstreetmap.org/wiki/Tag:fixme%3D)
|
||||
|
||||
|
||||
|
||||
|
||||
### just_created
|
||||
|
||||
|
||||
|
||||
This element shows a 'thank you' that the contributor has recently created this element
|
||||
|
||||
This tagrendering has no question and is thus read-only
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- *You just created this element! Thanks for sharing this info with the world and helping people worldwide.* corresponds with `id~.+`
|
||||
|
||||
|
||||
This tagrendering is only visible in the popup if the following condition is met: `_backend~.+&_last_edit:passed_time<300&|_version_number=1`
|
||||
|
||||
|
||||
|
||||
### housenumber
|
||||
|
||||
|
||||
|
||||
The question is *What is the number of this house?*
|
||||
|
||||
This rendering asks information about the property [addr:housenumber](https://wiki.openstreetmap.org/wiki/Key:addr:housenumber)
|
||||
|
||||
This is rendered with `The house number is <b>{addr:housenumber}</b>`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- *This building has no house number* corresponds with `nohousenumber=yes`
|
||||
|
||||
|
||||
|
||||
|
||||
### street
|
||||
|
||||
|
||||
|
||||
The question is *What street is this address located in?*
|
||||
|
||||
This rendering asks information about the property [addr:street](https://wiki.openstreetmap.org/wiki/Key:addr:street)
|
||||
|
||||
This is rendered with `This address is in street <b>{addr:street}</b>`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- *Located in <b>{_closest_street:0:name}</b>* corresponds with `addr:street=`
|
||||
- *Located in <b>{_closest_street:1:name}</b>* corresponds with `addr:street=`
|
||||
- *Located in <b>{_closest_street:2:name}</b>* corresponds with `addr:street=`
|
||||
|
||||
|
||||
|
||||
|
||||
### fixme
|
||||
|
||||
|
||||
|
||||
The question is *What should be fixed here? Please explain*
|
||||
|
||||
This rendering asks information about the property [fixme](https://wiki.openstreetmap.org/wiki/Key:fixme)
|
||||
|
||||
This is rendered with `<b>Fixme description</b>{fixme}`
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- *No fixme - write something here to explain complicated cases* corresponds with ``
|
||||
|
||||
|
||||
|
||||
|
||||
### leftover-questions
|
||||
|
||||
|
||||
|
||||
This tagrendering has no question and is thus read-only
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### minimap
|
||||
|
||||
|
||||
|
||||
Shows a small map with the feature. Added by default to every popup
|
||||
|
||||
This tagrendering has no question and is thus read-only
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### last_edit
|
||||
|
||||
|
||||
|
||||
Gives some metainfo about the last edit and who did edit it - rendering only
|
||||
|
||||
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:contributor~.+&_last_edit:changeset~.+`
|
||||
|
||||
|
||||
|
||||
### all-tags
|
||||
|
||||
|
||||
|
||||
This tagrendering has no question and is thus read-only
|
||||
|
||||
|
||||
|
||||
This document is autogenerated from [assets/layers/address/address.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/address/address.json)
|
Loading…
Add table
Add a link
Reference in a new issue