File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1270,7 +1270,7 @@ def load_collection(
1270
1270
:param collection_id: image collection identifier
1271
1271
:param spatial_extent: limit data to specified bounding box or polygons. Can be provided in different ways:
1272
1272
- a bounding box dictionary
1273
- - a shapely geometry
1273
+ - a Shapely geometry object
1274
1274
- a GeoJSON-style dictionary,
1275
1275
- a path (:py:class:`str` or :py:class:`~pathlib.Path`) to a local, client-side GeoJSON file,
1276
1276
which will be loaded automatically to get the geometries as GeoJSON construct.
@@ -1295,7 +1295,7 @@ def load_collection(
1295
1295
Add :py:func:`~openeo.rest.graph_building.collection_property` support to ``properties`` argument.
1296
1296
1297
1297
.. versionchanged:: 0.37.0
1298
- Add support for shapely geometry and local path to GeoJSON file to spatial_extent argument.
1298
+ Add support for passing a Shapely geometry or a local path to a GeoJSON file to the `` spatial_extent`` argument.
1299
1299
"""
1300
1300
return DataCube .load_collection (
1301
1301
collection_id = collection_id ,
Original file line number Diff line number Diff line change @@ -160,7 +160,7 @@ def load_collection(
160
160
Can be ``None`` to work without connection and collection metadata.
161
161
:param spatial_extent: limit data to specified bounding box or polygons. Can be provided in different ways:
162
162
- a bounding box dictionary
163
- - a shapely geometry
163
+ - a Shapely geometry object
164
164
- a GeoJSON-style dictionary,
165
165
- a path (:py:class:`str` or :py:class:`~pathlib.Path`) to a local, client-side GeoJSON file,
166
166
which will be loaded automatically to get the geometries as GeoJSON construct.
@@ -185,7 +185,7 @@ def load_collection(
185
185
Add :py:func:`~openeo.rest.graph_building.collection_property` support to ``properties`` argument.
186
186
187
187
.. versionchanged:: 0.37.0
188
- Add support for shapely geometry and local path to GeoJSON file to spatial_extent argument.
188
+ Add support for passing a Shapely geometry or a local path to a GeoJSON file to the `` spatial_extent`` argument.
189
189
"""
190
190
if temporal_extent :
191
191
temporal_extent = cls ._get_temporal_extent (extent = temporal_extent )
You can’t perform that action at this time.
0 commit comments