|
@ -0,0 +1,29 @@ |
|
|
|
|
|
{ |
|
|
|
|
|
"type": "overpass", |
|
|
|
|
|
"name": { |
|
|
|
|
|
"en": "Etymology" |
|
|
|
|
|
}, |
|
|
|
|
|
"query": { |
|
|
|
|
|
"16": [ |
|
|
|
|
|
"(", |
|
|
|
|
|
"nwr[\"name:etymology\"];", |
|
|
|
|
|
"nwr[\"name:etymology:wikidata\"];", |
|
|
|
|
|
"nwr[\"name:etymology:wikipedia\"];", |
|
|
|
|
|
");" |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
"feature": { |
|
|
|
|
|
"description": [ |
|
|
|
|
|
"{{ attribute(tags, \"name:etymology\")|enumerate }}", |
|
|
|
|
|
"{% if attribute(tags, \"name:start_date\") %}(since {{ attribute(tags, \"name:start_date\")|osmFormatDate({ format: \"short\" }) }}){% endif %}" |
|
|
|
|
|
], |
|
|
|
|
|
"popupDescription": " ", |
|
|
|
|
|
"body": [ |
|
|
|
|
|
"{{ keyTrans('name:etymology') }}: {{ attribute(tags, \"name:etymology\")|enumerate }}<br/>", |
|
|
|
|
|
"{{ keyTrans('name:start_date') }}: {% if attribute(tags, \"name:start_date\") %}{{ attribute(tags, \"name:start_date\")|osmFormatDate({ format: \"long\" }) }}{% else %}trans('unknown'){% endif %}<br/>", |
|
|
|
|
|
"{% if tags.old_name %}{{ keyTrans('old_name') }}: {{ tags.old_name|enumerate }}<br/>{% endif %}", |
|
|
|
|
|
"{% if attribute(tags, 'old_name:etymology') %}{{ keyTrans('old_name:etymology') }}: {{ attribute(tags, 'old_name:etymology')|enumerate }}<br/>{% endif %}", |
|
|
|
|
|
"" |
|
|
|
|
|
] |
|
|
|
|
|
} |
|
|
|
|
|
} |