GeoServer Config
Configuration for geoserver and additional resources needed to host stuff there.
Docker in EC2
EC2 Setup
Launch an instance using this user data. It is recommended the instance to have >=8Gb RAM and >=30Gb ephemeral storage. A good alternative is the t3.large which costs ~60 USD/month as of 02/10/2023.
Connect to your instance and add docker to user group by running:
sudo usermod -aG docker $USER
newgrp docker # restarts docker
Launch Geoserver
Pull the geoserver image:
docker pull docker.osgeo.org/geoserver:2.23.x
Now run the container, installing COG extension and using a local data directory at /MY/DATADIRECTORY. As detailed in the documentation: this setup allows direct management of the file data shared with the container. This setup is also easy to update to use the latest container.
docker run --mount type=bind,src=/MY/DATADIRECTORY,target=/opt/geoserver_data -it -p8080:8080 --env INSTALL_EXTENSIONS=true --env COMMUNITY_EXTENSIONS="cog" --env JAVA_TOOL_OPTIONS="-Xmx4096m" docker.osgeo.org/geoserver:2.23.x
The JAVA_TOOL_OPTIONS is important to increase the maximum hava heap size available for the app. The example command provided earlier sets this limit on ~4Gb For coverage stores, a large heap size is necessary since there is a lot of data to bring. You can adjust it according to your use case. Run java -XX:+PrintFlagsFinal -version | grep MaxHeapSize for getting the max heat space in the docker container.
Optimization of Geoserver ImageMosaic
Example Notebooks
- Coverage Store using Cog Images: setup a WMS/WMTS-T service using COG rasters located in cloud storage
TODO
- Fix creating new datastore with existing database index: geoserver repo issue
Metadata
Release files for geoserver-api 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 | Provenance | Actions |
|---|---|---|---|---|
| geoserver_api-0.1.0.tar.gz | 3.6 kB | Without provenance | Details for geoserver_api-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| geoserver_api-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for geoserver_api-0.1.0-py3-none-any.whl |
Total release size: 7.7 kB
Release files / geoserver_api-0.1.0.tar.gz
| Download URL | geoserver_api-0.1.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
369243b60845ec4cf79ce0a789fbf3107a8b99f7b3ef61a3b07468474edb1f79
|
|
BLAKE2b-256 checksum How to use checksums |
b5babf8131aeaf2da4c3981a46a26fcb538b0323746d4b55b3f662f52813dfbe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.9 Linux/6.5.0-18-generic
|
Release files / geoserver_api-0.1.0-py3-none-any.whl
| Download URL | geoserver_api-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cb72cc82503f07ce5e6976f09ff9e0986189d74252051b10815d4f6a5feb7679
|
|
BLAKE2b-256 checksum How to use checksums |
1bf3a48fc3695406fc15a00ab09543dc5a153999520aee38068ff7fdff7ecc5d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.10.9 Linux/6.5.0-18-generic
|
Security for geoserver-api 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.