KentCBS
A turnkey, open-source-based enterprise GIS server and portal for municipalities. Layer publishing, access-controlled map services, a zoning query for citizens and a REST API for other systems come in a single install.
- My role
- Sole developer: architecture, back end, front end and installer
- Duration
- Ongoing
- Stack
- Laravel 12 · Vue 3 · TypeScript · PostGIS · GeoServer · OpenLayers · Docker
Problem
To publish spatial data, municipalities end up with either expensive licensed servers or unprotected open services. Controlling who may see which layer, layer by layer, and keeping a record of it is hard.
Approach
GeoServer is never exposed: all WMS, WFS and WMTS traffic passes through Laravel via Nginx auth_request and is authorised per layer, and even the GetCapabilities response is filtered by the caller’s rights. The publish wizard imports SHP, GeoJSON, GPKG, KML, DXF, GML and CSV through GDAL, guesses the coordinate system and reports or repairs invalid geometry. The viewer is built on OpenLayers with a layer tree, measurement, drawing, a time slider and PDF output.
What I'd do differently today
In spatial queries the gap between “works” and “scales” is huge. A zoning intersection that was fine on 50 thousand parcels did not finish in hours on 2 million; ST_Subdivide plus grid splitting brought it to 26 minutes. I no longer call a spatial query done until I have measured it at real volume.