Tilemaker (created by Richard Fairhurst and open-source contributors under the FTW / permissive open-source license) is a high-speed C++ command-line tool that converts OpenStreetMap `.osm.pbf` extracts and shapefiles directly into Mapbox Vector Tiles (`.mbtiles`, `.pmtiles`, or directory trees) without requiring a PostgreSQL/PostGIS database or osm2pgsql import pipeline. Built for cartographers, offline mapping teams, and web GIS developers, Tilemaker uses customizable Lua scripts and JSON layer definitions to produce self-hosted OpenMapTiles-compatible or custom basemaps in minutes.
1. In-Depth Review: Why Cartographers & Offline Web GIS Teams Use Tilemaker
- Zero-Database Direct `.osm.pbf` to Vector Tile Generation: Eliminates PostgreSQL, PostGIS, and `osm2pgsql` server setup—reading raw Geofabrik `.osm.pbf` extracts straight into `.mbtiles` or `.pmtiles` files in a single command.
- Native `.pmtiles` & `.mbtiles` Output with OpenMapTiles Schemas: Outputs cloud-ready `.pmtiles` archives or `.mbtiles` databases out of the box and ships with ready-made OpenMapTiles-compatible JSON/Lua configs so existing MapLibre/QGIS styles work immediately.
- Flexible Lua Tag Mapping & Shapefile Layer Merging: Lets developers filter OSM tags, compute zoom-dependent attributes in Lua, and blend external Natural Earth / coastline shapefiles seamlessly.
2. Key Features & Capabilities
- Direct `.osm.pbf` to `.mbtiles` / `.pmtiles` Conversion: Generate complete multi-zoom vector tile pyramids from regional or country OpenStreetMap extracts without intermediate databases.
- Programmable Lua Processing & JSON Layer Configuration: Customize layer names, `minzoom`/`maxzoom` thresholds, attribute mapping, and geometry simplification rules cleanly.
- External Shapefile Integration: Combine OSM features with external shapefiles (such as ocean polygons, low-zoom borders, or custom GIS boundaries) during tile generation.
- OpenMapTiles-Compatible Default Resources: Includes ready-to-run configuration and Lua scripts compatible with popular open-source vector map styles.
- Multi-Threaded C++ Performance: Leverages multiple CPU cores and memory-mapped or disk-backed stores to build country-scale basemaps rapidly.
- 100% Free & Open-Source: Free to download, compile, and run on Linux, macOS, and Windows (including Docker).
- Official Links: Free Trial, Free / Education & Pricing
Always download Tilemaker source code, release binaries, and configuration docs directly from official portals:
- Official Tilemaker Website & Overview: https://tilemaker.org/
- Official Tilemaker GitHub Repository & Releases: https://github.com/systemed/tilemaker
- Official Geofabrik OpenStreetMap `.osm.pbf` Extracts: https://download.geofabrik.de/
- Official OpenMapTiles Vector Tile Schema Reference: https://openmaptiles.org/schema/
4. Step-by-Step Installation Guide
- Check Operating System & Storage Requirements: Confirm your Linux, macOS, or Windows (64-bit) workstation has sufficient RAM and SSD space for your `.osm.pbf` extract and output `.pmtiles`/`.mbtiles` archive.
- Install via Package Manager, Docker, or GitHub Releases: On macOS install via Homebrew (`brew install tilemaker`), on Ubuntu/Debian via `apt` or CMake source build from https://github.com/systemed/tilemaker, or download pre-built Windows/Docker releases from GitHub.
- Obtain Default Config & Lua Scripts: Clone or download the `resources/` folder (`config-openmaptiles.json` and `process-openmaptiles.lua`) from the official Tilemaker GitHub repository.
- Verify Installation in Terminal: Run `tilemaker --help` in your terminal to confirm CLI flags and version readiness.

5. How to Use Tilemaker: Beginner Workflow
- Download an OpenStreetMap `.osm.pbf` Extract: Download a country or regional extract (such as `laos-latest.osm.pbf`) from Geofabrik (`https://download.geofabrik.de/`).
- Prepare Configuration & Lua Script Files: Copy `config-openmaptiles.json` and `process-openmaptiles.lua` (along with required coastline shapefiles if used) into your working directory.
- Run Tilemaker to Generate `.pmtiles` or `.mbtiles`: Execute `tilemaker --input laos-latest.osm.pbf --output laos.pmtiles --config config-openmaptiles.json --process process-openmaptiles.lua` in your terminal.
- Inspect & Test Tiles Locally: Serve `laos.pmtiles` with `pmtiles serve .` or Martin/TileServer GL, or open the `.pmtiles`/`.mbtiles` file directly in QGIS.
- Style & Deploy Your Self-Hosted Basemap: Apply an OpenMapTiles-compatible MapLibre GL JSON style (`Positron`, `OSM Bright`, or custom brand colors) and host on your web server or object storage.
6. Frequently Asked Questions (FAQ)
- Is Tilemaker completely free for commercial and government mapping?Yes. Tilemaker is open-source software (released under the FTW / permissive open-source license) with zero licensing fees.
- Does Tilemaker require PostgreSQL or PostGIS to convert OpenStreetMap data?No. Unlike `osm2pgsql` + Martin/Tegola workflows, Tilemaker reads `.osm.pbf` files directly in C++ and writes `.pmtiles` or `.mbtiles` without needing any database server.
- How does Tilemaker compare to Tippecanoe?Tippecanoe converts GeoJSON, FlatGeobuf, and CSV datasets into vector tiles, whereas Tilemaker is purpose-built to parse OpenStreetMap `.osm.pbf` topology (nodes, ways, relations) and tags via Lua scripts.