More detail
This commit is contained in:
parent
656b0bbbc1
commit
c3094355d7
|
@ -6,19 +6,32 @@
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<h1>Geocode UK coordinates to Commons Category</h1>
|
<h1>Geocode coordinates to Commons Category</h1>
|
||||||
|
|
||||||
<p>Random</p>
|
|
||||||
|
|
||||||
<p><a href="{{ url_for('index', lat=lat, lon=lon) }}">visit endpoint</a>
|
<p><a href="{{ url_for('index', lat=lat, lon=lon) }}">visit endpoint</a>
|
||||||
|
|
||||||
| <a href="https://www.openstreetmap.org/#map=17/{{lat }}/{{ lon }}">view in OSM</a></p>
|
| <a href="https://www.openstreetmap.org/#map=17/{{lat }}/{{ lon }}">view in OSM</a>
|
||||||
|
|
||||||
|
{% if result.commons_cat %}
|
||||||
|
| <a href="{{ result.commons_cat.url }}">Commons category</a>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if result.wikidata %}
|
||||||
|
| <a href="https://www.wikidata.org/wiki/{{ result.wikidata }}">{{ result.wikidata }}</a>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
| <a href="{{ url_for('detail_page', lat=lat, lon=lon) }}">#</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
|
||||||
<pre>{{ result | pprint }}</pre>
|
<pre>{{ result | pprint }}</pre>
|
||||||
|
|
||||||
|
{% if result.commons_cat %}
|
||||||
<p>({{ lat }}, {{ lon }}, {{result.commons_cat.title | pprint }}),</p>
|
<p>({{ lat }}, {{ lon }}, {{result.commons_cat.title | pprint }}),</p>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% for element in elements %}
|
{% for element in elements %}
|
||||||
|
{% set tags = element.tags %}
|
||||||
<pre>{{ element | pprint }}</pre>
|
<pre>{{ element | pprint }}</pre>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue