Skip to content
Speaking of GIS

Index

Guides

Five long-form guides, each with working code, the versions we tested and the date we tested them.

  1. Architecture guide

    How to Ship Drive-Time & Service-Area Maps Without Google Maps API Fees

    An end-to-end open stack for drive-time and service-area maps: MapLibre GL JS, PMTiles, Valhalla and US Census ZCTAs, with code that compiles and the costs we could verify.

    Intermediate · Last tested · maplibre-gl 6.19.0 · pmtiles 4.5.0 · @protomaps/basemaps 5.7.2 · Valhalla 3.9.3 (public FOSSGIS instance) · PostGIS 3 (SQL only)

  2. Measured comparison

    Valhalla Isochrones vs. Radius Circles: Real Road-Network Accuracy

    We asked Valhalla for real drive-time areas in Austin and compared them with the circles people usually draw. A 5-mile circle was 43% unreachable in 10 minutes.

    Intermediate · Last tested · Valhalla 3.9.3 (valhalla1.openstreetmap.de) · GeoPandas 1.2.0 · Shapely 2.2.0

  3. Data & algorithms

    Balancing Sales Territories with US Census ZCTA Polygons

    ZCTAs are not ZIP codes. Here is what they are, and a contiguous balancing algorithm in Python that took 57 Austin-area ZCTAs from a 1.58 to a 1.02 max/min split.

    Advanced · Last tested · Python 3.13 · GeoPandas 1.2.0 · libpysal 4.15.1 · NetworkX 3.7 · TIGERweb 2020 Census ZCTAs

  4. Infrastructure

    Self-Hosting Vector Tiles with PMTiles on Cloudflare R2

    One file, range requests, no tile server. We extracted Austin from the 139.7 GB planet build and traced every byte a map view asks for.

    Intermediate · Last tested · go-pmtiles 1.31.2 · pmtiles (npm) 4.5.0 · Protomaps basemap build 2026-11-20 (Planetiler 4.15.2 schema)

  5. Benchmarks

    Benchmarking OpenStreetMap Tile & Geocoding Endpoints in 2026

    Tiles answered in 35 ms and Overpass in 37.7 seconds, on the same afternoon. How to measure public OSM endpoints without measuring the wrong thing.

    Beginner · Last tested · curl 8 (-w timing variables) · Node.js 24 fetch