This extension integrates the GeoStyler UI into the GeoServer styles tab.
To install the extension to your GeoServer just proceed as follows:
- Go to the releases page and find a matching version (usually the latest).
- Download the
gs-geostyler-[[GeoStyler-version]]-[[GeoServer-version]].zip - Extract the contents to your
WEB-INF/libdirectory of your GeoServer installation. - Restart GeoServer.
Additionally the build artifacts are also available in a Nexus repository e.g. to be included in custom builds.
Basically the plugin just includes the JavaScript resources of the GeoStyler into a Wicket page which in turn will be rendered by the GeoServer. The lib files aren't part of the repository and need to be packed into the plugin during build. To build the plugin (including the JS sources), just execute:
mvn clean package
This will create a gs-geostyler-<VERSION>-<GEOSERVER_VERSION>.jar file inside the target directory
which can be copied to the GeoServer's lib directory. For testing purposes this
repository contains a dockerized GeoServer:
- Copy the freshly created jar into the lib directory:
cp ./target/gs-geostyler-<VERSION>.jar ./docker/geoserver/additional_libs
- Navigate to the
dockerdirectory and run GeoServer:
cd docker
docker compose up --build --force-recreate --remove-orphans
- Open http://localhost:8080/geoserver and log in via
admin:geoserver.
Uses the @terrestris/maven-semantic-release plugin to create new releases automatically.
Maintenance and further development of this code can be funded through the GeoStyler Open Collective. All contributions and expenses can transparently be reviewed by anyone; you see what we use the donated money for. Thank you for any financial support you give the GeoStyler project 💞
