Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ on:
push:
branches:
- draft
- draft-2.0
- master
jobs:
deploy:
Expand Down
2 changes: 1 addition & 1 deletion proposals/aggregate_spatial_window.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down
60 changes: 60 additions & 0 deletions proposals/vector_to_raster.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
{
"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.",
Copy link
Member

@m-mohr m-mohr Sep 30, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The values in the output raster cube are based on the numeric properties in the input vector cube.

What does this mean? Can this be explained a bit better/more precisely?

Generally, I think this needs more specific information about how the conversion is done to be testable in the future.

"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"
]
}
]
}
}
}
4 changes: 2 additions & 2 deletions tests/docs.html
Original file line number Diff line number Diff line change
Expand Up @@ -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.'
}
})
Expand Down
2 changes: 1 addition & 1 deletion tests/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openeo/processes",
"version": "2.0.0",
"version": "2.0.0-rc.1",
"author": "openEO Consortium",
"contributors": [
{
Expand Down