Geobricks Manager for Geoserver Clusters
=====================
The main purpose of this project is to provide a configurable entry point to handle a cluster of Geoservers.
It uses as dependency [gscofing](https://github.com/boundlessgeo/gsconfig) as base REST engine to publish the data.
Example to configure a cluster of Geoservers
```python
from geobricks_geoserver_manager.core.geoserver_manager_core import GeoserverManager
config = {
"geoserver_master": "http://localhost:9090/geoserver/rest",
"geoserver_slaves": [],
"username": "admin",
"password": "geoserver"
}
geoserver_manager = GeoserverManager(config)
```
Example of how to publish a coveragestore
```python
data_coverage = {
"layerName": "raster_name",
"path": "../test_data/MODIS/MOD13A2_3857.tif",
# optional workspace (otherwise it uses the default Geoserver master one)
"workspace": "test_workspace",
# optional style to be applied to the layer
"defaultStyle": "mask"
}
geoserver_manager.publish_coveragestore(data_coverage)
```
=====================
The main purpose of this project is to provide a configurable entry point to handle a cluster of Geoservers.
It uses as dependency [gscofing](https://github.com/boundlessgeo/gsconfig) as base REST engine to publish the data.
Example to configure a cluster of Geoservers
```python
from geobricks_geoserver_manager.core.geoserver_manager_core import GeoserverManager
config = {
"geoserver_master": "http://localhost:9090/geoserver/rest",
"geoserver_slaves": [],
"username": "admin",
"password": "geoserver"
}
geoserver_manager = GeoserverManager(config)
```
Example of how to publish a coveragestore
```python
data_coverage = {
"layerName": "raster_name",
"path": "../test_data/MODIS/MOD13A2_3857.tif",
# optional workspace (otherwise it uses the default Geoserver master one)
"workspace": "test_workspace",
# optional style to be applied to the layer
"defaultStyle": "mask"
}
geoserver_manager.publish_coveragestore(data_coverage)
```
Release files for GeobricksGeoserverManager 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| GeobricksGeoserverManager-0.1.0.tar.gz | 4.7 kB | Details |
Release files / GeobricksGeoserverManager-0.1.0.tar.gz
| Download URL | GeobricksGeoserverManager-0.1.0.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ff5420c9d2f5ef5ab49c82aa33036851998ff77749aa44d8c273f971718b2347
|
|
BLAKE2b-256 checksum How to use checksums |
af6e030550568a0a5d37a827849b4e664cb9535698b2f43f44d9a52b41a6abd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |