blob: 0093ed31f3bddc780226107d5a2f67410ca8706f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
{% load i18n window_field %}{% if PROFILE.mapping and geo_item.main_geodata %}
{% with geodata=geo_item.main_geodata %}
{% if geodata.cached_x or geodata.cached_z %}
<dl class="col-12">
<dt>{% trans "Coordinates" %}</dt>
<dd>
{% with coordinates=geodata.display_coordinates %}
{% trans "X:"%} {{coordinates.0|default_if_none:"-"}}
{% if geodata.estimated_error_x %} ({% trans "error:" %} {{geodata.estimated_error_x}}){% endif %},
{% trans "Y:"%} {{coordinates.1|default_if_none:"-"}}
{% if geodata.estimated_error_y %} ({% trans "error:" %} {{geodata.estimated_error_y}}){% endif %},
{% endwith %}
{% trans "Z:"%} {{geodata.z|default_if_none:"-"}}
{% if geodata.estimated_error_z %} ({% trans "error:" %} {{geodata.estimated_error_z}}){% endif %}
{% with srs=geodata.display_spatial_reference_system %}
{% if srs %} – {{srs.label}} - {% trans "SRID"%} {{srs.srid}} {% endif %}
{% endwith %}
</dd>
</dl>
{% field_flex_full "Data type" geodata.data_type %}
{% field_flex_full "Source" geodata.source_label %}
{% field_flex_full "Name" geodata.name %}
{% field_flex_full "Origin" geodata.origin %}
{% field_flex_full "Provider" geodata.provider %}
{% field_flex_full "Comment" geodata.comment %}
{% endif %}
{% endwith %}
{% endif %}
|