Skip to content
Draft
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion .generation/config.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[input]
backendCommit = 1076a616369dcc33e86b422a9364ac99553a18f8
backendCommit = aa2b2f9e64c539a66cda18f40d0f9ee670868852

[general]
githubUrl = https://github.com/geo-engine/openapi-client
Expand Down
219 changes: 118 additions & 101 deletions .generation/input/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -5196,14 +5196,6 @@
"type": "string"
}
},
{
"name": "spatialResolution",
"in": "query",
"required": true,
"schema": {
"$ref": "#/components/schemas/SpatialResolution"
}
},
{
"name": "attributes",
"in": "query",
Expand Down Expand Up @@ -5460,6 +5452,15 @@
"eastNorth"
]
},
"BTreeMap": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "string"
}
},
"BandSelection": {
"type": "array",
"items": {
Expand Down Expand Up @@ -5512,15 +5513,7 @@
],
"properties": {
"classes": {
"type": "object",
"additionalProperties": {
"type": "string"
},
"propertyNames": {
"type": "integer",
"format": "int32",
"minimum": 0
}
"$ref": "#/components/schemas/BTreeMap"
},
"measurement": {
"type": "string"
Expand Down Expand Up @@ -6461,6 +6454,27 @@
}
}
},
"GeoTransform": {
"type": "object",
"required": [
"originCoordinate",
"xPixelSize",
"yPixelSize"
],
"properties": {
"originCoordinate": {
"$ref": "#/components/schemas/Coordinate2D"
},
"xPixelSize": {
"type": "number",
"format": "double"
},
"yPixelSize": {
"type": "number",
"format": "double"
}
}
},
"GetCapabilitiesFormat": {
"type": "string",
"enum": [
Expand Down Expand Up @@ -6516,6 +6530,36 @@
"GetMap"
]
},
"GridBoundingBox2D": {
"type": "object",
"required": [
"topLeftIdx",
"bottomRightIdx"
],
"properties": {
"bottomRightIdx": {
"$ref": "#/components/schemas/GridIdx2D"
},
"topLeftIdx": {
"$ref": "#/components/schemas/GridIdx2D"
}
}
},
"GridIdx2D": {
"type": "object",
"required": [
"yIdx",
"xIdx"
],
"properties": {
"xIdx": {
"type": "integer"
},
"yIdx": {
"type": "integer"
}
}
},
"InternalDataId": {
"type": "object",
"required": [
Expand Down Expand Up @@ -7794,26 +7838,6 @@
"ImagePng"
]
},
"PlotQueryRectangle": {
"type": "object",
"description": "A spatio-temporal rectangle with a specified resolution",
"required": [
"spatialBounds",
"timeInterval",
"spatialResolution"
],
"properties": {
"spatialBounds": {
"$ref": "#/components/schemas/BoundingBox2D"
},
"spatialResolution": {
"$ref": "#/components/schemas/SpatialResolution"
},
"timeInterval": {
"$ref": "#/components/schemas/TimeInterval"
}
}
},
"PlotResultDescriptor": {
"type": "object",
"description": "A `ResultDescriptor` for plot queries",
Expand Down Expand Up @@ -8300,7 +8324,7 @@
]
},
"query": {
"$ref": "#/components/schemas/RasterQueryRectangle"
"$ref": "#/components/schemas/RasterToDatasetQueryRectangle"
}
},
"example": {
Expand All @@ -8321,10 +8345,6 @@
"timeInterval": {
"start": 1388534400000,
"end": 1388534401000
},
"spatialResolution": {
"x": 0.1,
"y": 0.1
}
}
}
Expand Down Expand Up @@ -8369,60 +8389,24 @@
}
}
},
"RasterQueryRectangle": {
"type": "object",
"description": "A spatio-temporal rectangle with a specified resolution",
"required": [
"spatialBounds",
"timeInterval",
"spatialResolution"
],
"properties": {
"spatialBounds": {
"$ref": "#/components/schemas/SpatialPartition2D"
},
"spatialResolution": {
"$ref": "#/components/schemas/SpatialResolution"
},
"timeInterval": {
"$ref": "#/components/schemas/TimeInterval"
}
}
},
"RasterResultDescriptor": {
"type": "object",
"description": "A `ResultDescriptor` for raster queries",
"required": [
"dataType",
"spatialReference",
"spatialGrid",
"bands"
],
"properties": {
"bands": {
"$ref": "#/components/schemas/RasterBandDescriptors"
},
"bbox": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/SpatialPartition2D"
}
]
},
"dataType": {
"$ref": "#/components/schemas/RasterDataType"
},
"resolution": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/components/schemas/SpatialResolution"
}
]
"spatialGrid": {
"$ref": "#/components/schemas/SpatialGridDescriptor"
},
"spatialReference": {
"type": "string"
Expand Down Expand Up @@ -8469,6 +8453,22 @@
}
}
},
"RasterToDatasetQueryRectangle": {
"type": "object",
"description": "A spatio-temporal rectangle with a specified resolution",
"required": [
"spatialBounds",
"timeInterval"
],
"properties": {
"spatialBounds": {
"$ref": "#/components/schemas/SpatialPartition2D"
},
"timeInterval": {
"$ref": "#/components/schemas/TimeInterval"
}
}
},
"Resource": {
"oneOf": [
{
Expand Down Expand Up @@ -8657,6 +8657,43 @@
}
}
},
"SpatialGridDefinition": {
"type": "object",
"required": [
"geoTransform",
"gridBounds"
],
"properties": {
"geoTransform": {
"$ref": "#/components/schemas/GeoTransform"
},
"gridBounds": {
"$ref": "#/components/schemas/GridBoundingBox2D"
}
}
},
"SpatialGridDescriptor": {
"type": "object",
"required": [
"spatialGrid",
"descriptor"
],
"properties": {
"descriptor": {
"$ref": "#/components/schemas/SpatialGridDescriptorState"
},
"spatialGrid": {
"$ref": "#/components/schemas/SpatialGridDefinition"
}
}
},
"SpatialGridDescriptorState": {
"type": "string",
"enum": [
"source",
"derived"
]
},
"SpatialPartition2D": {
"type": "object",
"description": "A partition of space that include the upper left but excludes the lower right coordinate",
Expand Down Expand Up @@ -9756,26 +9793,6 @@
"MultiPolygon"
]
},
"VectorQueryRectangle": {
"type": "object",
"description": "A spatio-temporal rectangle with a specified resolution",
"required": [
"spatialBounds",
"timeInterval",
"spatialResolution"
],
"properties": {
"spatialBounds": {
"$ref": "#/components/schemas/BoundingBox2D"
},
"spatialResolution": {
"$ref": "#/components/schemas/SpatialResolution"
},
"timeInterval": {
"$ref": "#/components/schemas/TimeInterval"
}
}
},
"VectorResultDescriptor": {
"type": "object",
"required": [
Expand Down
Loading