From 5df1b2bdc639a9fbc01ed90f7b5e0e93acd01bcf Mon Sep 17 00:00:00 2001 From: Stefaan Lippens Date: Wed, 29 Jan 2025 18:17:36 +0100 Subject: [PATCH] Issue #678/#682 some doc fixes --- openeo/rest/connection.py | 2 ++ openeo/rest/datacube.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/openeo/rest/connection.py b/openeo/rest/connection.py index a8c521bd8..73a594110 100644 --- a/openeo/rest/connection.py +++ b/openeo/rest/connection.py @@ -1060,6 +1060,7 @@ def load_collection( :param collection_id: image collection identifier :param spatial_extent: limit data to specified bounding box or polygons. Can be provided in different ways: + - a bounding box dictionary - a Shapely geometry object - a GeoJSON-style dictionary @@ -1067,6 +1068,7 @@ def load_collection( which will be loaded automatically to get the geometries as GeoJSON construct. - a URL to a publicly accessible GeoJSON document - a :py:class:`~openeo.api.process.Parameter` instance. + :param temporal_extent: limit data to specified temporal interval. Typically, just a two-item list or tuple containing start and end date. See :ref:`filtering-on-temporal-extent-section` for more details on temporal extent handling and shorthand notation. diff --git a/openeo/rest/datacube.py b/openeo/rest/datacube.py index a7975284a..5b6bc8013 100644 --- a/openeo/rest/datacube.py +++ b/openeo/rest/datacube.py @@ -168,6 +168,7 @@ def load_collection( :param connection: The backend connection to use. Can be ``None`` to work without connection and collection metadata. :param spatial_extent: limit data to specified bounding box or polygons. Can be provided in different ways: + - a bounding box dictionary - a Shapely geometry object - a GeoJSON-style dictionary @@ -175,6 +176,7 @@ def load_collection( which will be loaded automatically to get the geometries as GeoJSON construct. - a URL to a publicly accessible GeoJSON document - a :py:class:`~openeo.api.process.Parameter` instance. + :param temporal_extent: limit data to specified temporal interval. Typically, just a two-item list or tuple containing start and end date. See :ref:`filtering-on-temporal-extent-section` for more details on temporal extent handling and shorthand notation.