summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/ishtar/blocks/sheet_coordinates.html
blob: ff6218f1c5e620f608154b1cf541e51277f4c1e4 (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
{% load i18n window_field %}{% if PROFILE.mapping %}
{% if geo_item.x or geo_item.y or geo_item.z %}
<dl class="col-12">
    <dt>{% trans "Coordinates" %}</dt>
    <dd>
        {% trans "X:"%} {{geo_item.x|default_if_none:"-"}}
        {% if geo_item.estimated_error_x %} ({% trans "error:" %} {{geo_item.estimated_error_x}}){% endif %},
        {% trans "Y:"%} {{geo_item.y|default_if_none:"-"}},
        {% if geo_item.estimated_error_y %} ({% trans "error:" %} {{geo_item.estimated_error_y}}){% endif %},
        {% trans "Z:"%} {{geo_item.z|default_if_none:"-"}}
        {% if geo_item.estimated_error_z %} ({% trans "error:" %} {{geo_item.estimated_error_z}}){% endif %}
        {% if geo_item.spatial_reference_system %}
        &ndash; {{geo_item.spatial_reference_system.label}}{% if geo_item.spatial_reference_system.srid %} -
        {% trans "SRID"%} {{geo_item.spatial_reference_system.srid}}{% endif %}
        {% endif %}
    </dd>
</dl>
{% if geo_item.point_source == 'P' or not geo_item.multi_polygon %}
{% trans "Point source" as point_source %}
{% field_flex_full point_source geo_item.geo_point_source %}
{% else %}
{% trans "Polygon source" as polygon_source %}
{% field_flex_full polygon_source geo_item.geo_polygon_source %}
{% endif %}
{% endif %}
{% endif %}