diff --git a/runtimes/eoapi/stac/eoapi/stac/client.py b/runtimes/eoapi/stac/eoapi/stac/client.py index e492a1b..6f43213 100644 --- a/runtimes/eoapi/stac/eoapi/stac/client.py +++ b/runtimes/eoapi/stac/eoapi/stac/client.py @@ -518,6 +518,7 @@ async def item_collection( item_collection, template_name="items", title=f"{collection_id} items", + limit=limit, ) elif output_type == MimeTypes.csv: diff --git a/runtimes/eoapi/stac/eoapi/stac/templates/items.html b/runtimes/eoapi/stac/eoapi/stac/templates/items.html index c21a404..d2f4470 100644 --- a/runtimes/eoapi/stac/eoapi/stac/templates/items.html +++ b/runtimes/eoapi/stac/eoapi/stac/templates/items.html @@ -1,4 +1,4 @@ -{% include "header.html" %} +{% extends "base.html" %} {% set show_prev_link = false %} {% set show_next_link = false %} @@ -8,13 +8,14 @@ {% set urlq = url + '?' %} {% endif %} - +{% block content %} -
- Number of matching items: {{ response.numberMatched }}
- Number of returned items: {{ response.numberReturned }}
-
ID | -{% for key, value in response.features.0.properties.items() %} -{{ key }} | -{% endfor %} - - -{% for feature in response.features %} -
---|
{{ feature.id }} | - {% for key, value in feature.properties.items() %} - - {% endfor %} -
ID | + {% for key, value in response.features.0.properties.items() %} +{{ key }} | + {% endfor %} + + + {% for feature in response.features %} +
---|
{{ feature.id }} | + {% for key, value in feature.properties.items() %} + + {% endfor %} +
No items found
+You need to add STAC Collections and Items; for example by following the MAXAR open data demo or other demos.
+