kartoza / geodata-mart

Geoprocessing as a Service
https://data.kartoza.com
2 stars 3 forks source link

Define backend processing management framework #17

Open zacharlie opened 2 years ago

zacharlie commented 2 years ago

Multiple processing backends are expected to be supported in order to properly support the #1 Roadmap, so we need to answer:

zacharlie commented 2 years ago

The application is expected to structure an appropriate request and then offload data processing to another API.

It would make sense to have multiple backends supported such as "PostGIS" and "QGIS" etc.

In order to simplify operations, efforts will be focussed on initially using QGIS for processing and producing a GPKG and QGIS Project file with integrated styles, simply clipping data sources from a supplied project. To ensure that the appropriate backend is used for processing in the future, however, it seems reasonable to define a model for backend providers, output format types and other configuration options.

zacharlie commented 2 years ago

Support is currently limited to QGIS Project files, but the data model has been structured in a manner that it may support multiple backend services.

This includes a project model, which connects to various project layers. Although these models are specifically designed considering QGIS Layer features, many of these features are generic and the model may be open to extension. Processing parameters are defined using a JSON Field to allow flexibility in the processing operation.