{% extends "layers/layer_base.html" %} {% load i18n %} {% load dialogos_tags %} {% load agon_ratings_tags %} {% load bootstrap_tags %} {% load pagination_tags %} {% load url from future %} {% load base_tags %} {% load guardian_tags %} {% block title %}{{ block.super }} {% trans "Layers" %} | {{ resource.title|default:resource.typename }}{% endblock %} {% block page-title %} {% trans "Explore Layers" %}
{% trans "All Layers" %}
{% endblock %} {% block head %} {% if TWITTER_CARD %} {% include "base/_resourcebase_twittercard.html" %} {% endif %} {% if OPENGRAPH_ENABLED %} {% include "base/_resourcebase_opengraph.html" %} {% endif %} {% if preview == 'geoext' %} {% include "layers/layer_geoext_map.html" %} {% elif preview == 'OL3' %} {% include "layers/layer_ol3_map.html" %} {% elif preview == 'react' %} {% include 'geonode-client/layer_map.html' %} {% else %} {% include "layers/layer_leaflet_map.html" %} {% endif %} {{ block.super }} {% endblock %} {% block body_class %}layers{% endblock %} {% block subheader %}

{{ resource.title|default:resource.typename }}

{{ resource.service_type }} {% if resource.category %} {% trans "in" %} {{ resource.category }} | {% endif %} {% if resource.date %} {% if resource.date_type == 'creation' %} {% trans "Created on" %} {{ resource.date }} {% elif resource.date_type == 'publication' %} {% trans "Published on" %} {{ resource.date }} {% else %} {% trans "Updated on" %} {{ resource.date }} {% endif %} {% endif %}

{% block social_links %} {% if SOCIAL_BUTTONS %} {% include "social_links.html" %} {% endif %} {% endblock %}
{% endblock %} {% block body_outer %}
{% include "_actions.html" %}
{% include "base/resourcebase_info_panel.html" %}
{% if resource.is_mosaic %}
{% csrf_token %}  
{% if filter %} {% trans "Active Filter:" %} {{ filter }} {% endif %}
{% autopaginate all_granules.features 10 %} {% for feature in granules.features %} {% endfor %}
{% trans "Bounding Box" %} (minX,minY,maxX,maxY) {% trans "Time" %} {% trans "Actions" %}
{% if feature.properties.time %}{{ feature.properties.time }}{% endif %} Granule Preview Granule Remove
{% paginate %}
{% endif %}
{% if resource.is_mosaic %}
{% trans "Dimension" %} {% trans "Enabled" %} {% trans "Regex" %}
{% trans "TIME" %} {% if resource.has_time %}{% trans "True" %}{% else %}{% trans "False" %}{% endif %} {% if resource.time_regex %}{{ resource.time_regex }}{% else %} {% endif %}
{% endif %} {% if resource.attribute_set.all %} {% if wps_enabled %} {% endif %} {% for attribute in resource.attributes %} {% if wps_enabled %} {% if attribute.unique_values == "NA" %} {% else %} {% endif %} {% endif %} {% endfor %}
{% trans "Attribute Name" %} {% trans "Label" %} {% trans "Description" %}{% trans "Range" %} {% trans "Average" %} {% trans "Median" %} {% trans "Standard Deviation" %}
{{ attribute }} {{ attribute.attribute_label|default:"" }} {{ attribute.description|default:"" }}{{ attribute.unique_values }} {{ attribute.average|floatformat:"2" }} {{ attribute.median|floatformat:"2" }} {{ attribute.stddev|floatformat:"2" }}
{% endif %}
{% with resource as obj %} {% include "_comments.html" %} {% endwith %}
{% if GEOGIG_ENABLED and resource.link_set.geogig %} {% with "_geogig_layer_detail.html" as geogig_template %}
{% with resource as obj %} {% include geogig_template %} {% endwith %}
{% endwith %} {% endif %}
{% if request.user.is_authenticated %}

{% trans "Rate this layer" %}

{% user_rating request.user resource "layer" as user_layer_rating %}
{% endif %}

{% trans 'Average Rating' %}

{% overall_rating resource "layer" as layer_rating %} {% num_ratings resource as num_votes %}
({{num_votes}})
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod.
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
    {% if resource.storeType != "remoteStore" %}
  • {% if links or links_download %} {% else %} {% if request.user.is_authenticated %} {% endif %} {% endif %}
  • {% endif %} {% if GEOSERVER_BASE_URL %} {% get_obj_perms request.user for resource.layer as "layer_perms" %} {% endif %}
  • {% if "change_resourcebase_metadata" in perms_list or "change_resourcebase" in perms_list or "delete_resourcebase" in perms_list or "change_layer_style" in layer_perms %}
  • {% endif %}
  • {% if resource.get_legend %}
  • {%trans "Legend" %}

    {{ style.sld_title }}

    {% if resource.get_legend.link_type == 'image' %} {% if request.user.is_authenticated and 'access_token' in request.session %}

    {% else %}

    {% endif %} {% else %}
    {% endif %}
  • {% endif %}
  • {% trans "Maps using this layer" %}

    {% if resource.maps %}

    {% trans "List of maps using this layer:" %}

    {% endif %}
      {% for maplayer in resource.maps %}
    • {{ maplayer.map.title }}
    • {% empty %}
    • {% trans "This layer is not currently used in any maps." %}
    • {% endfor %}
  • {% trans "Create a map using this layer" %}

    {% trans "Click the button below to generate a new map based on this layer." %}

    {% trans "Create a Map" %}
  • {% if documents.count > 0 %}
  • {% trans "Documents related to this layer" %}

    {% trans "List of documents related to this layer:" %}

  • {% endif %} {% if user.is_authenticated %}
  • {% trans "Styles" %}

    {% trans "The following styles are associated with this layer. Choose a style to view it in the preview map." %}

      {% for style in resource.styles.all %}
    • {% if resource.default_style == style %} (default style) {% else %} {% endif %} {{ style.sld_title }}
    • {% empty %}
    • {% trans "No styles associated with this layer" %}
    • {% endfor %}
  • {% endif %} {% if GEONODE_SECURITY_ENABLED %} {% if "change_resourcebase_permissions" in perms_list %}
  • {% trans "Permissions" %}

    {% trans "Click the button below to change the permissions of this layer." %}

    {% trans "Change Layer Permissions" %}

  • {% endif %} {% endif %} {% if resource.storeType == "remoteStore" %}
  • {% trans "External service layer" %}

    {% trans "Source" %}: {{ resource.service.title }}
    {% trans "Type" %}: {{ resource.service.type }}
  • {% endif %} {% include "base/_resourcebase_contact_snippet.html" %}
{% if GEONODE_SECURITY_ENABLED %} {% include "_permissions_form.html" %} {% endif %}
{% endblock %} {% block extra_script %} {% if GEOGIG_ENABLED and resource.link_set.geogig %} {% with "_geogig_scripts.html" as geogig_scripts_template %} {% include geogig_scripts_template %} {% endwith %} {% endif %} {% if request.user.is_authenticated %} {% user_rating_js request.user resource "layer" %} {% else %} {% overall_rating resource 'layer' as the_layer_rating %} {% endif %} {% include 'rating.html' %} {% include 'request_download.html' %} {% if GEONODE_SECURITY_ENABLED %} {% include "_permissions_form_js.html" %} {% endif %} {% endblock extra_script %}