All videos

ENPNOVA Pixel · ·

Vector Tiles, WMS or PMTiles? Choosing How to Serve Your Map Data

Should a web map be drawn in the browser or by a tile server? It’s usually framed as one choice, but it’s really two: who draws the pixels, and when the data gets cut into pieces.

Notes

Should a web map be drawn in the browser or by a tile server? It’s usually framed as one choice, but it’s really two: who draws the pixels, and when the data gets cut into pieces. This tutorial starts with the foundations (vector and raster data, rendering, Web Mercator, the tile pyramid, HTTP range requests and the main standards). It then walks through five ways to get map data onto a screen: loading files like GeoJSON, FlatGeobuf and GeoParquet directly in the browser; server-rendered maps with WMS and tile caches; dynamic vector tiles from PostGIS through Martin or pg_tileserv; static PMTiles archives built with tippecanoe and served from object storage; and Cloud Optimized GeoTIFF imagery, rendered by TiTiler or decoded in the browser with OpenLayers. It ends with a side-by-side comparison, which map libraries support what, a decision guide, and how real maps combine several approaches. Library versions are current as of November 2026.