{ "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", "de": "Objekte mit Informationen zur Namensherkunft" }, "minzoom": 12, "source": { "osmTags": { "and": [ { "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", "de": "Alle Objekte, die eine bekannte Namensherkunft haben" }, "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)}" } }, { "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?", "de": "Was ist das Wikidata-Element, nach dem dieses Objekt benannt ist?" }, "freeform": { "key": "name:etymology:wikidata", "type": "wikidata", "helperArgs": [ "name", { "notInstanceOf": [ "Q79007", "Q22698" ], "removePrefixes": [ "allée du", "allée", "autoroute du", "autoroute", "avenue du", "avenue", "bibliothèque du", "bibliothèque", "boulevard du", "boulevard", "centre du", "centre", "centre culturel du", "centre culturel", "chaussée du", "chaussée", "chemin du", "chemin", "collège du", "collège", "complexe sportif du", "complexe sportif", "école du", "école", "école élémentaire du", "école élémentaire", "école maternelle du", "école maternelle", "école primaire du", "école primaire", "esplanade du", "esplanade", "groupe scolaire du", "groupe scolaire", "gymnase du", "gymnase", "lycée du", "lycée", "mail du", "mail", "médiathèque du", "médiathèque", "musée du", "musée", "parc du", "parc", "rue du", "rue", "square du", "square", "stade du", "stade" ], "removePostfixes": [ "baan", "boulevard", "dreef", "church", "heirbaan", "gasse", "grundschule", "gymnasium", "kaai", "kerk", "laan", "pad", "park", "parque", "path", "platz", "plaza", "plein", "ring", "schule", "square", "steenweg", "straat", "straße", "street", "weg", "wegel" ] } ] }, "render": { "en": "