2022-10-08 23:24:30 +02:00
|
|
|
{
|
|
|
|
"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"
|
2022-10-08 23:24:30 +02:00
|
|
|
},
|
2023-10-30 18:08:38 +01:00
|
|
|
"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"
|
2023-10-30 18:08:38 +01:00
|
|
|
},
|
|
|
|
"source": {
|
|
|
|
"geoJson": "https://raw.githubusercontent.com/pietervdvn/MapComplete-data/main/community_index/tile_{z}_{x}_{y}.geojson",
|
|
|
|
"geoJsonZoomLevel": 6,
|
2024-02-26 15:08:07 +01:00
|
|
|
"osmTags": "resources~*"
|
2023-10-30 18:08:38 +01:00
|
|
|
},
|
|
|
|
"calculatedTags": [
|
|
|
|
"_community_links=Object.values(JSON.parse(feat.properties.resources || '{}')).map(value =>{return value.resolved.nameHTML + '<br> ' + value.resolved.descriptionHTML}).join('<br>')"
|
|
|
|
],
|
2022-10-08 23:24:30 +02:00
|
|
|
"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"
|
2022-10-08 23:24:30 +02:00
|
|
|
}
|
|
|
|
},
|
2023-10-30 18:08:38 +01:00
|
|
|
"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"
|
|
|
|
}
|
2022-10-08 23:24:30 +02:00
|
|
|
],
|
|
|
|
"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"
|
2022-10-08 23:24:30 +02:00
|
|
|
},
|
|
|
|
"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"
|
2022-10-08 23:24:30 +02:00
|
|
|
},
|
|
|
|
"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"
|
2022-10-08 23:24:30 +02:00
|
|
|
},
|
|
|
|
"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"
|
2022-10-08 23:24:30 +02:00
|
|
|
},
|
|
|
|
"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"
|
2022-10-08 23:24:30 +02:00
|
|
|
},
|
|
|
|
"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"
|
2022-10-08 23:24:30 +02:00
|
|
|
},
|
|
|
|
"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"
|
2022-10-08 23:24:30 +02:00
|
|
|
},
|
|
|
|
"osmTags": "level="
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
2024-09-02 10:10:20 +02:00
|
|
|
],
|
|
|
|
"allowMove": false
|
2023-06-20 01:52:15 +02:00
|
|
|
}
|