Vector tiles out of PostGIS: a simple and FOSS solution for Web Maps
summary
Demonstrates that a full tile server is unnecessary by using PostGIS ST_AsMVT to return Mapbox Vector Tile bytes directly from SQL; a minimal backend API sends a bbox and layer to the database and the frontend is a basic OpenLayers map. The workflow converts an 870 MB GeoJSON dataset into on-demand tiles, serving ~270,000 geometry rows and rendering the view in about two seconds. Alternatives like heavy GeoServer or paid Carto are shown as avoidable.
AI-written summary · about
