pg_tileserv

A lightweight Go server that turns PostGIS tables and functions into Mapbox Vector Tiles over HTTP.

These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.

About pg_tileserv

pg_tileserv is a deliberately thin tile server written in Go that works only with PostGIS. It takes HTTP tile requests, runs the matching SQL against the database and returns MVT vector tiles, so the spatial work happens inside PostgreSQL rather than in a separate rendering layer.

It suits people who already keep their map data in PostGIS and want to put it on a web map with little configuration. Dockerfiles are provided for container deployments.

Strengths

  • Very small single-purpose server with little to configure
  • Serves MVT tiles straight from PostGIS SQL
  • Dockerfiles included for container deployment

Limitations

  • Works only with PostGIS, no other data sources
  • Serves tiles only; you need a separate map client to display them

Details

Pricing
FreeFree and open source.
License
Apache-2.0
Developer
Crunchy Data
Platforms
Self-hosted
How it runs
Self-hosted
Account
Not required
Best suited for
Publishing PostGIS data as vector tiles for a web map
Last verified
Added
Provenance
Facts checked against the developer's own pages and store listings, 1 sources on file.

Alternatives to pg_tileserv

Compare all

Software that can replace pg_tileserv for an important use case, and what changes if you switch.

  • Martin

    Lightweight vector tile server that serves map tiles from PostGIS, MBTiles and PMTiles sources.

    Martin also serves vector tiles from PostGIS, and adds MBTiles and PMTiles sources plus tile generation tooling under the MapLibre organisation.

  • Tegola

    An open source vector tile server written in Go that slices geospatial data into tiles.

    Tegola is an MIT-licensed Go vector tile server with built-in cache seeding and purging, serving tiles from your own geospatial data.

  • TileServer GL

    A self-hosted map tile server for vector and raster tiles with server-side rendering of GL styles.

    TileServer GL serves vector and raster tiles from your own tile data with server-side GL style rendering, rather than generating tiles directly from PostGIS SQL.

Similar software

Related functionality, not necessarily a direct replacement.

Report a wrong fact or a dead link on this listing