mapcomplete/assets/layers/etymology/etymology.json

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

457 lines
15 KiB
JSON
Raw Normal View History

{
2021-11-07 14:37:21 +01:00
"id": "etymology",
"#": "A layer showing all objects having etymology info (either via `name:etymology:wikidata` or `name:etymology`. The intention is that this layer is reused for a certain category to also _ask_ for information",
"name": {
"en": "Has etymolgy",
"nl": "Heeft etymology info",
2022-06-19 22:13:38 +02:00
"de": "Objekte mit Informationen zur Namensherkunft",
"fr": "A une étymologie"
2021-11-07 14:37:21 +01:00
},
"minzoom": 12,
"source": {
"osmTags": {
"and": [
{
2022-09-10 13:25:18 +02:00
"or": [
"name:etymology:wikidata~*",
"name:etymology~*"
]
}
2021-11-07 14:37:21 +01:00
]
}
},
"title": {
"render": {
"*": "{name}"
}
},
"description": {
"en": "All objects which have an etymology known",
"nl": "Alle lagen met een gelinkt etymology",
2022-06-03 01:42:58 +02:00
"de": "Alle Objekte, die eine bekannte Namensherkunft haben",
2022-06-19 22:13:38 +02:00
"hu": "Minden olyan objektum, amelynél ismert a nevének az eredete",
2022-06-27 09:29:23 +02:00
"fr": "Tous les objets dont létymologie est connue"
2021-11-07 14:37:21 +01:00
},
"calculatedTags": [
"_same_name_ids=feat.closestn('*', 250, undefined, 2500)?.filter(f => f.feat.properties.name === feat.properties.name)?.map(f => f.feat.properties.id)??[]"
],
"tagRenderings": [
{
"id": "etymology-images-from-wikipedia",
"render": {
"*": "{image_carousel(name:etymology:wikidata)}"
}
},
2021-11-07 14:37:21 +01:00
{
"id": "wikipedia-etymology",
"question": {
"en": "What is the Wikidata-item that this object is named after?",
"nl": "Wat is het Wikidata-item van hetgeen dit object is naar vernoemd?",
2022-06-19 22:13:38 +02:00
"de": "Was ist das Wikidata-Element, nach dem dieses Objekt benannt ist?",
"fr": "Quel est l'Item Wikidata auquel l'objet fait référence ?"
2021-11-07 14:37:21 +01:00
},
"freeform": {
"key": "name:etymology:wikidata",
"type": "wikidata",
"helperArgs": [
"name",
{
2022-09-10 13:25:18 +02:00
"notInstanceOf": [
"Q79007",
"Q22698"
],
"removePrefixes": {
2022-06-24 03:52:54 +02:00
"#": "no-translations",
"fr": [
"allée des ",
"allée de la ",
2022-09-08 23:22:25 +02:00
"allée de l'",
"allée de ",
"allée du ",
"allée",
"autoroute des ",
"autoroute de la ",
2022-09-08 23:22:25 +02:00
"autoroute de l'",
"autoroute de ",
"autoroute du ",
"autoroute",
"avenue des ",
"avenue de la ",
2022-09-08 23:22:25 +02:00
"avenue de l'",
"avenue de ",
"avenue du ",
"avenue",
"bibliothèque des ",
"bibliothèque de la ",
2022-09-08 23:22:25 +02:00
"bibliothèque de l'",
"bibliothèque de ",
"bibliothèque du ",
"bibliothèque",
"boulevard des ",
"boulevard de la ",
2022-09-08 23:22:25 +02:00
"boulevard de l'",
"boulevard de ",
"boulevard du ",
"boulevard",
"centre culturel des ",
"centre culturel de la ",
2022-09-08 23:22:25 +02:00
"centre culturel de l'",
"centre culturel de ",
"centre culturel du ",
"centre culturel",
"centre des ",
"centre de la ",
2022-09-08 23:22:25 +02:00
"centre de l'",
"centre de ",
"centre du ",
"centre",
"chaussée des ",
"chaussée de la ",
2022-09-08 23:22:25 +02:00
"chaussée de l'",
"chaussée de ",
"chaussée du ",
"chaussée",
"chemin des ",
"chemin de la ",
2022-09-08 23:22:25 +02:00
"chemin de l'",
"chemin de ",
"chemin du ",
"chemin",
"clos des ",
"clos de la ",
2022-09-08 23:22:25 +02:00
"clos de l'",
"clos de ",
"clos du ",
2022-09-08 23:22:25 +02:00
"clos ",
"collège des ",
"collège de la ",
2022-09-08 23:22:25 +02:00
"collège de l'",
"collège de ",
"collège du ",
"collège",
"complexe sportif des ",
"complexe sportif de la ",
2022-09-08 23:22:25 +02:00
"complexe sportif de l'",
"complexe sportif de ",
"complexe sportif du ",
"complexe sportif",
2022-09-08 23:22:25 +02:00
"drève des ",
"drève de la ",
"drève de l'",
"drève de ",
"drève du ",
"drève",
"école élémentaire des ",
"école élémentaire de la ",
2022-09-08 23:22:25 +02:00
"école élémentaire de l'",
"école élémentaire de ",
"école élémentaire du ",
"école élémentaire",
"école maternelle des ",
"école maternelle de la ",
2022-09-08 23:22:25 +02:00
"école maternelle de l'",
"école maternelle de ",
"école maternelle du ",
"école maternelle",
"école primaire des ",
"école primaire de la ",
2022-09-08 23:22:25 +02:00
"école primaire de l'",
"école primaire de ",
"école primaire du ",
"école primaire",
"école des ",
"école de la ",
2022-09-08 23:22:25 +02:00
"école de l'",
"école de ",
"école du ",
"école",
"esplanade des ",
"esplanade de la ",
2022-09-08 23:22:25 +02:00
"esplanade de l'",
"esplanade de ",
"esplanade du ",
"esplanade",
"groupe scolaire des ",
"groupe scolaire de la ",
2022-09-08 23:22:25 +02:00
"groupe scolaire de l'",
"groupe scolaire de ",
"groupe scolaire du ",
"groupe scolaire",
"gymnase des ",
"gymnase de la ",
2022-09-08 23:22:25 +02:00
"gymnase de l'",
"gymnase de ",
"gymnase du ",
"gymnase",
"impasse des ",
"impasse de la ",
2022-09-08 23:22:25 +02:00
"impasse de l'",
"impasse de ",
"impasse du ",
"impasse",
"lycée des ",
"lycée de la ",
2022-09-08 23:22:25 +02:00
"lycée de l'",
"lycée de ",
"lycée du ",
"lycée",
"mail des ",
"mail de la ",
2022-09-08 23:22:25 +02:00
"mail de l'",
"mail de ",
"mail du ",
"mail",
"médiathèque des ",
"médiathèque de la ",
2022-09-08 23:22:25 +02:00
"médiathèque de l'",
"médiathèque de ",
"médiathèque du ",
"médiathèque",
"musée des ",
"musée de la ",
2022-09-08 23:22:25 +02:00
"musée de l'",
"musée de ",
"musée du ",
"musée",
"parc des ",
"parc de la ",
2022-09-08 23:22:25 +02:00
"parc de l'",
"parc de ",
"parc du ",
"parc",
"place des ",
"place de la ",
2022-09-08 23:22:25 +02:00
"place de l'",
"place de ",
"place du ",
"place",
"résidence des ",
"résidence de la ",
2022-09-08 23:22:25 +02:00
"résidence de l'",
"résidence de ",
"résidence du ",
"résidence",
"route des ",
"route de la ",
2022-09-08 23:22:25 +02:00
"route de l'",
"route de ",
"route du ",
"route",
"rue des ",
"rue de la ",
2022-09-08 23:22:25 +02:00
"rue de l'",
"rue de ",
"rue du ",
"rue",
"sentier des ",
"sentier de la ",
2022-09-08 23:22:25 +02:00
"sentier de l'",
"sentier de ",
"sentier du ",
2022-09-08 23:22:25 +02:00
"sentier",
"square des ",
"square de la ",
2022-09-08 23:22:25 +02:00
"square de l'",
"square de ",
"square du ",
"square",
"stade des ",
"stade de la ",
2022-09-08 23:22:25 +02:00
"stade de l'",
"stade de ",
"stade du ",
"stade",
"villa des ",
"villa de la ",
2022-09-08 23:22:25 +02:00
"villa de l'",
"villa de ",
"villa du ",
"villa"
]
},
"removePostfixes": {
2022-06-24 03:52:54 +02:00
"#": "no-translations",
"nl": [
"baan",
"boulevard",
"dreef",
"heirbaan",
"kaai",
"kerk",
"laan",
"lei",
"pad",
"park",
"plein",
"ring",
"steenweg",
"straat",
"weg",
"wegel"
],
2022-09-10 13:25:18 +02:00
"fr": [
"parque"
],
"de": [
"straße",
"platz",
"gasse",
"weg",
"grundschule",
"gymnasium",
"schule"
],
2022-09-10 13:25:18 +02:00
"en": [
"street",
"path",
"plaza",
"square",
"church"
]
}
2021-11-07 14:37:21 +01:00
}
]
},
"render": {
"en": "<h3>Wikipedia article of the name giver</h3>{wikipedia(name:etymology:wikidata):max-height:20rem}",
"nl": "<h3>Wikipedia artikel van de naamgever</h3>{wikipedia(name:etymology:wikidata):max-height:20rem}",
2022-06-19 22:13:38 +02:00
"de": "<h3>Wikipedia Artikel zur Namensherkunft</h3>{wikipedia(name:etymology:wikidata):max-height:20rem}",
"fr": "<h3>Article Wikipedia de la référence au nom</h3>{wikipedia(name:etymology:wikidata):max-height:20rem}"
2021-11-07 14:37:21 +01:00
},
"condition": "name:etymology!=unknown"
},
2021-11-07 14:37:21 +01:00
{
"id": "zoeken op inventaris onroerend erfgoed",
"render": {
"nl": "<a href='https://inventaris.onroerenderfgoed.be/erfgoedobjecten?tekst={name}' target='_blank'>Zoeken op inventaris onroerend erfgoed</a>",
2022-05-14 20:14:08 +02:00
"en": "<a href='https://inventaris.onroerenderfgoed.be/erfgoedobjecten?tekst={name}' target='_blank'>Search on inventaris onroerend erfgoed</a>",
2022-06-19 22:13:38 +02:00
"de": "<a href='https://inventaris.onroerenderfgoed.be/erfgoedobjecten?tekst={name}' target='_blank'>Suche auf inventaris onroerend erfgoed</a>",
"fr": "<a href='https://inventaris.onroerenderfgoed.be/erfgoedobjecten?tekst={name}' target='_blank'>Chercher sur inventaris onroerend erfgoed</a>"
2021-11-07 14:37:21 +01:00
},
2022-12-06 00:52:41 +01:00
"condition": "_country=be"
},
2021-11-07 14:37:21 +01:00
{
"id": "simple etymology",
"question": {
"en": "What is this object named after?<br/><span class='subtle'>This might be written on the street name sign</span>",
2022-04-07 03:13:29 +02:00
"nl": "Naar wat is dit object vernoemd?<br/><span class='subtle'>Dit staat mogelijks vermeld op het straatnaambordje</span>",
2022-06-19 22:13:38 +02:00
"de": "Wonach ist dieses Objekt benannt?<br/><span class='subtle'>Das könnte auf einem Straßenschild stehen</span>",
"fr": "En référence à quoi cet objet est-il nommé ?<br/><span class='subtle'>Cela peut être indiqué sur le panneau de la rue</span>"
2021-11-07 14:37:21 +01:00
},
"render": {
"en": "Named after {name:etymology}",
"nl": "Vernoemd naar {name:etymology}",
2022-04-28 00:35:08 +02:00
"de": "Benannt nach {name:etymology}",
2022-06-19 22:13:38 +02:00
"da": "Opkaldt efter {name:etymology}",
"fr": "Nommé en référence à {name:etymology}"
2021-11-07 14:37:21 +01:00
},
"freeform": {
"key": "name:etymology"
},
"mappings": [
2021-10-10 23:52:53 +02:00
{
2021-11-07 14:37:21 +01:00
"if": "name:etymology=unknown",
"then": {
"en": "The origin of this name is unknown in all literature",
"nl": "De oorsprong van deze naam is onbekend in de literatuur",
2022-04-28 00:35:08 +02:00
"de": "Der Ursprung dieses Namens ist in der gesamten Literatur unbekannt",
2022-06-19 22:13:38 +02:00
"da": "Oprindelsen af dette navn er ukendt i al litteratur",
"fr": "L'origine de ce nom est inconnu"
2021-11-07 14:37:21 +01:00
}
}
2021-11-07 14:37:21 +01:00
],
"condition": {
2022-09-10 13:25:18 +02:00
"or": [
"name:etymology~*",
"name:etymology:wikidata="
]
2021-11-07 14:37:21 +01:00
}
},
"questions",
2021-11-07 14:37:21 +01:00
{
"id": "street-name-sign-image",
"render": {
"en": "{image_carousel(image:streetsign)}<br/>{image_upload(image:streetsign, Add image of a street name sign)}",
2022-05-21 02:31:32 +02:00
"nl": "{image_carousel(image:streetsign)}<br/>{image_upload(image:streetsign, Voeg afbeelding van straatnaambordje toe)}",
2022-06-19 22:13:38 +02:00
"de": "{image_carousel(image:streetsign)}<br/>{image_upload(image:streetsign, Bild eines Straßenschildes hinzufügen)}",
"fr": "{image_carousel(image:streetsign)}<br/>{image_upload(image:streetsign, Ajouter une photo de la plaque de rue)}"
2021-11-07 14:37:21 +01:00
}
},
2021-11-07 14:37:21 +01:00
{
"id": "minimap",
"render": {
"*": "{minimap(18, id, _same_name_ids):height:10rem}"
}
2021-10-10 23:52:53 +02:00
},
2021-11-07 14:37:21 +01:00
{
"id": "etymology_multi_apply",
"render": {
2022-02-22 16:13:49 +01:00
"en": "{multi_apply(_same_name_ids, name:etymology:wikidata;name:etymology, Auto-applying data on all segments with the same name, true)}",
2022-04-18 01:47:54 +02:00
"nl": "{multi_apply(_same_name_ids, name:etymology:wikidata;name:etymology, Wijzigingen worden automatisch gedaan op alle segmenten met dezelfde naam, true)}",
2022-06-19 22:13:38 +02:00
"de": "{multi_apply(_same_name_ids, name:etymology:wikidata;name:etymology, Automatische Datenübernahme auf alle Segmente mit demselben Namen, true)}",
"fr": "{multi_apply(_same_name_ids, name:etymology:wikidata;name:etymology, Appliquer automatiquement aux segments avec le même nom, true)}"
2021-11-07 14:37:21 +01:00
}
},
2021-11-15 14:31:21 +01:00
{
"id": "wikipedia",
2022-01-06 18:51:52 +01:00
"#": "Note that this is a _read_only_ option, to prevent people entering a 'wikidata'-link instead of 'name:etymology:wikidata'",
2021-11-15 14:31:21 +01:00
"render": {
2022-02-22 16:13:49 +01:00
"en": "A Wikipedia article about this <b>street</b> exists:<br/>{wikipedia():max-height:25rem}",
2022-05-14 20:14:08 +02:00
"nl": "Een Wikipedia artikel over deze <b>straat</b> bestaat:<br/>{wikipedia():max-height:25rem}",
2022-06-19 22:13:38 +02:00
"de": "Zu dieser <b>Straße</b> existiert ein Wikipedia-Artikel:<br/>{wikipedia():max-height:25rem}",
"fr": "Un article Wikipédia à propos de cette <b>rue</b> existe :<br/>{wikipedia():max-height:25rem}"
2021-11-15 14:31:21 +01:00
},
"condition": "wikidata~*"
}
2021-11-07 14:37:21 +01:00
],
2021-11-07 15:31:55 +01:00
"mapRendering": [
{
"icon": {
2022-01-06 18:51:52 +01:00
"render": "pin:#05d7fcaa",
2021-10-10 23:52:53 +02:00
"mappings": [
2021-11-07 15:31:55 +01:00
{
"if": {
2022-09-10 13:25:18 +02:00
"and": [
"name:etymology=",
"name:etymology:wikidata="
]
2021-11-07 15:31:55 +01:00
},
2022-01-06 18:51:52 +01:00
"then": "pin:#fcca05aa"
2021-11-07 15:31:55 +01:00
}
2021-10-10 23:52:53 +02:00
]
2021-11-07 15:31:55 +01:00
},
"iconSize": {
2021-10-10 23:52:53 +02:00
"render": "40,40,center"
2021-11-07 15:31:55 +01:00
},
2022-09-10 13:25:18 +02:00
"location": [
"point"
]
2021-10-10 23:52:53 +02:00
},
2021-11-07 15:31:55 +01:00
{
"color": {
2021-10-10 23:52:53 +02:00
"render": "#05d7fcaa",
"mappings": [
2021-11-07 15:31:55 +01:00
{
"if": {
2022-09-10 13:25:18 +02:00
"and": [
"name:etymology=",
"name:etymology:wikidata="
]
},
2021-11-07 15:31:55 +01:00
"then": "#fcca05aa"
}
]
},
2021-12-30 22:01:23 +01:00
"fill": "no",
2021-11-07 15:31:55 +01:00
"width": {
2021-12-30 22:01:23 +01:00
"render": "8",
2021-12-28 20:50:35 +01:00
"mappings": [
{
2021-12-30 22:01:23 +01:00
"if": "_geometry:type=Polygon",
"then": "16"
2021-12-28 20:50:35 +01:00
}
]
}
2021-11-07 15:31:55 +01:00
}
]
2022-12-16 13:44:25 +01:00
}