mapcomplete/assets/layers/osm_community_index/osm_community_index.json

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

200 lines
4.9 KiB
JSON
Raw Normal View History

{
"id": "osm_community_index",
"name": {
2022-11-02 13:47:34 +01:00
"en": "OSM Community Index",
2023-05-07 23:47:50 +02:00
"de": "OSM-Community-Index",
2023-09-16 18:52:42 +02:00
"ca": "Índex de comunitats d'OSM",
"fr": "Index des communautés OSM",
2023-10-30 13:44:27 +01:00
"pl": "Indeks społeczności OSM",
2024-11-05 14:14:53 +01:00
"cs": "OSM Community Index",
"es": "Índice de la comunidad OSM"
},
"description": {
"en": "A layer showing the OpenStreetMap Communities",
"de": "Eine Ebene aller OpenStreetMap-Communities",
"ca": "Una capa que mostra les comunitats d'OpenStreetMap",
"fr": "Une couche affichant les communautés OpenStreetMap",
"pl": "Warstwa pokazująca społeczności OpenStreetMap",
2024-11-05 14:14:53 +01:00
"cs": "Vrstva zobrazující komunity OpenStreetMap",
"es": "Una capa que muestra las comunidades de OpenStreetMap"
},
"source": {
"geoJson": "https://raw.githubusercontent.com/pietervdvn/MapComplete-data/main/community_index/tile_{z}_{x}_{y}.geojson",
"geoJsonZoomLevel": 6,
"osmTags": "resources~*"
},
"calculatedTags": [
"_community_links=Object.values(JSON.parse(feat.properties.resources || '{}')).map(value =>{return value.resolved.nameHTML + '<br>&emsp;' + value.resolved.descriptionHTML}).join('<br>')"
],
"title": {
"render": {
2022-11-02 13:47:34 +01:00
"en": "OSM Community Index",
2023-05-07 23:47:50 +02:00
"de": "OSM-Community-Index",
2023-09-16 18:52:42 +02:00
"ca": "Índex de comunitats d'OSM",
"fr": "Index des communautés OSM",
2023-10-30 13:44:27 +01:00
"pl": "Indeks społeczności OSM",
2024-11-05 14:14:53 +01:00
"cs": "OSM Community Index",
"es": "Índice de la comunidad OSM"
}
},
"pointRendering": [
{
"iconSize": "40,40",
"location": [
"point"
],
"anchor": "bottom",
"marker": [
{
"icon": "pin",
"color": "#6BC4F7"
},
{
"icon": "./assets/layers/osm_community_index/osm.svg"
}
]
}
],
"lineRendering": [
{
"color": "#444444",
"width": "1"
}
],
"tagRenderings": [
{
"id": "country_name",
"condition": "level=country",
"render": "{nameEn} {emojiFlag}",
"description": "The name of the country"
},
{
"id": "community_links",
"render": "{_community_links}",
"condition": "_community_links~*",
"description": "Community Links (Discord, meetups, Slack groups, IRC channels, mailing lists etc...)"
}
],
"filter": [
{
"id": "country",
"options": [
{
"question": {
2022-11-02 13:47:34 +01:00
"en": "Country",
2022-11-08 14:37:31 +01:00
"de": "Land",
2023-05-07 23:47:50 +02:00
"nl": "Land",
2023-09-16 18:52:42 +02:00
"ca": "País",
"fr": "Pays",
2023-10-16 13:38:53 +02:00
"pl": "Kraj",
2024-11-05 14:14:53 +01:00
"cs": "Země",
"es": "País"
},
"osmTags": "level=country"
}
]
},
{
"id": "sub_country",
"options": [
{
"question": {
2022-11-02 13:47:34 +01:00
"en": "Sub Country Group",
2023-05-07 23:47:50 +02:00
"de": "Regionale Gruppe",
2023-10-16 13:38:53 +02:00
"ca": "Subgrup de països",
2024-11-05 14:14:53 +01:00
"cs": "Skupina dílčích zemí",
"es": "Grupo de subpaíses"
},
"osmTags": "level=subcountryGroup"
}
]
},
{
"id": "region",
"options": [
{
"question": {
2022-11-02 13:47:34 +01:00
"en": "Region",
2022-11-08 14:37:31 +01:00
"de": "Region",
2023-05-07 23:47:50 +02:00
"nl": "Regio",
2023-09-16 18:52:42 +02:00
"ca": "Regió",
"fr": "Région",
2023-10-30 13:44:27 +01:00
"pl": "Region",
2024-11-05 14:14:53 +01:00
"cs": "Region",
"es": "Región"
},
"osmTags": "level=region"
}
]
},
{
"id": "intermediate_region",
"options": [
{
"question": {
2022-11-02 13:47:34 +01:00
"en": "Intermediate Region",
2023-05-07 23:47:50 +02:00
"de": "Mittlere Region",
2023-10-16 13:38:53 +02:00
"ca": "Regió intermèdia",
2024-11-05 14:14:53 +01:00
"cs": "Střední region",
"es": "Región intermedia"
},
"osmTags": "level=intermediateRegion"
}
]
},
{
"id": "territory",
"options": [
{
"question": {
2022-11-02 13:47:34 +01:00
"en": "Territory",
2023-05-07 23:47:50 +02:00
"de": "Gebiet",
2023-09-16 18:52:42 +02:00
"ca": "Territori",
"fr": "Territoire",
2023-10-16 13:38:53 +02:00
"pl": "Terytorium",
2024-11-05 14:14:53 +01:00
"cs": "Území",
"es": "Territorio"
},
"osmTags": "level=territory"
}
]
},
{
"id": "world",
"options": [
{
"question": {
2022-11-02 13:47:34 +01:00
"en": "World",
2022-11-08 14:37:31 +01:00
"de": "Welt",
2023-05-07 23:47:50 +02:00
"nl": "Wereld",
2023-09-16 18:52:42 +02:00
"ca": "Món",
"fr": "Monde",
2023-10-16 13:38:53 +02:00
"pl": "Świat",
2024-11-05 14:14:53 +01:00
"cs": "Svět",
"es": "Mundo"
},
"osmTags": "level=world"
}
]
},
{
"id": "other",
"options": [
{
"question": {
2022-11-02 13:47:34 +01:00
"en": "Other Communities",
2023-05-07 23:47:50 +02:00
"de": "Andere Communities",
2023-09-16 18:52:42 +02:00
"ca": "Altres Comunitats",
"fr": "Autres communautés",
2023-10-16 13:38:53 +02:00
"pl": "Inne społeczności",
2024-11-05 14:14:53 +01:00
"cs": "Ostatní komunity",
"es": "Otras comunidades"
},
"osmTags": "level="
}
]
}
],
"allowMove": false
}