mapcomplete/Docs/Layers/osm_community_index.md

260 lines
4.7 KiB
Markdown

[//]: # (WARNING: this file is automatically generated. Please find the sources at the bottom and edit those sources)
osm_community_index
=====================
A layer showing the OpenStreetMap Communities
- This layer is shown at zoomlevel **0** and higher
- <img src='../warning.svg' height='1rem'/> This layer is loaded from an external source, namely `https://raw.githubusercontent.com/pietervdvn/MapComplete-data/main/community_index/tile_{z}_{x}_{y}.geojson`
#### Themes using this layer
- [osm_community_index](https://mapcomplete.org/osm_community_index)
- [personal](https://mapcomplete.org/personal)
Basic tags for this layer
---------------------------
Elements must match the expression **resources~.+**
[Execute on overpass](http://overpass-turbo.eu/?Q=%5Bout%3Ajson%5D%5Btimeout%3A90%5D%3B%28%20%20%20%20nwr%5B%22resources%22%5D%28%7B%7Bbbox%7D%7D%29%3B%0A%29%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.org/assets/svg/statistics.svg' height='18px'>](https://taginfo.openstreetmap.org/keys/id#values) [id](https://wiki.openstreetmap.org/wiki/Key:id) | Multiple choice |
### 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: `_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 `added_by_default`
### country_name
The name of the country
This tagrendering has no question and is thus read-only
This tagrendering is only visible in the popup if the following condition is met: `<a href='https://wiki.openstreetmap.org/wiki/Key:level' target='_blank'>level</a>=<a href='https://wiki.openstreetmap.org/wiki/Tag:level%3Dcountry' target='_blank'>country</a>`
### community_links
Community Links (Discord, meetups, Slack groups, IRC channels, mailing lists etc...)
This tagrendering has no question and is thus read-only
This tagrendering is only visible in the popup if the following condition is met: `_community_links~.+`
### leftover-questions
This tagrendering has no question and is thus read-only
### lod
This tagrendering has no question and is thus read-only
This tagrendering has labels `added_by_default`
### 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:changeset~.+ & _last_edit:contributor~.+`
This tagrendering has labels `added_by_default`
### favourite_status
This tagrendering has no question and is thus read-only
### qr_code
This tagrendering has no question and is thus read-only
This tagrendering has labels `added_by_default`
### share
This tagrendering has no question and is thus read-only
This tagrendering has labels `added_by_default`
### all-tags
This tagrendering has no question and is thus read-only
#### Filters
id | question | osmTags
---- | ---------- | ---------
country.0 | Country | level=country
id | question | osmTags
---- | ---------- | ---------
sub_country.0 | Sub Country Group | level=subcountryGroup
id | question | osmTags
---- | ---------- | ---------
region.0 | Region | level=region
id | question | osmTags
---- | ---------- | ---------
intermediate_region.0 | Intermediate Region | level=intermediateRegion
id | question | osmTags
---- | ---------- | ---------
territory.0 | Territory | level=territory
id | question | osmTags
---- | ---------- | ---------
world.0 | World | level=world
id | question | osmTags
---- | ---------- | ---------
other.0 | Other Communities | level=
This document is autogenerated from [assets/layers/osm_community_index/osm_community_index.json](https://github.com/pietervdvn/MapComplete/blob/develop/assets/layers/osm_community_index/osm_community_index.json)