CrunchyData/pg_tileserv
A very thin PostGIS-only tile server in Go. Takes in HTTP tile requests, executes SQL, returns MVT tiles. observed · 2026-08-28
Health v2 · maintenance only
48/100
- Activity 56
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2464
- days_rel: n/a
- days_push: 265
- n_releases_24m: 0
Adoption not part of the score
1057 stars · 172 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
pg_tileserv is a lightweight PostGIS-only tile server written in Go that serves Mapbox Vector Tiles (MVT) directly from PostgreSQL/PostGIS. It accepts HTTP tile requests, converts them into SQL queries against spatial tables and functions, and returns the resulting vector tiles.
Use cases
- serve vector tiles from a PostGIS database over HTTP
- publish PostGIS tables as Mapbox Vector Tile layers
- build a lightweight map tile backend without a heavy GIS stack
- expose custom SQL spatial functions as tile layers
- feed web maps (Leaflet, MapLibre, Mapbox GL) with data from PostgreSQL
- cache tiles behind a proxy like Varnish for production map serving
When to choose
- your spatial data already lives in PostgreSQL/PostGIS and you want to serve it as MVT with minimal setup
- you want a small, single-binary tile server with a simple configuration
- you need dynamic tiles generated from SQL queries or custom PostGIS functions
- you prefer a Martin-like API for tile serving
When to avoid
- you need to serve raster tiles or pre-rendered tile caches
- your data is not in PostgreSQL/PostGIS
- you need a full-featured GIS server with WMS/WFS support
- you want heavy server-side styling or rendering logic
Facets
service · maturity active
http-server web-framework database geospatial web-development databases backend windows go self-hosted postgis mvt vector-tiles tile-server mapbox-vector-tiles sql maps linux macos docker
1 source
- readme: https://github.com/CrunchyData/pg_tileserv · fetched 2026-08-28 · 6d44afafbca8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| CrunchyData/pg_tileserv | main | 48 |
For agents
markdown · JSON · MCP: product_card(name="CrunchyData/pg_tileserv")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem