{% if nav_links.prev %}
{% else %}
{% endif %}
{% if nav_links.next %}
{% else %}
{% endif %}
| Title |
Type |
{% for rec in data['features'] %}
{% if 'properties' in rec %}
| {{ rec['properties']['title'] }} |
{% else %}
{{ rec.get('title', rec['id']) }} |
{% endif %}
{% if 'properties' in rec %}
{% if 'type' in rec['properties'] %}
{{ rec['properties']['type'] }} |
{% elif rec.get('type') == 'Feature' and 'stac_version' not in rec %}
record |
{% elif rec.get('type') == 'Feature' and 'stac_version' in rec %}
item |
{% else%}
{{ rec.get('type') }} |
{% endif %}
{% else %}
{% if rec.get('type') == 'Feature' and 'stac_version' not in rec %}
record |
{% elif rec.get('type') == 'Feature' and 'stac_version' in rec %}
item |
{% elif rec.get('type') == 'Collection' and 'stac_version' in rec %}
collection |
{% elif rec.get('type') == 'Catalog' and 'stac_version' in rec %}
catalog |
{% else%}
{{ rec.get('type') }} |
{% endif %}
{% endif %}
{% endfor %}
{% if nav_links.prev %}
{% else %}
{% endif %}
{% if nav_links.next %}
{% else %}
{% endif %}