From 7b558aca5f2f13855c35fbbddaa8205fbdeb7d4d Mon Sep 17 00:00:00 2001 From: Matthias Mohr Date: Thu, 25 May 2023 13:30:59 +0200 Subject: [PATCH 1/8] clean-up --- .github/workflows/docs.yml | 1 - tests/docs.html | 4 ++-- tests/package.json | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4e8f4f28..29baf6db 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -5,7 +5,6 @@ on: push: branches: - draft - - draft-2.0 - master jobs: deploy: diff --git a/tests/docs.html b/tests/docs.html index 23ef98e4..04b1c192 100644 --- a/tests/docs.html +++ b/tests/docs.html @@ -113,8 +113,8 @@ props: { document: 'processes.json', categorize: true, - apiVersion: '1.1.0', - title: 'openEO processes (draft)', + apiVersion: '1.2.0', + title: 'openEO processes (2.0.0-rc.1)', notice: '**Note:** This is the list of all processes specified by the openEO project. Back-ends implement a varying set of processes. Thus, the processes you can use at a specific back-end may derive from the specification, may include non-standardized processes and may not implement all processes listed here. Please check each back-end individually for the processes they support. The client libraries usually have a function called `listProcesses` or `list_processes` for that.' } }) diff --git a/tests/package.json b/tests/package.json index 15f6d2e8..1da8693f 100644 --- a/tests/package.json +++ b/tests/package.json @@ -1,6 +1,6 @@ { "name": "@openeo/processes", - "version": "2.0.0", + "version": "2.0.0-rc.1", "author": "openEO Consortium", "contributors": [ { From 7a293786b4c464d2c7452d7b5f13104098a25232 Mon Sep 17 00:00:00 2001 From: Stefaan Lippens Date: Mon, 31 Jul 2023 13:52:05 +0200 Subject: [PATCH 2/8] aggregate_spatial_window typo fix (#446) --- proposals/aggregate_spatial_window.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposals/aggregate_spatial_window.json b/proposals/aggregate_spatial_window.json index 747db151..9e5dce4a 100644 --- a/proposals/aggregate_spatial_window.json +++ b/proposals/aggregate_spatial_window.json @@ -75,7 +75,7 @@ }, { "name": "boundary", - "description": "Behavior to apply if the number of values for the axes `x` and `y` is not a multiple of the corresponding value in the `size` parameter. Options are:\n\n- `pad` (default): pad the data cube with the no-data value `null` to fit the required window size.\n\n- `trim`: trim the data cube to fit the required window size.\n\nSet the parameter `align` to specifies to which corner the data is aligned to.", + "description": "Behavior to apply if the number of values for the axes `x` and `y` is not a multiple of the corresponding value in the `size` parameter. Options are:\n\n- `pad` (default): pad the data cube with the no-data value `null` to fit the required window size.\n\n- `trim`: trim the data cube to fit the required window size.\n\nUse the parameter `align` to align the data to the desired corner.", "schema": { "type": "string", "enum": [ From 1e8820f20b899d229669c4ce703442a7d9fc14c3 Mon Sep 17 00:00:00 2001 From: verstraj Date: Tue, 12 Sep 2023 15:12:22 +0200 Subject: [PATCH 3/8] add vector_to_raster.json proposal --- proposals/vector_to_raster.json | 62 +++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) create mode 100644 proposals/vector_to_raster.json diff --git a/proposals/vector_to_raster.json b/proposals/vector_to_raster.json new file mode 100644 index 00000000..9d86b411 --- /dev/null +++ b/proposals/vector_to_raster.json @@ -0,0 +1,62 @@ +{ + "id": "vector_to_raster", + "description": "Creates a raster cube as output based on a vector cube. The values in the output raster cube are based on the numeric properties in the input vector cube.", + "summary": "Converts a vector cube to a raster cube.", + "categories": [ + "cubes", + "vector" + ], + "experimental": true, + "parameters": [ + { + "name": "data", + "description": "A vector data cube.", + "optional": false, + "schema": { + "type": "object", + "subtype": "datacube", + "dimensions": [ + { + "type": "geometry" + } + ] + } + }, + { + "name": "target", + "description": "A raster data cube used as reference for the target's extent, spatial resolution, and projection.", + "optional": false, + "schema": { + "type": "object", + "subtype": "datacube", + "dimensions": [ + { + "type": "spatial", + "axis": [ + "x", + "y" + ] + } + ] + } + } + ], + "returns": { + "description": "A raster datacube with the provided extent, spatial resolution, and projection. The output cube contains bands where each pixel inside the provided polygons has the value related to that polygon in the vector cube and all pixels outside have NoData values. + + ", + "schema": { + "type": "object", + "subtype": "datacube", + "dimensions": [ + { + "type": "spatial", + "axis": [ + "x", + "y" + ] + } + ] + } + } +} From 7c57932375a415d73480e3925cd93267ceb79c61 Mon Sep 17 00:00:00 2001 From: verstraj Date: Tue, 12 Sep 2023 16:34:54 +0200 Subject: [PATCH 4/8] fix formatting of vector_to_raster.json --- proposals/vector_to_raster.json | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/proposals/vector_to_raster.json b/proposals/vector_to_raster.json index 9d86b411..31ce97b8 100644 --- a/proposals/vector_to_raster.json +++ b/proposals/vector_to_raster.json @@ -42,9 +42,7 @@ } ], "returns": { - "description": "A raster datacube with the provided extent, spatial resolution, and projection. The output cube contains bands where each pixel inside the provided polygons has the value related to that polygon in the vector cube and all pixels outside have NoData values. - - ", + "description": "A raster datacube with the provided extent, spatial resolution, and projection. The output cube contains bands where each pixel inside the provided polygons has the value related to that polygon in the vector cube and all pixels outside have NoData values.", "schema": { "type": "object", "subtype": "datacube", From e0e677c6deb57329fb7d0570d5f7e031023f1b5b Mon Sep 17 00:00:00 2001 From: JeroenVerstraelen <3028262+JeroenVerstraelen@users.noreply.github.com> Date: Mon, 13 May 2024 13:42:28 +0200 Subject: [PATCH 5/8] Update proposals/vector_to_raster.json Co-authored-by: Matthias Mohr --- proposals/vector_to_raster.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposals/vector_to_raster.json b/proposals/vector_to_raster.json index 31ce97b8..39733b1d 100644 --- a/proposals/vector_to_raster.json +++ b/proposals/vector_to_raster.json @@ -1,7 +1,7 @@ { "id": "vector_to_raster", "description": "Creates a raster cube as output based on a vector cube. The values in the output raster cube are based on the numeric properties in the input vector cube.", - "summary": "Converts a vector cube to a raster cube.", + "summary": "Converts a vector cube to a raster cube", "categories": [ "cubes", "vector" From 0970fb6cef4d99c9b290bc84bb7129e45d4968ec Mon Sep 17 00:00:00 2001 From: JeroenVerstraelen <3028262+JeroenVerstraelen@users.noreply.github.com> Date: Mon, 13 May 2024 13:42:48 +0200 Subject: [PATCH 6/8] Update proposals/vector_to_raster.json Co-authored-by: Matthias Mohr --- proposals/vector_to_raster.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposals/vector_to_raster.json b/proposals/vector_to_raster.json index 39733b1d..6d85505b 100644 --- a/proposals/vector_to_raster.json +++ b/proposals/vector_to_raster.json @@ -42,7 +42,7 @@ } ], "returns": { - "description": "A raster datacube with the provided extent, spatial resolution, and projection. The output cube contains bands where each pixel inside the provided polygons has the value related to that polygon in the vector cube and all pixels outside have NoData values.", + "description": "A raster data cube with the provided extent, spatial resolution, and projection. The output cube contains bands where each pixel inside the provided polygons has the value related to that polygon in the vector cube and all pixels outside have no-data values.", "schema": { "type": "object", "subtype": "datacube", From a683437684c24a55e1779a67a177ee0a8c0fe853 Mon Sep 17 00:00:00 2001 From: JeroenVerstraelen <3028262+JeroenVerstraelen@users.noreply.github.com> Date: Mon, 13 May 2024 13:43:03 +0200 Subject: [PATCH 7/8] Update proposals/vector_to_raster.json Co-authored-by: Matthias Mohr --- proposals/vector_to_raster.json | 1 - 1 file changed, 1 deletion(-) diff --git a/proposals/vector_to_raster.json b/proposals/vector_to_raster.json index 6d85505b..37326025 100644 --- a/proposals/vector_to_raster.json +++ b/proposals/vector_to_raster.json @@ -25,7 +25,6 @@ { "name": "target", "description": "A raster data cube used as reference for the target's extent, spatial resolution, and projection.", - "optional": false, "schema": { "type": "object", "subtype": "datacube", From cc7d7283f74396f198dddb2d5406ed911ad9f67b Mon Sep 17 00:00:00 2001 From: JeroenVerstraelen <3028262+JeroenVerstraelen@users.noreply.github.com> Date: Mon, 13 May 2024 13:43:13 +0200 Subject: [PATCH 8/8] Update proposals/vector_to_raster.json Co-authored-by: Matthias Mohr --- proposals/vector_to_raster.json | 1 - 1 file changed, 1 deletion(-) diff --git a/proposals/vector_to_raster.json b/proposals/vector_to_raster.json index 37326025..05f8146b 100644 --- a/proposals/vector_to_raster.json +++ b/proposals/vector_to_raster.json @@ -11,7 +11,6 @@ { "name": "data", "description": "A vector data cube.", - "optional": false, "schema": { "type": "object", "subtype": "datacube",