{ "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": "Hat eine 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", { "removePostfixes": [ "steenweg", "heirbaan", "baan", "straat", "street", "weg", "dreef", "laan", "boulevard", "pad", "path", "plein", "square", "plaza", "wegel", "kerk", "church", "kaai" ] } ] }, "render": { "en": "

Wikipedia article of the name giver

{wikipedia(name:etymology:wikidata):max-height:20rem}", "nl": "

Wikipedia artikel van de naamgever

{wikipedia(name:etymology:wikidata):max-height:20rem}", "de": "

Wikipedia Artikel zur Namensherkunft

{wikipedia(name:etymology:wikidata):max-height:20rem}" }, "condition": "name:etymology!=unknown" }, { "id": "zoeken op inventaris onroerend erfgoed", "render": { "nl": "Zoeken op inventaris onroerend erfgoed", "en": "Search on inventaris onroerend erfgoed" }, "conditions": "_country=be" }, { "id": "simple etymology", "question": { "en": "What is this object named after?
This might be written on the street name sign", "nl": "Naar wat is dit object vernoemd?
Dit staat mogelijks vermeld op het straatnaambordje", "de": "Wonach ist dieses Objekt benannt?
Das könnte auf einem Straßenschild stehen" }, "render": { "en": "Named after {name:etymology}", "nl": "Vernoemd naar {name:etymology}", "de": "Benannt nach {name:etymology}" }, "freeform": { "key": "name:etymology" }, "mappings": [ { "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", "de": "Der Ursprung dieses Namens ist in der gesamten Literatur unbekannt" } } ], "condition": { "or": [ "name:etymology~*", "name:etymology:wikidata=" ] } }, "questions", { "id": "street-name-sign-image", "render": { "en": "{image_carousel(image:streetsign)}
{image_upload(image:streetsign, Add image of a street name sign)}", "nl": "{image_carousel(image:streetsign)}
{image_upload(image:streetsign, Voeg afbeelding van straatnaambordje toe)}" } }, { "id": "minimap", "render": { "*": "{minimap(18, id, _same_name_ids):height:10rem}" } }, { "id": "etymology_multi_apply", "render": { "en": "{multi_apply(_same_name_ids, name:etymology:wikidata;name:etymology, Auto-applying data on all segments with the same name, true)}", "nl": "{multi_apply(_same_name_ids, name:etymology:wikidata;name:etymology, Wijzigingen worden automatisch gedaan op alle segmenten met dezelfde naam, true)}" } }, { "id": "wikipedia", "#": "Note that this is a _read_only_ option, to prevent people entering a 'wikidata'-link instead of 'name:etymology:wikidata'", "render": { "en": "A Wikipedia article about this street exists:
{wikipedia():max-height:25rem}", "nl": "Een Wikipedia artikel over deze straat bestaat:
{wikipedia():max-height:25rem}" }, "condition": "wikidata~*" } ], "mapRendering": [ { "icon": { "render": "pin:#05d7fcaa", "mappings": [ { "if": { "and": [ "name:etymology=", "name:etymology:wikidata=" ] }, "then": "pin:#fcca05aa" } ] }, "iconSize": { "render": "40,40,center" }, "location": [ "point" ] }, { "color": { "render": "#05d7fcaa", "mappings": [ { "if": { "and": [ "name:etymology=", "name:etymology:wikidata=" ] }, "then": "#fcca05aa" } ] }, "fill": "no", "width": { "render": "8", "mappings": [ { "if": "_geometry:type=Polygon", "then": "16" } ] } } ] }