Skip to main content

Geobricks library to manage Geoserver clusters.

Project description

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)
```

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

GeobricksGeoserverManager-0.1.0.tar.gz (4.7 kB view details)

Uploaded Source

File details

Details for the file GeobricksGeoserverManager-0.1.0.tar.gz.

File metadata

File hashes

Hashes for GeobricksGeoserverManager-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ff5420c9d2f5ef5ab49c82aa33036851998ff77749aa44d8c273f971718b2347
MD5 72820ad4ca05b2aaa0786ef17dc7a279
BLAKE2b-256 af6e030550568a0a5d37a827849b4e664cb9535698b2f43f44d9a52b41a6abd4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page