Skip to content

YSLD Extension Installation

Installing YSLD extension

The YSLD extension is listed on the GeoServer download page.

To install:

  1. Download the ysld

    Verify that the version number in the filename corresponds to the version of GeoServer you are running (for example 2.28.2 above).

  2. Extract the contents of the archive into the WEB-INF/lib directory in GeoServer. Make sure you do not create any sub-directories during the extraction process.

  3. Restart GeoServer.

  4. To confirm successful installation, check for a new YSLD entry in the Styles editor.

Docker use of YSLD extension

  1. The Docker image supports the use of YSLD extension

    Release

    docker pull docker.osgeo.org/geoserver:2.28.2
    

    Nightly Build

    docker pull docker.osgeo.org/geoserver:2.28.x.x
    
  2. To run with YSLD extension:

    Release

    docker run -it -p8080:8080 \
      --env INSTALL_EXTENSIONS=true \
      --env STABLE_EXTENSIONS="ysld" \
      docker.osgeo.org/geoserver:2.28.2
    

    Nightly Build

    docker run -it -p8080:8080 \
      --env INSTALL_EXTENSIONS=true \
      --env STABLE_EXTENSIONS="ysld" \
      docker.osgeo.org/geoserver:2.28.x.x
    
  3. To confirm successful installation, check for a new YSLD entry in the Styles editor.