diff --git a/templates/wikidata_tag.html b/templates/wikidata_tag.html new file mode 100644 index 0000000..91aded6 --- /dev/null +++ b/templates/wikidata_tag.html @@ -0,0 +1,51 @@ + + + + + Geocode to commons + + + + +

Geocode coordinates to Commons Category

+ +

visit endpoint + +| view in OSM + +{% if result.commons_cat %} +| Commons category +{% endif %} + +{% if result.wikidata %} + | {{ result.wikidata }} +{% endif %} + +| # + +

+ +
{{ result | pprint }}
+ +{% if result.commons_cat %} +

({{ lat }}, {{ lon }}, {{result.commons_cat.title | pprint }}),

+{% endif %} + + +{% for e in elements %} +{% set tags = e.tags %} + + + + + + + + +{% endfor %} +
{{ tags.name }}{{ tags.admin_level }}{{ tags.boundary }}{{ tags.designation }}{{ '{:,.0f}'.format(e.area_in_sq_km) }} kmĀ²{{ 'wikidata' in tags }}
+ + +