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 @@ -1271,7 +1271,7 @@ def load_collection(
1271
1271
:param collection_id: image collection identifier
1272
1272
:param spatial_extent: limit data to specified bounding box or polygons. Can be provided in different ways:
1273
1273
- a bounding box dictionary
1274
- - a shapely geometry
1274
+ - a Shapely geometry object
1275
1275
- a GeoJSON-style dictionary,
1276
1276
- a path (:py:class:`str` or :py:class:`~pathlib.Path`) to a local, client-side GeoJSON file,
1277
1277
which will be loaded automatically to get the geometries as GeoJSON construct.
@@ -1296,7 +1296,7 @@ def load_collection(
1296
1296
Add :py:func:`~openeo.rest.graph_building.collection_property` support to ``properties`` argument.
1297
1297
1298
1298
.. versionchanged:: 0.37.0
1299
- Add support for shapely geometry and local path to GeoJSON file to spatial_extent argument.
1299
+ Add support for passing a Shapely geometry or a local path to a GeoJSON file to the `` spatial_extent`` argument.
1300
1300
"""
1301
1301
return DataCube .load_collection (
1302
1302
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