{% ckan_extends %} {% block content_primary_nav %} {% endblock %} {% block content_action %} {% endblock %} {% block secondary_content %} {% block package_organization %} {% if pkg.organization %} {% set org = h.get_organization(pkg.organization.name) %} {% snippet "snippets/organization.html", organization=org, has_context_title=true, hide_description=true %} {% endif %} {% endblock %} {% block secondary_help_content %}{% endblock %} {% block package_info %} {% snippet 'package/snippets/info.html', pkg=pkg %} {% endblock %} {% block package_social %} {% endblock %} {% block package_license %} {% endblock %} {% block spatial_map %} {% set dataset_extent = h.get_pkg_dict_extra(c.pkg_dict, 'spatial', '') %} {% if dataset_extent %} {% snippet "spatial/snippets/dataset_map_sidebar.html", extent=dataset_extent %} {% endif %} {% block spatial_info %} {% set map_text = h.odsh_get_spatial_text(pkg) %}
{{ _('Spatial uri') }}:
{%set ext=map_text if map_text else '-'%}

{{ ext }}

{% if map_text %}

{{_('Map showing the borders of {map_text}').format(map_text=map_text)}}

{% endif %} {% set bbox = h.odsh_get_bounding_box(pkg) %} {% if bbox%}
{{ _('borders of map') }}:

{{ '{0:0.3f}'.format(bbox[0]).zfill(2).replace('.',',') }}° {{_('in east')}}

{{ '{0:0.3f}'.format(bbox[1]).replace('.',',') }}° {{_('in west')}}

{{ '{0:0.3f}'.format(bbox[2]).replace('.',',') }}° {{_('in south')}}

{{ '{0:0.3f}'.format(bbox[3]).replace('.',',') }}° {{_('in north')}}

{% endif %}
{% endblock %} {% endblock %} {% endblock %}