You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
10
10
### Added
11
11
12
12
- Automatically use `load_url` when providing a URL as geometries to `DataCube.aggregate_spatial()`, `DataCube.mask_polygon()`, etc. ([#104](https://github.com/Open-EO/openeo-python-client/issues/104), [#457](https://github.com/Open-EO/openeo-python-client/issues/457))
13
+
- Allow specifying `limit` when listing batch jobs with `Connection.list_jobs()` ([#677](https://github.com/Open-EO/openeo-python-client/issues/677))
13
14
14
15
### Changed
15
16
@@ -18,12 +19,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
18
19
this is not translated automatically anymore to deprecated, non-standard `read_vector` usage.
19
20
Instead, if it is a local GeoJSON file, the GeoJSON data will be loaded directly client-side.
- Move `read()` method from general `JobDatabaseInterface` to more specific `FullDataFrameJobDatabase` ([#680](https://github.com/Open-EO/openeo-python-client/issues/680))
21
23
22
24
### Removed
23
25
24
26
### Fixed
25
27
26
28
-`load_stac`: use fallback temporal dimension when no "cube:dimensions" in STAC Collection ([#666](https://github.com/Open-EO/openeo-python-client/issues/666))
29
+
- Fix usage of `Parameter.spatial_extent()` with `load_collection` and `filter_bbox` ([#676](https://github.com/Open-EO/openeo-python-client/issues/676))
_spatial_extent_description="""Limits the data to process to the specified bounding box or polygons.
283
-
284
-
For raster data, the process loads the pixel into the data cube if the point at the pixel center intersects with the bounding box or any of the polygons (as defined in the Simple Features standard by the OGC).
285
-
For vector data, the process loads the geometry into the data cube if the geometry is fully within the bounding box or any of the polygons (as defined in the Simple Features standard by the OGC). Empty geometries may only be in the data cube if no spatial extent has been provided.
286
-
287
-
Empty geometries are ignored.
288
-
Set this parameter to null to set no limit for the spatial extent. """
289
-
290
283
@classmethod
291
284
defspatial_extent(
292
285
cls,
293
286
name: str="spatial_extent",
294
-
description: str=_spatial_extent_description,
287
+
description: Optional[str]=None,
295
288
**kwargs,
296
289
) ->Parameter:
297
290
"""
298
-
Helper to easily create a 'spatial_extent' parameter, which is compatible with the 'load_collection' argument of
291
+
Helper to easily create a 'spatial_extent' parameter, which is compatible with the ``load_collection`` argument of
299
292
the same name. This allows to conveniently create user-defined processes that can be applied to a bounding box and vector data
300
293
for spatial filtering. It is also possible for users to set to null, and define spatial filtering using other processes.
301
294
@@ -307,6 +300,26 @@ def spatial_extent(
307
300
308
301
.. versionadded:: 0.32.0
309
302
"""
303
+
ifdescriptionisNone:
304
+
description=textwrap.dedent(
305
+
"""
306
+
Limits the data to process to the specified bounding box or polygons.
307
+
308
+
For raster data, the process loads the pixel into the data cube if the point
309
+
at the pixel center intersects with the bounding box or any of the polygons
310
+
(as defined in the Simple Features standard by the OGC).
311
+
312
+
For vector data, the process loads the geometry into the data cube if the geometry
313
+
is fully within the bounding box or any of the polygons (as defined in the
314
+
Simple Features standard by the OGC). Empty geometries may only be in the
315
+
data cube if no spatial extent has been provided.
316
+
317
+
Empty geometries are ignored.
318
+
319
+
Set this parameter to null to set no limit for the spatial extent.
0 commit comments