26 lines
853 B
HTML
26 lines
853 B
HTML
{% extends "passerelle/manage/service_view.html" %}
|
|
{% load i18n passerelle %}
|
|
|
|
{% block endpoints %}
|
|
<p>
|
|
{% blocktrans %}
|
|
The API is a partial view of <a href="http://wiki.openstreetmap.org/wiki/Nominatim">Nominatim</a>
|
|
own API; it currently doesn't support all parameters and is limited to the JSON
|
|
format.
|
|
{% endblocktrans %}
|
|
</p>
|
|
|
|
<ul>
|
|
<li>{% trans 'Geocoding:' %} <a href="search?q=169 rue du chateau, paris&format=json"
|
|
>{{ site_base_uri }}{{ object.get_absolute_url }}search</a>?q=<i>q</i>&format=json</li>
|
|
<li>{% trans 'Reverse geocoding:' %} <a href="reverse?lat=48.833708&lon=2.323349&format=json"
|
|
>{{ site_base_uri }}{{ object.get_absolute_url }}reverse</a>?lat=<i>lat</i>&lon=<i>lon</i>&format=json</li>
|
|
</ul>
|
|
{% endblock %}
|
|
|
|
{% block security %}
|
|
<p>
|
|
{% trans 'Accessing the listings is open.' %}
|
|
</p>
|
|
{% endblock %}
|