Little guide for how I was setting the GeoServer for the archaeological sites management.
- Service in docker compose with csrf disabled / in prod with the env vars
- Workspace creation
- Set source as PostGIS with the db name like the one shared in the container
- Select sites. Use filter: deletedAt IS NULL, such that only published filters are there
- For the workspace, group, enable WFS, WMS
- Create view for buffer zones like:
SELECT id, buffer_geometry AS geom FROM sites;Obvi could be extended more.
- Also filter for buffer zones
- Make sure the bounds match Moldova for these layers.
- You can create a layer group for both sites and buffer. Use styles to differentiate them.