2023-11-25 13:58:39 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}Geocode to Commons: error{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="m-3">
|
2022-05-18 14:12:34 +01:00
|
|
|
<h1>Geocode coordinates to Commons Category</h1>
|
|
|
|
|
2023-11-25 13:58:39 +00:00
|
|
|
<p>
|
|
|
|
<a href="{{ url_for('index') }}">home</a>
|
|
|
|
|
|
|
|
|
<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>
|
|
|
|
|
|
|
|
|
<a href="{{ url_for('detail_page', lat=lat, lon=lon) }}">#</a>
|
|
|
|
</p>
|
2022-05-18 14:12:34 +01:00
|
|
|
|
2023-11-25 13:58:39 +00:00
|
|
|
<p>latitude: {{ lat }} / longitude: {{ lon }}</p>
|
2022-05-18 14:12:34 +01:00
|
|
|
|
2023-11-25 13:58:39 +00:00
|
|
|
{% if error %}
|
|
|
|
<h2>error</h2>
|
2022-05-18 14:12:34 +01:00
|
|
|
|
2023-11-25 13:58:39 +00:00
|
|
|
<p>{{ error }}</p>
|
|
|
|
|
|
|
|
{% endif %}
|
2022-05-18 14:12:34 +01:00
|
|
|
|
2023-11-25 13:58:39 +00:00
|
|
|
{% if query %}
|
2022-05-18 14:12:34 +01:00
|
|
|
<h2>query</h2>
|
|
|
|
|
|
|
|
<pre>{{ query }}</pre>
|
2023-11-25 13:58:39 +00:00
|
|
|
{% endif %}
|
2022-05-18 14:12:34 +01:00
|
|
|
|
2023-11-25 13:58:39 +00:00
|
|
|
{% if r %}
|
2022-05-18 14:12:34 +01:00
|
|
|
<h2>reply</h2>
|
|
|
|
|
|
|
|
<pre>{{ r.text }}</pre>
|
2023-11-25 13:58:39 +00:00
|
|
|
{% endif %}
|
2022-05-18 14:12:34 +01:00
|
|
|
|
2023-11-25 13:58:39 +00:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|