Skip to content

Commit

Permalink
Add dimension parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Mar 13, 2023
1 parent aa6ed5c commit 97398f3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 5 deletions.
2 changes: 1 addition & 1 deletion filter_temporal.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
},
{
"name": "dimension",
"description": "The name of the temporal dimension to filter on. If no specific dimension is specified or it is set to `null`, the filter applies to all temporal dimensions. Fails with a `DimensionNotAvailable` exception if the specified dimension does not exist.",
"description": "The name of the temporal dimension to filter on. If no specific dimension is specified, the filter applies to all temporal dimensions. Fails with a `DimensionNotAvailable` exception if the specified dimension does not exist.",
"schema": {
"type": [
"string",
Expand Down
25 changes: 21 additions & 4 deletions proposals/vector_reproject.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "vector_reproject",
"summary": "Reprojects the geometry dimension",
"description": "Converts the geometries stored in the geometry dimensions to a different projection.\n\nTo spatially align two data cubes with each other, better use the process ``resample_cube_spatial()``.",
"description": "Converts the geometries stored in a geometry dimensions to a different projection.\n\nTo spatially align two data cubes with each other, better use the process ``resample_cube_spatial()``.",
"categories": [
"cubes",
"reproject",
Expand All @@ -24,7 +24,7 @@
},
{
"name": "projection",
"description": "Reprojects the geometries stored in the geometry dimensions to the given projection, specified as as [EPSG code](http://www.epsg-registry.org/), [WKT2 (ISO 19162) string](http://docs.opengeospatial.org/is/18-010r7/18-010r7.html), [PROJ definition (deprecated)](https://proj.org/usage/quickstart.html).",
"description": "Projection to reproject to. specified as as [EPSG code](http://www.epsg-registry.org/), [WKT2 (ISO 19162) string](http://docs.opengeospatial.org/is/18-010r7/18-010r7.html), [PROJ definition (deprecated)](https://proj.org/usage/quickstart.html).",
"schema": [
{
"title": "EPSG Code",
Expand All @@ -41,20 +41,37 @@
"subtype": "wkt2-definition"
}
]
},
{
"name": "dimension",
"description": "The name of the geometry dimension to reproject. If no specific dimension is specified, the filter applies to all geometry dimensions. Fails with a `DimensionNotAvailable` exception if the specified dimension does not exist.",
"schema": {
"type": [
"string",
"null"
]
},
"default": null,
"optional": true
}
],
"returns": {
"description": "A vector data cube with geometries converted into the new projection. The reference system of the vector dimensions changes all other dimensions and properties remain unchanged.",
"description": "A vector data cube with geometries projected to the new projection. The reference system of the geometry dimension changes, all other dimensions and properties remain unchanged.",
"schema": {
"type": "object",
"subtype": "datacube",
"dimensions": [
{
"type": "geometries"
"type": "geometry"
}
]
}
},
"exceptions": {
"DimensionNotAvailable": {
"message": "A dimension with the specified name does not exist."
}
},
"links": [
{
"href": "https://openeo.org/documentation/1.0/datacubes.html#resample",
Expand Down

0 comments on commit 97398f3

Please sign in to comment.