forked from MapComplete/MapComplete
Merge branch 'master' into develop
This commit is contained in:
commit
7e1e3c15dc
68 changed files with 1678 additions and 3734 deletions
|
@ -834,6 +834,8 @@ The following layers are included in MapComplete:
|
|||
- [kindergarten_childcare](./Layers/kindergarten_childcare.md)
|
||||
- [left_right_style](./Layers/left_right_style.md)
|
||||
- [map](./Layers/map.md)
|
||||
- [maproulette](./Layers/maproulette.md)
|
||||
- [maproulette_challenge](./Layers/maproulette_challenge.md)
|
||||
- [matchpoint](./Layers/matchpoint.md)
|
||||
- [maxspeed](./Layers/maxspeed.md)
|
||||
- [named_streets](./Layers/named_streets.md)
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
|
||||
|
||||
Metatags
|
||||
==========
|
||||
|
||||
|
@ -286,7 +285,7 @@ Points from other layers are ignored - even if the points are parts of the curre
|
|||
|
||||
### closest
|
||||
|
||||
Given either a list of geojson features or a single layer name, gives the single object which is nearest to the feature. In the case of ways/polygons, only the centerpoint is considered. Returns a single geojson feature or undefined if nothing is found (or not yet laoded)
|
||||
Given either a list of geojson features or a single layer name, gives the single object which is nearest to the feature. In the case of ways/polygons, only the centerpoint is considered. Returns a single geojson feature or undefined if nothing is found (or not yet loaded)
|
||||
|
||||
0. list of features or a layer name or '*' to get all features
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@ A layer showing bicycle pumps and bicycle repair tool stands
|
|||
|
||||
|
||||
- [cyclofix](https://mapcomplete.osm.be/cyclofix)
|
||||
- [onwheels](https://mapcomplete.osm.be/onwheels)
|
||||
- [personal](https://mapcomplete.osm.be/personal)
|
||||
|
||||
|
||||
|
@ -249,7 +248,7 @@ Only visible if `service:bicycle:tools=yes` is shown
|
|||
|
||||
|
||||
|
||||
### Email maintainer
|
||||
### send_email_about_broken_pump
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -26,7 +26,6 @@ A shop specifically selling bicycles or related items
|
|||
|
||||
|
||||
- [cyclofix](https://mapcomplete.osm.be/cyclofix)
|
||||
- [onwheels](https://mapcomplete.osm.be/onwheels)
|
||||
- [personal](https://mapcomplete.osm.be/personal)
|
||||
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
|
||||
|
||||
<img src='https://mapcomplete.osm.be/circle:white;./assets/layers/entrance/door.svg' height="100px">
|
||||
<img src='https://mapcomplete.osm.be/circle:white;./assets/layers/entrance/entrance.svg' height="100px">
|
||||
|
||||
A layer showing entrances and offering capabilities to survey some advanced data which is important for e.g. wheelchair users (but also bicycle users, people who want to deliver, …)
|
||||
|
||||
|
@ -17,6 +17,7 @@ A layer showing entrances and offering capabilities to survey some advanced data
|
|||
- This layer is shown at zoomlevel **14** and higher
|
||||
- This layer will automatically load [walls_and_buildings](./walls_and_buildings.md) into the layout as it depends on it: a preset snaps to this layer (presets[0])
|
||||
- This layer will automatically load [pedestrian_path](./pedestrian_path.md) into the layout as it depends on it: a preset snaps to this layer (presets[0])
|
||||
- This layer will automatically load [indoors](./indoors.md) into the layout as it depends on it: a preset snaps to this layer (presets[1])
|
||||
- This layer is needed as dependency for layer [walls_and_buildings](#walls_and_buildings)
|
||||
|
||||
|
||||
|
@ -28,7 +29,7 @@ A layer showing entrances and offering capabilities to survey some advanced data
|
|||
|
||||
|
||||
|
||||
- [entrances](https://mapcomplete.osm.be/entrances)
|
||||
- [indoors](https://mapcomplete.osm.be/indoors)
|
||||
- [onwheels](https://mapcomplete.osm.be/onwheels)
|
||||
- [personal](https://mapcomplete.osm.be/personal)
|
||||
|
||||
|
|
|
@ -25,7 +25,6 @@ This layer show governmental buildings. It was setup as commissioned layer for t
|
|||
|
||||
|
||||
|
||||
- [governments](https://mapcomplete.osm.be/governments)
|
||||
- [onwheels](https://mapcomplete.osm.be/onwheels)
|
||||
- [personal](https://mapcomplete.osm.be/personal)
|
||||
|
||||
|
|
|
@ -15,6 +15,7 @@ Basic indoor mapping: shows room outlines
|
|||
|
||||
|
||||
- This layer is shown at zoomlevel **13** and higher
|
||||
- This layer is needed as dependency for layer [entrance](#entrance)
|
||||
|
||||
|
||||
|
||||
|
@ -53,6 +54,17 @@ Elements must have the all of following tags to be shown on this layer:
|
|||
|
||||
|
||||
|
||||
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) |
|
||||
|
||||
|
||||
|
||||
|
||||
### images
|
||||
|
@ -63,6 +75,20 @@ This block shows the known images which are linked with the `image`-keys, but al
|
|||
|
||||
This tagrendering has no question and is thus read-only
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### ref
|
||||
|
||||
|
||||
|
||||
The question is What is the name of this room?
|
||||
|
||||
This rendering asks information about the property [name](https://wiki.openstreetmap.org/wiki/Key:name)
|
||||
|
||||
This is rendered with This room is named {name}
|
||||
|
||||
|
||||
|
||||
This document is autogenerated from [assets/layers/indoors/indoors.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/indoors/indoors.json)
|
89
Docs/Layers/maproulette.md
Normal file
89
Docs/Layers/maproulette.md
Normal file
|
@ -0,0 +1,89 @@
|
|||
|
||||
|
||||
maproulette
|
||||
=============
|
||||
|
||||
|
||||
|
||||
<img src='https://mapcomplete.osm.be/./assets/layers/maproulette/logomark.svg' height="100px">
|
||||
|
||||
Layer showing all tasks in MapRoulette
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- This layer is shown at zoomlevel **15** and higher
|
||||
- <img src='../warning.svg' height='1rem'/> This layer is loaded from an external source, namely `https://maproulette.org/api/v2/tasks/box/{x_min}/{y_min}/{x_max}/{y_max}`
|
||||
|
||||
|
||||
|
||||
|
||||
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
|
||||
----------------------
|
||||
|
||||
|
||||
|
||||
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/status#values) [status](https://wiki.openstreetmap.org/wiki/Key:status) | Multiple choice | [0](https://wiki.openstreetmap.org/wiki/Tag:status%3D0) [1](https://wiki.openstreetmap.org/wiki/Tag:status%3D1) [2](https://wiki.openstreetmap.org/wiki/Tag:status%3D2) [3](https://wiki.openstreetmap.org/wiki/Tag:status%3D3) [4](https://wiki.openstreetmap.org/wiki/Tag:status%3D4) [5](https://wiki.openstreetmap.org/wiki/Tag:status%3D5) [6](https://wiki.openstreetmap.org/wiki/Tag:status%3D6) [9](https://wiki.openstreetmap.org/wiki/Tag:status%3D9)
|
||||
|
||||
|
||||
|
||||
|
||||
### status
|
||||
|
||||
|
||||
|
||||
This tagrendering has no question and is thus read-only
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- Task is created corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:status' target='_blank'>status</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:status%3D0' target='_blank'>0</a>`
|
||||
- Task is fixed corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:status' target='_blank'>status</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:status%3D1' target='_blank'>1</a>`
|
||||
- Task is a false positive corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:status' target='_blank'>status</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:status%3D2' target='_blank'>2</a>`
|
||||
- Task is skipped corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:status' target='_blank'>status</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:status%3D3' target='_blank'>3</a>`
|
||||
- Task is deleted corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:status' target='_blank'>status</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:status%3D4' target='_blank'>4</a>`
|
||||
- Task is already fixed corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:status' target='_blank'>status</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:status%3D5' target='_blank'>5</a>`
|
||||
- Task is marked as too hard corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:status' target='_blank'>status</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:status%3D6' target='_blank'>6</a>`
|
||||
- Task is disabled corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:status' target='_blank'>status</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:status%3D9' target='_blank'>9</a>`
|
||||
|
||||
|
||||
|
||||
|
||||
### blurb
|
||||
|
||||
|
||||
|
||||
This tagrendering has no question and is thus read-only
|
||||
|
||||
|
||||
|
||||
Only visible if `blurb~^..*$` is shown
|
||||
|
||||
This document is autogenerated from [assets/layers/maproulette/maproulette.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/maproulette/maproulette.json)
|
112
Docs/Layers/maproulette_challenge.md
Normal file
112
Docs/Layers/maproulette_challenge.md
Normal file
|
@ -0,0 +1,112 @@
|
|||
|
||||
|
||||
maproulette_challenge
|
||||
=======================
|
||||
|
||||
|
||||
|
||||
<img src='https://mapcomplete.osm.be/./assets/layers/maproulette/logomark.svg' height="100px">
|
||||
|
||||
Layer showing tasks of a MapRoulette challenge
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- This layer is shown at zoomlevel **0** and higher
|
||||
- Not visible in the layer selection by default. If you want to make this layer toggable, override `name`
|
||||
- <img src='../warning.svg' height='1rem'/> This layer is loaded from an external source, namely `https://maproulette.org/api/v2/challenge/view/27971`
|
||||
|
||||
|
||||
|
||||
|
||||
#### Themes using this layer
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- [onwheels](https://mapcomplete.osm.be/onwheels)
|
||||
- [personal](https://mapcomplete.osm.be/personal)
|
||||
|
||||
|
||||
|
||||
|
||||
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
|
||||
----------------------
|
||||
|
||||
|
||||
|
||||
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/mr_taskStatus#values) [mr_taskStatus](https://wiki.openstreetmap.org/wiki/Key:mr_taskStatus) | Multiple choice | [Created](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DCreated) [Fixed](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DFixed) [False positive](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DFalse positive) [Skipped](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DSkipped) [Deleted](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DDeleted) [Already fixed](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DAlready fixed) [Too hard](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DToo hard) [Disabled](https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DDisabled)
|
||||
|
||||
|
||||
|
||||
|
||||
### details
|
||||
|
||||
|
||||
|
||||
This tagrendering has no question and is thus read-only
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
### status
|
||||
|
||||
|
||||
|
||||
This tagrendering has no question and is thus read-only
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- Task is created corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:mr_taskStatus' target='_blank'>mr_taskStatus</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DCreated' target='_blank'>Created</a>`
|
||||
- Task is fixed corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:mr_taskStatus' target='_blank'>mr_taskStatus</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DFixed' target='_blank'>Fixed</a>`
|
||||
- Task is a false positive corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:mr_taskStatus' target='_blank'>mr_taskStatus</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DFalse positive' target='_blank'>False positive</a>`
|
||||
- Task is skipped corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:mr_taskStatus' target='_blank'>mr_taskStatus</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DSkipped' target='_blank'>Skipped</a>`
|
||||
- Task is deleted corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:mr_taskStatus' target='_blank'>mr_taskStatus</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DDeleted' target='_blank'>Deleted</a>`
|
||||
- Task is already fixed corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:mr_taskStatus' target='_blank'>mr_taskStatus</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DAlready fixed' target='_blank'>Already fixed</a>`
|
||||
- Task is marked as too hard corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:mr_taskStatus' target='_blank'>mr_taskStatus</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DToo hard' target='_blank'>Too hard</a>`
|
||||
- Task is disabled corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:mr_taskStatus' target='_blank'>mr_taskStatus</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:mr_taskStatus%3DDisabled' target='_blank'>Disabled</a>`
|
||||
|
||||
|
||||
|
||||
|
||||
### blurb
|
||||
|
||||
|
||||
|
||||
This tagrendering has no question and is thus read-only
|
||||
|
||||
|
||||
|
||||
Only visible if `blurb~^..*$` is shown
|
||||
|
||||
This document is autogenerated from [assets/layers/maproulette_challenge/maproulette_challenge.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/maproulette_challenge/maproulette_challenge.json)
|
|
@ -27,7 +27,7 @@ Pedestrian footpaths, especially used for indoor navigation and snapping entranc
|
|||
|
||||
|
||||
|
||||
- [entrances](https://mapcomplete.osm.be/entrances)
|
||||
- [indoors](https://mapcomplete.osm.be/indoors)
|
||||
- [onwheels](https://mapcomplete.osm.be/onwheels)
|
||||
- [personal](https://mapcomplete.osm.be/personal)
|
||||
|
||||
|
|
|
@ -27,7 +27,6 @@ The layer showing picnic tables
|
|||
|
||||
- [benches](https://mapcomplete.osm.be/benches)
|
||||
- [nature](https://mapcomplete.osm.be/nature)
|
||||
- [onwheels](https://mapcomplete.osm.be/onwheels)
|
||||
- [personal](https://mapcomplete.osm.be/personal)
|
||||
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@ Schools giving primary and secondary education and post-secondary, non-tertiary
|
|||
|
||||
|
||||
- [education](https://mapcomplete.osm.be/education)
|
||||
- [onwheels](https://mapcomplete.osm.be/onwheels)
|
||||
- [personal](https://mapcomplete.osm.be/personal)
|
||||
|
||||
|
||||
|
|
|
@ -19,18 +19,6 @@ A nice viewpoint or nice view. Ideal to add an image if no other category fits
|
|||
|
||||
|
||||
|
||||
#### Themes using this layer
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
- [onwheels](https://mapcomplete.osm.be/onwheels)
|
||||
- [personal](https://mapcomplete.osm.be/personal)
|
||||
|
||||
|
||||
|
||||
|
||||
Basic tags for this layer
|
||||
---------------------------
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ Special builtin layer providing all walls and buildings. This layer is useful in
|
|||
|
||||
|
||||
- [aed](https://mapcomplete.osm.be/aed)
|
||||
- [entrances](https://mapcomplete.osm.be/entrances)
|
||||
- [indoors](https://mapcomplete.osm.be/indoors)
|
||||
- [onwheels](https://mapcomplete.osm.be/onwheels)
|
||||
- [personal](https://mapcomplete.osm.be/personal)
|
||||
- [surveillance](https://mapcomplete.osm.be/surveillance)
|
||||
|
@ -63,34 +63,32 @@ Elements must have the all of following tags to be shown on this layer:
|
|||
|
||||
|
||||
|
||||
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/_entrance:width#values) [_entrance:width](https://wiki.openstreetmap.org/wiki/Key:_entrance:width) | [string](../SpecialInputElements.md#string) | [](https://wiki.openstreetmap.org/wiki/Tag:_entrance:width%3D)
|
||||
|
||||
|
||||
|
||||
|
||||
### _entrance:width
|
||||
### entrance_info
|
||||
|
||||
|
||||
|
||||
This tagrendering has no question and is thus read-only
|
||||
|
||||
This rendering asks information about the property [_entrance:width](https://wiki.openstreetmap.org/wiki/Key:_entrance:width)
|
||||
|
||||
This is rendered with <a href ='#{_entrance:id} '>This door has a width of {canonical(_entrance:width)} meters </a>
|
||||
|
||||
|
||||
|
||||
|
||||
- No entrance has been marked corresponds with `<a href='https://wiki.openstreetmap.org/wiki/Key:_entrances_count' target='_blank'>_entrances_count</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:_entrances_count%3D0' target='_blank'>0</a>`
|
||||
- None of the {_entrance_count} entrances have width information yet corresponds with `_entrances_count_without_width=_entrances_count`
|
||||
|
||||
- This entrance has no width information corresponds with ``
|
||||
|
||||
|
||||
|
||||
|
||||
### biggest_width
|
||||
|
||||
|
||||
|
||||
This tagrendering has no question and is thus read-only
|
||||
|
||||
|
||||
|
||||
Only visible if `_biggest_width_id~^..*$` is shown
|
||||
|
||||
This document is autogenerated from [assets/layers/walls_and_buildings/walls_and_buildings.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/walls_and_buildings/walls_and_buildings.json)
|
BIN
Docs/Screenshots/Indoors.png
Normal file
BIN
Docs/Screenshots/Indoors.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 222 KiB |
|
@ -15,9 +15,28 @@ General usage is `{func_name()}`, `{func_name(arg, someotherarg)}` or `{func_nam
|
|||
|
||||
|
||||
|
||||
Instead of using `{"render": {"en": "{some_special_visualisation(some_arg, some other really long message, more args)} , "nl": "{some_special_visualisation(some_arg, een boodschap in een andere taal, more args)}}` , one can also write
|
||||
Instead of using `{"render": {"en": "{some_special_visualisation(some_arg, some other really long message, more args)} , "nl": "{some_special_visualisation(some_arg, een boodschap in een andere taal, more args)}}`, one can also write
|
||||
|
||||
`{"render":{"special":{"type":"some_special_visualisation","argname":"some_arg","message":{"en":"some other really long message","nl":"een boodschap in een andere taal"},"other_arg_name":"more args"}}}`
|
||||
`{
|
||||
"render": {
|
||||
"special": {
|
||||
"type": "some_special_visualisation",
|
||||
"before": {
|
||||
"en": "Some text to prefix before the special element (e.g. a title)",
|
||||
"nl": "Een tekst om voor het element te zetten (bv. een titel)"
|
||||
},
|
||||
"after": {
|
||||
"en": "Some text to put after the element, e.g. a footer"
|
||||
},
|
||||
"argname": "some_arg",
|
||||
"message": {
|
||||
"en": "some other really long message",
|
||||
"nl": "een boodschap in een andere taal"
|
||||
},
|
||||
"other_arg_name": "more args"
|
||||
}
|
||||
}
|
||||
}`
|
||||
|
||||
## Table of contents
|
||||
|
||||
|
@ -83,8 +102,16 @@ Instead of using `{"render": {"en": "{some_special_visualisation(some_arg, some
|
|||
* [Example usage of nearby_images](#example-usage-of-nearby_images)
|
||||
+ [mapillary_link](#mapillary_link)
|
||||
* [Example usage of mapillary_link](#example-usage-of-mapillary_link)
|
||||
+ [maproulette_task](#maproulette_task)
|
||||
* [Example usage of maproulette_task](#example-usage-of-maproulette_task)
|
||||
+ [statistics](#statistics)
|
||||
* [Example usage of statistics](#example-usage-of-statistics)
|
||||
+ [send_email](#send_email)
|
||||
* [Example usage of send_email](#example-usage-of-send_email)
|
||||
+ [multi](#multi)
|
||||
* [Example usage of multi](#example-usage-of-multi)
|
||||
+ [steal](#steal)
|
||||
* [Example usage of steal](#example-usage-of-steal)
|
||||
+ [auto_apply](#auto_apply)
|
||||
* [Example usage of auto_apply](#example-usage-of-auto_apply)
|
||||
|
||||
|
@ -698,6 +725,16 @@ zoom | 18 | The startzoom of mapillary
|
|||
|
||||
|
||||
|
||||
### maproulette_task
|
||||
|
||||
Show details of a MapRoulette task
|
||||
|
||||
#### Example usage of maproulette_task
|
||||
|
||||
`{maproulette_task()}`
|
||||
|
||||
|
||||
|
||||
### statistics
|
||||
|
||||
Show general statistics about the elements currently in view. Intended to use on the `current_view`-layer
|
||||
|
@ -708,6 +745,67 @@ zoom | 18 | The startzoom of mapillary
|
|||
|
||||
|
||||
|
||||
### send_email
|
||||
|
||||
Creates a `mailto`-link where some fields are already set and correctly escaped. The user will be promted to send the email
|
||||
|
||||
name | default | description
|
||||
------ | --------- | -------------
|
||||
to | _undefined_ | Who to send the email to?
|
||||
subject | _undefined_ | The subject of the email
|
||||
body | _undefined_ | The text in the email
|
||||
button_text | _undefined_ | The text shown on the button in the UI
|
||||
|
||||
|
||||
#### Example usage of send_email
|
||||
|
||||
`{send_email(,,,)}`
|
||||
|
||||
|
||||
|
||||
### multi
|
||||
|
||||
Given an embedded tagRendering (read only) and a key, will read the keyname as a JSON-list. Every element of this list will be considered as tags and rendered with the tagRendering
|
||||
|
||||
name | default | description
|
||||
------ | --------- | -------------
|
||||
key | _undefined_ | The property to read and to interpret as a list of properties
|
||||
tagrendering | _undefined_ | An entire tagRenderingConfig
|
||||
|
||||
|
||||
#### Example usage of multi
|
||||
|
||||
```json
|
||||
{
|
||||
"render": {
|
||||
"special": {
|
||||
"type": "multi",
|
||||
"key": "_doors_from_building_properties",
|
||||
"tagRendering": {
|
||||
"render": "The building containing this feature has a <a href='#{id}'>door</a> of width {entrance:width}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}```
|
||||
|
||||
|
||||
|
||||
### steal
|
||||
|
||||
Shows a tagRendering from a different object as if this was the object itself
|
||||
|
||||
name | default | description
|
||||
------ | --------- | -------------
|
||||
featureId | _undefined_ | The key of the attribute which contains the id of the feature from which to use the tags
|
||||
tagRenderingId | _undefined_ | The layer-id and tagRenderingId to render. Can be multiple value if ';'-separated (in which case every value must also contain the layerId, e.g. `layerId.tagRendering0; layerId.tagRendering1`). Note: this can cause layer injection
|
||||
|
||||
|
||||
#### Example usage of steal
|
||||
|
||||
`{steal(,)}`
|
||||
|
||||
|
||||
|
||||
### auto_apply
|
||||
|
||||
A button to run many actions for many features at once. To effectively use this button, you'll need some ingredients:
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"description": "On this map, publicly accessible indoor places are shown",
|
||||
"project_url": "https://mapcomplete.osm.be/indoors",
|
||||
"doc_url": "https://github.com/pietervdvn/MapComplete/tree/master/assets/themes/",
|
||||
"icon_url": "https://mapcomplete.osm.be/assets/themes/onwheels/crest.svg",
|
||||
"icon_url": "https://mapcomplete.osm.be/assets/layers/entrance/entrance.svg",
|
||||
"contact_name": "Pieter Vander Vennet, MapComplete",
|
||||
"contact_email": "pietervdvn@posteo.net"
|
||||
},
|
||||
|
@ -50,6 +50,261 @@
|
|||
{
|
||||
"key": "wikipedia",
|
||||
"description": "The layer 'indoors allows to upload images and adds them under the 'image'-tag (and image:0, image:1, ... for multiple images). Furhtermore, this layer shows images based on the keys image, wikidata, wikipedia, wikimedia_commons and mapillary"
|
||||
},
|
||||
{
|
||||
"key": "name",
|
||||
"description": "Layer 'indoors' shows and asks freeform values for key 'name' (in the MapComplete.osm.be theme 'Indoors')"
|
||||
},
|
||||
{
|
||||
"key": "highway",
|
||||
"description": "The MapComplete theme Indoors has a layer Pedestrian paths showing features with this tag",
|
||||
"value": "footway"
|
||||
},
|
||||
{
|
||||
"key": "highway",
|
||||
"description": "The MapComplete theme Indoors has a layer Pedestrian paths showing features with this tag",
|
||||
"value": "path"
|
||||
},
|
||||
{
|
||||
"key": "highway",
|
||||
"description": "The MapComplete theme Indoors has a layer Pedestrian paths showing features with this tag",
|
||||
"value": "corridor"
|
||||
},
|
||||
{
|
||||
"key": "highway",
|
||||
"description": "The MapComplete theme Indoors has a layer Pedestrian paths showing features with this tag",
|
||||
"value": "steps"
|
||||
},
|
||||
{
|
||||
"key": "entrance",
|
||||
"description": "The MapComplete theme Indoors has a layer Entrance showing features with this tag"
|
||||
},
|
||||
{
|
||||
"key": "indoor",
|
||||
"description": "The MapComplete theme Indoors has a layer Entrance showing features with this tag",
|
||||
"value": "door"
|
||||
},
|
||||
{
|
||||
"key": "door",
|
||||
"description": "The MapComplete theme Indoors has a layer Entrance showing features with this tag"
|
||||
},
|
||||
{
|
||||
"key": "image",
|
||||
"description": "The layer 'Entrance allows to upload images and adds them under the 'image'-tag (and image:0, image:1, ... for multiple images). Furhtermore, this layer shows images based on the keys image, wikidata, wikipedia, wikimedia_commons and mapillary"
|
||||
},
|
||||
{
|
||||
"key": "mapillary",
|
||||
"description": "The layer 'Entrance allows to upload images and adds them under the 'image'-tag (and image:0, image:1, ... for multiple images). Furhtermore, this layer shows images based on the keys image, wikidata, wikipedia, wikimedia_commons and mapillary"
|
||||
},
|
||||
{
|
||||
"key": "wikidata",
|
||||
"description": "The layer 'Entrance allows to upload images and adds them under the 'image'-tag (and image:0, image:1, ... for multiple images). Furhtermore, this layer shows images based on the keys image, wikidata, wikipedia, wikimedia_commons and mapillary"
|
||||
},
|
||||
{
|
||||
"key": "wikipedia",
|
||||
"description": "The layer 'Entrance allows to upload images and adds them under the 'image'-tag (and image:0, image:1, ... for multiple images). Furhtermore, this layer shows images based on the keys image, wikidata, wikipedia, wikimedia_commons and mapillary"
|
||||
},
|
||||
{
|
||||
"key": "level",
|
||||
"description": "Layer 'Entrance' shows and asks freeform values for key 'level' (in the MapComplete.osm.be theme 'Indoors')"
|
||||
},
|
||||
{
|
||||
"key": "location",
|
||||
"description": "Layer 'Entrance' shows location=underground with a fixed text, namely 'Located underground' (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "underground"
|
||||
},
|
||||
{
|
||||
"key": "level",
|
||||
"description": "Layer 'Entrance' shows level=0 with a fixed text, namely 'Located on the ground floor' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "0"
|
||||
},
|
||||
{
|
||||
"key": "level",
|
||||
"description": "Layer 'Entrance' shows with a fixed text, namely 'Located on the ground floor' (in the MapComplete.osm.be theme 'Indoors') Picking this answer will delete the key level.",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"key": "level",
|
||||
"description": "Layer 'Entrance' shows level=1 with a fixed text, namely 'Located on the first floor' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"key": "level",
|
||||
"description": "Layer 'Entrance' shows level=-1 with a fixed text, namely 'Located on the first basement level' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "-1"
|
||||
},
|
||||
{
|
||||
"key": "entrance",
|
||||
"description": "Layer 'Entrance' shows entrance=yes with a fixed text, namely 'No specific entrance type is known' (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "yes"
|
||||
},
|
||||
{
|
||||
"key": "entrance",
|
||||
"description": "Layer 'Entrance' shows indoor=door with a fixed text, namely 'This is an indoor door, separating a room or a corridor within a single building' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors') Picking this answer will delete the key entrance.",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"key": "indoor",
|
||||
"description": "Layer 'Entrance' shows indoor=door with a fixed text, namely 'This is an indoor door, separating a room or a corridor within a single building' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "door"
|
||||
},
|
||||
{
|
||||
"key": "indoor",
|
||||
"description": "Layer 'Entrance' shows entrance=main with a fixed text, namely 'This is the main entrance' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors') Picking this answer will delete the key indoor.",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"key": "entrance",
|
||||
"description": "Layer 'Entrance' shows entrance=main with a fixed text, namely 'This is the main entrance' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "main"
|
||||
},
|
||||
{
|
||||
"key": "indoor",
|
||||
"description": "Layer 'Entrance' shows entrance=secondary with a fixed text, namely 'This is a secondary entrance' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors') Picking this answer will delete the key indoor.",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"key": "entrance",
|
||||
"description": "Layer 'Entrance' shows entrance=secondary with a fixed text, namely 'This is a secondary entrance' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "secondary"
|
||||
},
|
||||
{
|
||||
"key": "indoor",
|
||||
"description": "Layer 'Entrance' shows entrance=service with a fixed text, namely 'This is a service entrance - normally only used for employees, delivery, …' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors') Picking this answer will delete the key indoor.",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"key": "entrance",
|
||||
"description": "Layer 'Entrance' shows entrance=service with a fixed text, namely 'This is a service entrance - normally only used for employees, delivery, …' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "service"
|
||||
},
|
||||
{
|
||||
"key": "indoor",
|
||||
"description": "Layer 'Entrance' shows entrance=exit with a fixed text, namely 'This is an exit where one can not enter' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors') Picking this answer will delete the key indoor.",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"key": "entrance",
|
||||
"description": "Layer 'Entrance' shows entrance=exit with a fixed text, namely 'This is an exit where one can not enter' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "exit"
|
||||
},
|
||||
{
|
||||
"key": "indoor",
|
||||
"description": "Layer 'Entrance' shows entrance=entrance with a fixed text, namely 'This is an entrance where one can only enter (but not exit)' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors') Picking this answer will delete the key indoor.",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"key": "entrance",
|
||||
"description": "Layer 'Entrance' shows entrance=entrance with a fixed text, namely 'This is an entrance where one can only enter (but not exit)' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "entrance"
|
||||
},
|
||||
{
|
||||
"key": "indoor",
|
||||
"description": "Layer 'Entrance' shows entrance=emergency with a fixed text, namely 'This is emergency exit' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors') Picking this answer will delete the key indoor.",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"key": "entrance",
|
||||
"description": "Layer 'Entrance' shows entrance=emergency with a fixed text, namely 'This is emergency exit' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "emergency"
|
||||
},
|
||||
{
|
||||
"key": "indoor",
|
||||
"description": "Layer 'Entrance' shows entrance=home with a fixed text, namely 'This is the entrance to a private home' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors') Picking this answer will delete the key indoor.",
|
||||
"value": ""
|
||||
},
|
||||
{
|
||||
"key": "entrance",
|
||||
"description": "Layer 'Entrance' shows entrance=home with a fixed text, namely 'This is the entrance to a private home' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "home"
|
||||
},
|
||||
{
|
||||
"key": "door",
|
||||
"description": "Layer 'Entrance' shows door=yes with a fixed text, namely 'The door type is not known' (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "yes"
|
||||
},
|
||||
{
|
||||
"key": "door",
|
||||
"description": "Layer 'Entrance' shows door=hinged with a fixed text, namely 'A classical, hinged door supported by joints' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "hinged"
|
||||
},
|
||||
{
|
||||
"key": "door",
|
||||
"description": "Layer 'Entrance' shows door=revolving with a fixed text, namely 'A revolving door which hangs on a central shaft, rotating within a cylindrical enclosure' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "revolving"
|
||||
},
|
||||
{
|
||||
"key": "door",
|
||||
"description": "Layer 'Entrance' shows door=sliding with a fixed text, namely 'A sliding door where the door slides sidewards, typically parallel with a wall' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "sliding"
|
||||
},
|
||||
{
|
||||
"key": "door",
|
||||
"description": "Layer 'Entrance' shows door=overhead with a fixed text, namely 'A door which rolls from overhead, typically seen for garages' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "overhead"
|
||||
},
|
||||
{
|
||||
"key": "door",
|
||||
"description": "Layer 'Entrance' shows door=no with a fixed text, namely 'This is an entrance without a physical door' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "no"
|
||||
},
|
||||
{
|
||||
"key": "automatic_door",
|
||||
"description": "Layer 'Entrance' shows automatic_door=yes with a fixed text, namely 'This is an automatic door' (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "yes"
|
||||
},
|
||||
{
|
||||
"key": "automatic_door",
|
||||
"description": "Layer 'Entrance' shows automatic_door=no with a fixed text, namely 'This door is <b>not</b> automated' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "no"
|
||||
},
|
||||
{
|
||||
"key": "automatic_door",
|
||||
"description": "Layer 'Entrance' shows automatic_door=motion with a fixed text, namely 'This door will open automatically when <b>motion</b> is detected' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "motion"
|
||||
},
|
||||
{
|
||||
"key": "automatic_door",
|
||||
"description": "Layer 'Entrance' shows automatic_door=floor with a fixed text, namely 'This door will open automatically when a <b>sensor in the floor</b> is triggered' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "floor"
|
||||
},
|
||||
{
|
||||
"key": "automatic_door",
|
||||
"description": "Layer 'Entrance' shows automatic_door=button with a fixed text, namely 'This door will open automatically when a <b>button is pressed</b>' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "button"
|
||||
},
|
||||
{
|
||||
"key": "automatic_door",
|
||||
"description": "Layer 'Entrance' shows automatic_door=slowdown_button with a fixed text, namely 'This door revolves automatically all the time, but has a <b>button to slow it down</b>, e.g. for wheelchair users' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "slowdown_button"
|
||||
},
|
||||
{
|
||||
"key": "automatic_door",
|
||||
"description": "Layer 'Entrance' shows automatic_door=continuous with a fixed text, namely 'This door revolves automatically all the time' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "continuous"
|
||||
},
|
||||
{
|
||||
"key": "automatic_door",
|
||||
"description": "Layer 'Entrance' shows automatic_door=serviced_on_button_press with a fixed text, namely 'This door will be opened by staff when requested by <b>pressing a button</b>' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "serviced_on_button_press"
|
||||
},
|
||||
{
|
||||
"key": "automatic_door",
|
||||
"description": "Layer 'Entrance' shows automatic_door=serviced_on_request with a fixed text, namely 'This door will be opened by staff when requested' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "serviced_on_request"
|
||||
},
|
||||
{
|
||||
"key": "width",
|
||||
"description": "Layer 'Entrance' shows and asks freeform values for key 'width' (in the MapComplete.osm.be theme 'Indoors')"
|
||||
},
|
||||
{
|
||||
"key": "kerb:height",
|
||||
"description": "Layer 'Entrance' shows and asks freeform values for key 'kerb:height' (in the MapComplete.osm.be theme 'Indoors')"
|
||||
},
|
||||
{
|
||||
"key": "kerb:height",
|
||||
"description": "Layer 'Entrance' shows kerb:height=0 with a fixed text, namely 'This door does not have a kerb' and allows to pick this as a default answer (in the MapComplete.osm.be theme 'Indoors')",
|
||||
"value": "0"
|
||||
}
|
||||
]
|
||||
}
|
File diff suppressed because it is too large
Load diff
|
@ -6099,6 +6099,10 @@
|
|||
"key": "wikipedia",
|
||||
"description": "The layer 'indoors allows to upload images and adds them under the 'image'-tag (and image:0, image:1, ... for multiple images). Furhtermore, this layer shows images based on the keys image, wikidata, wikipedia, wikimedia_commons and mapillary"
|
||||
},
|
||||
{
|
||||
"key": "name",
|
||||
"description": "Layer 'indoors' shows and asks freeform values for key 'name' (in the MapComplete.osm.be theme 'Personal theme')"
|
||||
},
|
||||
{
|
||||
"key": "information",
|
||||
"description": "The MapComplete theme Personal theme has a layer Information boards showing features with this tag",
|
||||
|
@ -12261,31 +12265,6 @@
|
|||
"key": "name",
|
||||
"description": "Layer 'veterinary' shows and asks freeform values for key 'name' (in the MapComplete.osm.be theme 'Personal theme')"
|
||||
},
|
||||
{
|
||||
"key": "tourism",
|
||||
"description": "The MapComplete theme Personal theme has a layer Viewpoint showing features with this tag",
|
||||
"value": "viewpoint"
|
||||
},
|
||||
{
|
||||
"key": "image",
|
||||
"description": "The layer 'Viewpoint allows to upload images and adds them under the 'image'-tag (and image:0, image:1, ... for multiple images). Furhtermore, this layer shows images based on the keys image, wikidata, wikipedia, wikimedia_commons and mapillary"
|
||||
},
|
||||
{
|
||||
"key": "mapillary",
|
||||
"description": "The layer 'Viewpoint allows to upload images and adds them under the 'image'-tag (and image:0, image:1, ... for multiple images). Furhtermore, this layer shows images based on the keys image, wikidata, wikipedia, wikimedia_commons and mapillary"
|
||||
},
|
||||
{
|
||||
"key": "wikidata",
|
||||
"description": "The layer 'Viewpoint allows to upload images and adds them under the 'image'-tag (and image:0, image:1, ... for multiple images). Furhtermore, this layer shows images based on the keys image, wikidata, wikipedia, wikimedia_commons and mapillary"
|
||||
},
|
||||
{
|
||||
"key": "wikipedia",
|
||||
"description": "The layer 'Viewpoint allows to upload images and adds them under the 'image'-tag (and image:0, image:1, ... for multiple images). Furhtermore, this layer shows images based on the keys image, wikidata, wikipedia, wikimedia_commons and mapillary"
|
||||
},
|
||||
{
|
||||
"key": "description",
|
||||
"description": "Layer 'Viewpoint' shows and asks freeform values for key 'description' (in the MapComplete.osm.be theme 'Personal theme')"
|
||||
},
|
||||
{
|
||||
"key": "amenity",
|
||||
"description": "The MapComplete theme Personal theme has a layer Waste Basket showing features with this tag",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue