Geocode coordinates to Commons Category
home | visit endpoint | view in OSM {% if result.commons_cat %} | Commons category {% endif %} {% if result.wikidata %} | {{ result.wikidata }} {% endif %} | #
API returns
{{ result | tojson(indent=2) }}{% if result.wikidata %}
Wikidata item: {{ result.wikidata }}
{% endif %} {% if result.commons_cat %}Commons category: {{result.commons_cat.title }}
{% endif %} {% if elements %}{{ elements.count() }} surrounding elements found
{% else %}No elements found
{% endif %} {% for element in elements %} {% set tags = element.tags %}
{% for key, value in element.tags.items() if not (key == "way_area" or "name:" in key or key.startswith("source")) %}
{% endfor %}
{{ key }}: {{ value }}
{% endfor %}