Install

Works with Drupal: ^11.4

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 111.46 KB
MD5: 0267aeee5312976e1433f20c454c6254
SHA-1: 9cce8479b06eeb44423a1e85bd6c154fb88e164d
SHA-256: 39672df9dc69bd34c75038c6b01f190846993eccc81c5598d905282a5ea41b77
Download zip 179.04 KB
MD5: 797094b7010e13efd260ee8bc673069b
SHA-1: dc663f0c2bdaa71e47ad8d2ddb71620d955f88e4
SHA-256: 6a394e907951809d8a0a119580cd6d4c9308541d55bd61b9f1bf9427691abc77

Release notes

First alpha release of the 2.0.x branch, a rewrite of the GeoServer module for Drupal 11.4 and GeoServer 3.0.2 or later. Background and agreed scope: #3590500.

This is an alpha release: it is meant for testing and feedback, and configuration and APIs may still change before the stable release. Alpha releases are not covered by the Drupal security advisory policy.

Highlights

  • Layers and styles as configuration: geoserver_layer and geoserver_style config entities with an admin UI, synchronized with GeoServer through the REST API. A GeoServer failure is reported but never blocks saving in Drupal.
  • Layer type plugins (#[GeoServerLayerType]): PostGIS table or view, and GeoTIFF file in the raster submodule.
  • Workspace and PostGIS datastore are created automatically (default datastore name cartaro).
  • Per-layer permissions (read layer, write layer) written to GeoServer as data security rules, with a configurable mapping from Drupal roles to GeoServer roles.
  • OpenID Connect: Drupal is the identity provider (Simple OAuth), the GeoServer sec-oidc extension is the client and the roles travel as a token claim. This replaces the 7.x password forwarding and cookie workaround.
  • GeoWebCache: tiles of the changed area are truncated when content with a Geofield is saved or deleted.
  • Drush commands: geoserver:sync, geoserver:status, geoserver:oidc-setup.
  • Service account credentials come from settings.php or the Key module, never from configuration.

Submodules

  • GeoServer Importer: publishes zipped Shapefiles and GeoPackages from a file field through the GeoServer REST Importer, in a queue.
  • GeoServer Raster: publishes GeoTIFF and Cloud Optimized GeoTIFF files of any size. Files are uploaded in chunks with File Resumable Upload and read by GeoServer from a shared directory, not sent over HTTP.
  • GeoServer Leaflet: WMS, GeoWebCache (WMTS) and WFS layers on Leaflet maps, a map block and a Leaflet map definition. Replaces the 7.x OpenLayers integration.

Requirements

Upgrading from 7.x-1.x

There is no migration path from 7.x-1.x. Layers and styles have to be created again in Drupal 11, or kept in GeoServer and registered as layers of the PostGIS table type.

Documentation

See the README for installation, configuration and the Drush commands.

Contributors

This release was developed with the assistance of large language model (LLM) coding tools. All generated code was reviewed by the maintainer, checked against GeoServer 3.0.2 and covered by unit, kernel and functional tests.

Created by: orkutmuratyilmaz
Created on: 4 Nov 2026 at 10:07 UTC
Last updated: 4 Nov 2026 at 10:07 UTC
New features

Other releases