mapcomplete/assets/themes/etymology.json

214 lines
6 KiB
JSON
Raw Normal View History

2021-10-02 22:28:27 +02:00
{
"id": "etymology",
"title": {
"en": "Open Etymology Map",
"nl": "Open Etymology-kaart"
},
"shortDescription": {
"en": "What is the origin of a toponym?",
"nl": "Wat is de oorsprong van een plaatsnaam?"
},
"description": {
"en": "On this map, you can see what an object is named after. The streets, buildings, ... come from OpenStreetMap which got linked with Wikidata. The information comes from Wpikipedia.",
"nl": "Op deze kaart zie je waar een plaats naar is vernoemd. De straten, gebouwen, ... komen uit OpenStreetMap, waar een link naar Wikidata werd gelegd. De informatie komt uit wikipedia."
},
"language": [
"en",
"nl"
],
"maintainer": "",
"icon": "./assets/svg/bug.svg",
"version": "0",
"startLat": 0,
"startLon": 0,
"startZoom": 1,
"widenFactor": 2,
"socialImage": "",
"layers": [
{
2021-10-08 04:33:39 +02:00
"id": "has_etymology",
2021-10-02 22:28:27 +02:00
"name": {
"en": "Has etymolgy",
"nl": "Heeft etymology info"
},
"minzoom": 12,
"source": {
"osmTags": {
"or": [
"name:etymology:wikidata~*",
"name:etymology~*"
]
}
},
"title": {
"render": {
"*": "{name}"
}
},
"description": {
"en": "All objects which have an etymology known",
"nl": "Alle lagen met een gelinkt etymology"
},
"tagRenderings": [
{
"id": "etymology_wikidata_image",
"render": {
"*": "{image_carousel(name:etymology:wikidata)}"
}
},
2021-10-02 22:28:27 +02:00
{
"id": "simple etymology",
"render": {
"en": "Named after {name:etymology}",
"nl": "Vernoemd naar {name:etymology}"
},
"freeform": {
"key": "name:etymology"
}
},
{
"id": "wikipedia-etymology",
"render": {
"*": "{wikipedia(name:etymology:wikidata):max-height:30rem}"
2021-10-02 22:28:27 +02:00
}
2021-10-08 04:33:39 +02:00
},
{
"id": "wikidata-embed",
"render": {
"*": "<iframe src='https://m.wikidata.org/wiki/{name:etymology:wikidata}' style='width: 100%; height: 25rem'></iframe>"
},
"condition": "name:etymology:wikidata~*"
},
"wikipedia",
{
"id": "street-name-sign-image",
"render": {
"en": "{image_carousel(image:streetsign)}<br/>{image_upload(image:streetsign, Add image of a street name sign)}",
"nl": "{image_carousel(image:streetsign)}<br/>{image_upload(image:streetsign, Voeg afbeelding van straatnaambordje toe)}"
}
2021-10-02 22:28:27 +02:00
}
],
"icon": {
"render": "./assets/svg/bug.svg"
},
"width": {
"render": "8"
},
"iconSize": {
"render": "40,40,center"
},
"color": {
"render": "#00f"
},
"presets": []
2021-10-08 04:33:39 +02:00
},
{
"id": "etymology_missing",
"name": {
"en": "No etymology data yet",
"nl": "Zonder etymology"
},
"source": {
"osmTags": {
"and": [
"name~*",
{
"or": [
"highway~*",
"building~*",
"amenity=place_of_worship",
"man_made=bridge",
"heritage~*",
"leisure=park",
"leisure=nature_reserve",
"landuse=forest",
"natural=water"
]
},
{
"#": "We remove various features which often are too big and clutter the map",
"and": [
"healtcare=",
"shop=",
"school=",
"place=",
"landuse!=residential"
]
}
]
}
},
"minZoom": 16,
"title": {
"render": {
"*": "{name}"
}
},
"tagRenderings": [
{
"id": "name-origin-wikidata",
"question": {
"en": "What is the wikidata entry for the thing this feature is named after?",
"nl": "Wat is de wikidata-entry voor het object waarnaar dit vernoemd is?<br /><span class='subtle'>Plak hier de wikidata entry of sla over</span>"
},
"render": {
"*": "{name:etymology:wikidata}"
},
"freeform": {
"key": "name:etymology:wikidata",
"type": "wikidata",
"helperArgs": [
"name",
{
"removePostfixes": [
"steenweg",
"heirbaan",
"baan",
"straat",
"street",
"weg",
"dreef",
"laan",
"boulevard",
"pad",
"path",
"plein",
"square",
"plaza",
"wegel",
"kerk",
"church",
"kaai"
]
}
]
}
},
{
"id": "name-origin",
"question": {
"en": "What is the origin of this name?",
"nl": "Naar wat is dit vernoemd?"
},
"render": {
"en": "<div class='subtle'>This feature is named after</div><br />{name:etymology{",
"nl": "<div class='subtle'>Dit is vernoemd naar</div><br />{name:etymology{"
},
"freeform": {
"key": "name:etymology"
},
"condition": "name:etymology:wikidata="
},
"wikipedia",
{
"id": "street-name-sign-image",
"render": {
"en": "{image_carousel(image:streetsign)}<br/>{image_upload(image:streetsign, Add image of a street name sign)}",
"nl": "{image_carousel(image:streetsign)}<br/>{image_upload(image:streetsign, Voeg afbeelding van straatnaambordje toe)}"
}
}
],
"color": "#fcb35388"
2021-10-02 22:28:27 +02:00
}
2021-10-08 04:33:39 +02:00
]
2021-10-02 22:28:27 +02:00
}