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: openeo/rest/datacube.py
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -758,7 +758,8 @@ def aggregate_spatial(
758
758
Aggregates statistics for one or more geometries (e.g. zonal statistics for polygons)
759
759
over the spatial dimensions.
760
760
761
-
:param geometries: shapely geometry, GeoJSON dictionary or path to GeoJSON file
761
+
:param geometries: a shapely geometry, a GeoJSON-style dictionary,
762
+
a public GeoJSON URL, or a path (that is valid for the back-end) to a GeoJSON file.
762
763
:param reducer: a callback function that creates a process graph, see :ref:`callbackfunctions`
763
764
:param target_dimension: The new dimension name to be used for storing the results.
764
765
:param crs: The spatial reference system of the provided polygon.
@@ -922,9 +923,8 @@ def chunk_polygon(
922
923
923
924
.. warning:: experimental process: not generally supported, API subject to change.
924
925
925
-
:param chunks: Polygon(s), provided as a :class:`shapely.geometry.GeometryCollection`
926
-
, a :class:`shapely.geometry.MultiPolygon`, a filename pointing to a valid vector file
927
-
or a :class:`shapely.geometry.Polygon`.
926
+
:param chunks: Polygons, provided as a shapely geometry, a GeoJSON-style dictionary,
927
+
a public GeoJSON URL, or a path (that is valid for the back-end) to a GeoJSON file.
928
928
:param process: "child callback" function, see :ref:`callbackfunctions`
929
929
:param mask_value: The value used for cells outside the polygon.
930
930
This provides a distinction between NoData cells within the polygon (due to e.g. clouds)
@@ -1345,7 +1345,8 @@ def mask_polygon(
1345
1345
The pixel values are replaced with the value specified for `replacement`,
1346
1346
which defaults to `no data`.
1347
1347
1348
-
:param mask: A polygon, provided as a :class:`shapely.geometry.Polygon` or :class:`shapely.geometry.MultiPolygon`, or a filename pointing to a valid vector file
1348
+
:param mask: The geometry to mask with: a shapely geometry, a GeoJSON-style dictionary,
1349
+
a public GeoJSON URL, or a path (that is valid for the back-end) to a GeoJSON file.
1349
1350
:param srs: The spatial reference system of the provided polygon.
1350
1351
By default longitude-latitude (EPSG:4326) is assumed.
0 commit comments