Skip to content

Commit 9f3a866

Browse files
authored
add_dimension: Define behaviour for spatial dimensions better (#496)
* `add_dimension`: Clarified that type spatial always adds a spatial dimension for the `z` axis.
1 parent 083c227 commit 9f3a866

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3535

3636
- Clarified for various mathematical functions the defined input and output ranges. Mention that `NaN` is returned outside of the defined input range where possible.
3737
- Clarified for various processes the handling of no-data values and null, see also the [implementation guide](meta/implementation.md). [#480](https://github.com/Open-EO/openeo-processes/issues/480)
38+
- `add_dimension`: Clearly define behaviour for adding spatial dimensions
3839
- `apply_polygon`: Replaced outdated usage of `raster-cube` subtype with `datacube` and dimensions. [#524](https://github.com/Open-EO/openeo-processes/issues/524)
3940
- `aggregate_spatial` and `load_geojson`: Dimensions must by of type `geometry`, not `geometries`
4041
- `aggregate_temporal` and `aggregate_temporal_period`: Clarified that the process throws a `DimensionNotAvailable` exception when no temporal dimension exists.

add_dimension.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
{
3737
"name": "type",
38-
"description": "The type of dimension, defaults to `other`.",
38+
"description": "The type of dimension, defaults to `other`.\n\nIf the type is `spatial`, the axis is the first option that does not exist yet from `x`, `y`, and `z`. This refers to the axis of the dimension, not the name of the dimension. Throws a `DimensionExists` exception if dimensions for all axes exist.",
3939
"schema": {
4040
"type": "string",
4141
"enum": [

0 commit comments

Comments
 (0)