Skip to content

Commit

Permalink
Merge pull request #20 from geo-engine/ogr-dataset
Browse files Browse the repository at this point in the history
Ogr Dataset
  • Loading branch information
michaelmattig authored Oct 28, 2024
2 parents dcb1abb + c90dc02 commit 9d0becc
Show file tree
Hide file tree
Showing 77 changed files with 811 additions and 220 deletions.
6 changes: 3 additions & 3 deletions .generation/config.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[input]
backendTag = pro-nightly-2024-08-31
backendTag = pro-nightly-2024-10-29

[general]
githubUrl = https://github.com/geo-engine/openapi-client

[python]
name = geoengine_openapi_client
version = 0.0.12
version = 0.0.13

[typescript]
name = @geoengine/openapi-client
version = 0.0.12
version = 0.0.13

94 changes: 73 additions & 21 deletions .generation/input/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,58 @@
]
}
},
"/dataset/volumes/{volume_name}/files/{file_name}/layers": {
"get": {
"tags": [
"Datasets"
],
"summary": "List the layers of a file in a volume.",
"operationId": "list_volume_file_layers_handler",
"parameters": [
{
"name": "volume_name",
"in": "path",
"description": "Volume name",
"required": true,
"schema": {
"$ref": "#/components/schemas/VolumeName"
}
},
{
"name": "file_name",
"in": "path",
"description": "File name",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/VolumeFileLayersResponse"
},
"example": {
"layers": [
"layer1",
"layer2"
]
}
}
}
}
},
"security": [
{
"session_token": []
}
]
}
},
"/dataset/{dataset}": {
"get": {
"tags": [
Expand Down Expand Up @@ -5636,23 +5688,7 @@
}
},
"DateTimeParseFormat": {
"type": "object",
"required": [
"fmt",
"has_tz",
"has_time"
],
"properties": {
"fmt": {
"type": "string"
},
"has_time": {
"type": "boolean"
},
"has_tz": {
"type": "boolean"
}
}
"type": "string"
},
"DerivedColor": {
"type": "object",
Expand Down Expand Up @@ -6894,8 +6930,8 @@
"mapping": {
"none": "#/components/schemas/OgrSourceDatasetTimeTypeNone",
"start": "#/components/schemas/OgrSourceDatasetTimeTypeStart",
"startDuration": "#/components/schemas/OgrSourceDatasetTimeTypeStartDuration",
"startEnd": "#/components/schemas/OgrSourceDatasetTimeTypeStartEnd"
"start+duration": "#/components/schemas/OgrSourceDatasetTimeTypeStartDuration",
"start+end": "#/components/schemas/OgrSourceDatasetTimeTypeStartEnd"
}
}
},
Expand Down Expand Up @@ -6941,6 +6977,7 @@
},
"OgrSourceDatasetTimeTypeStartDuration": {
"type": "object",
"title": "OgrSourceDatasetTimeTypeStartDuration",
"required": [
"startField",
"startFormat",
Expand All @@ -6960,13 +6997,14 @@
"type": {
"type": "string",
"enum": [
"startDuration"
"start+duration"
]
}
}
},
"OgrSourceDatasetTimeTypeStartEnd": {
"type": "object",
"title": "OgrSourceDatasetTimeTypeStartEnd",
"required": [
"startField",
"startFormat",
Expand All @@ -6990,7 +7028,7 @@
"type": {
"type": "string",
"enum": [
"startEnd"
"start+end"
]
}
}
Expand Down Expand Up @@ -9314,6 +9352,20 @@
}
}
},
"VolumeFileLayersResponse": {
"type": "object",
"required": [
"layers"
],
"properties": {
"layers": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"VolumeName": {
"type": "string"
},
Expand Down
6 changes: 3 additions & 3 deletions python/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ docs/DatasetListing.md
docs/DatasetResource.md
docs/DatasetsApi.md
docs/DateTime.md
docs/DateTimeParseFormat.md
docs/DerivedColor.md
docs/DerivedNumber.md
docs/DescribeCoverageRequest.md
Expand Down Expand Up @@ -224,6 +223,7 @@ docs/VectorDataType.md
docs/VectorQueryRectangle.md
docs/VectorResultDescriptor.md
docs/Volume.md
docs/VolumeFileLayersResponse.md
docs/WcsBoundingbox.md
docs/WcsService.md
docs/WcsVersion.md
Expand Down Expand Up @@ -289,7 +289,6 @@ geoengine_openapi_client/models/dataset_definition.py
geoengine_openapi_client/models/dataset_listing.py
geoengine_openapi_client/models/dataset_resource.py
geoengine_openapi_client/models/date_time.py
geoengine_openapi_client/models/date_time_parse_format.py
geoengine_openapi_client/models/derived_color.py
geoengine_openapi_client/models/derived_number.py
geoengine_openapi_client/models/describe_coverage_request.py
Expand Down Expand Up @@ -463,6 +462,7 @@ geoengine_openapi_client/models/vector_data_type.py
geoengine_openapi_client/models/vector_query_rectangle.py
geoengine_openapi_client/models/vector_result_descriptor.py
geoengine_openapi_client/models/volume.py
geoengine_openapi_client/models/volume_file_layers_response.py
geoengine_openapi_client/models/wcs_boundingbox.py
geoengine_openapi_client/models/wcs_service.py
geoengine_openapi_client/models/wcs_version.py
Expand Down Expand Up @@ -514,7 +514,6 @@ test/test_dataset_listing.py
test/test_dataset_resource.py
test/test_datasets_api.py
test/test_date_time.py
test/test_date_time_parse_format.py
test/test_derived_color.py
test/test_derived_number.py
test/test_describe_coverage_request.py
Expand Down Expand Up @@ -702,6 +701,7 @@ test/test_vector_data_type.py
test/test_vector_query_rectangle.py
test/test_vector_result_descriptor.py
test/test_volume.py
test/test_volume_file_layers_response.py
test/test_wcs_boundingbox.py
test/test_wcs_service.py
test/test_wcs_version.py
Expand Down
5 changes: 3 additions & 2 deletions python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ No description provided (generated by Openapi Generator https://github.com/opena
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:

- API version: 0.8.0
- Package version: 0.0.12
- Package version: 0.0.13
- Build package: org.openapitools.codegen.languages.PythonClientCodegen

## Requirements.
Expand Down Expand Up @@ -100,6 +100,7 @@ Class | Method | HTTP request | Description
*DatasetsApi* | [**get_dataset_handler**](docs/DatasetsApi.md#get_dataset_handler) | **GET** /dataset/{dataset} | Retrieves details about a dataset using the internal name.
*DatasetsApi* | [**get_loading_info_handler**](docs/DatasetsApi.md#get_loading_info_handler) | **GET** /dataset/{dataset}/loadingInfo | Retrieves the loading information of a dataset
*DatasetsApi* | [**list_datasets_handler**](docs/DatasetsApi.md#list_datasets_handler) | **GET** /datasets | Lists available datasets.
*DatasetsApi* | [**list_volume_file_layers_handler**](docs/DatasetsApi.md#list_volume_file_layers_handler) | **GET** /dataset/volumes/{volume_name}/files/{file_name}/layers | List the layers of a file in a volume.
*DatasetsApi* | [**list_volumes_handler**](docs/DatasetsApi.md#list_volumes_handler) | **GET** /dataset/volumes | Lists available volumes.
*DatasetsApi* | [**suggest_meta_data_handler**](docs/DatasetsApi.md#suggest_meta_data_handler) | **POST** /dataset/suggest | Inspects an upload and suggests metadata that can be used when creating a new dataset based on it.
*DatasetsApi* | [**update_dataset_handler**](docs/DatasetsApi.md#update_dataset_handler) | **POST** /dataset/{dataset} | Update details about a dataset using the internal name.
Expand Down Expand Up @@ -211,7 +212,6 @@ Class | Method | HTTP request | Description
- [DatasetListing](docs/DatasetListing.md)
- [DatasetResource](docs/DatasetResource.md)
- [DateTime](docs/DateTime.md)
- [DateTimeParseFormat](docs/DateTimeParseFormat.md)
- [DerivedColor](docs/DerivedColor.md)
- [DerivedNumber](docs/DerivedNumber.md)
- [DescribeCoverageRequest](docs/DescribeCoverageRequest.md)
Expand Down Expand Up @@ -385,6 +385,7 @@ Class | Method | HTTP request | Description
- [VectorQueryRectangle](docs/VectorQueryRectangle.md)
- [VectorResultDescriptor](docs/VectorResultDescriptor.md)
- [Volume](docs/Volume.md)
- [VolumeFileLayersResponse](docs/VolumeFileLayersResponse.md)
- [WcsBoundingbox](docs/WcsBoundingbox.md)
- [WcsService](docs/WcsService.md)
- [WcsVersion](docs/WcsVersion.md)
Expand Down
4 changes: 2 additions & 2 deletions python/geoengine_openapi_client/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
""" # noqa: E501


__version__ = "0.0.12"
__version__ = "0.0.13"

# import apis into sdk package
from geoengine_openapi_client.api.datasets_api import DatasetsApi
Expand Down Expand Up @@ -79,7 +79,6 @@
from geoengine_openapi_client.models.dataset_listing import DatasetListing
from geoengine_openapi_client.models.dataset_resource import DatasetResource
from geoengine_openapi_client.models.date_time import DateTime
from geoengine_openapi_client.models.date_time_parse_format import DateTimeParseFormat
from geoengine_openapi_client.models.derived_color import DerivedColor
from geoengine_openapi_client.models.derived_number import DerivedNumber
from geoengine_openapi_client.models.describe_coverage_request import DescribeCoverageRequest
Expand Down Expand Up @@ -253,6 +252,7 @@
from geoengine_openapi_client.models.vector_query_rectangle import VectorQueryRectangle
from geoengine_openapi_client.models.vector_result_descriptor import VectorResultDescriptor
from geoengine_openapi_client.models.volume import Volume
from geoengine_openapi_client.models.volume_file_layers_response import VolumeFileLayersResponse
from geoengine_openapi_client.models.wcs_boundingbox import WcsBoundingbox
from geoengine_openapi_client.models.wcs_service import WcsService
from geoengine_openapi_client.models.wcs_version import WcsVersion
Expand Down
Loading

0 comments on commit 9d0becc

Please sign in to comment.