{% extends "_base.html" %} {% block title %}{{ super() }} {{ data['title'] }} {% endblock %} {% block crumbs %}{{ super() }} / Collections {% for link in data['links'] %} {% if link.rel == 'collection' %} / {{ link['title'] | truncate( 25 ) }} {% set col_title = link['title'] %} {% endif %} {% endfor %} / Items {% endblock %} {% block extrahead %} {% endblock %} {% block body %}

{% for l in data['links'] if l.rel == 'collection' %} {{ l['title'] }} {% endfor %}

Items in this collection.

{% if data['features'] %}
Warning: Higher limits not recommended!
Limit:
{% for link in data['links'] %} {% if link['rel'] == 'prev' and data['startindex'] > 0 %} Prev {% elif link['rel'] == 'next' and data['features'] %} Next {% endif %} {% endfor %}
{% if data['title_field'] %} {% endif %} {% for k, v in data['features'][0]['properties'].items() %} {# start with id & title then take first 5 columns for table #} {% if loop.index < 5 and k != data['id_field'] and k != data['title_field'] %} {% endif %} {% endfor %} {% for ft in data['features'] %} {% if data['title_field'] %} {% endif %} {% for k, v in ft['properties'].items() %} {% if loop.index < 5 and k not in [data['id_field'], data['title_field'], 'extent'] %} {% endif %} {% endfor %} {% endfor %}
id{{ data['title_field'] }}{{ k }}
{{ ft.id | string | truncate( 12 ) }}{{ ft['properties'][data['title_field']] | string | truncate( 35 ) }}{{ v | string | truncate( 35 ) }}
{% else %}

No items

{% endif %}
{% endblock %} {% block extrafoot %} {% if data['features'] %} {% endif %} {% endblock %}