Open-source project
onthegomap/planetiler avatar
onthegomap/planetiler

Planetiler builds a whole-planet vector tileset on one machine, with no database in between

Flexible tool to build planet-scale vector tilesets from OpenStreetMap data fast

2,267 stars204 forksJavaApache-2.0

At a glance

What is it?
Planetiler reads OpenStreetMap and other geographic sources and writes MBTiles or PMTiles files directly. The README's first run downloads about 1GB, and the single-file launcher is marked experimental.
Who is it for?
Planetiler fits teams that want to generate their own vector tiles from OpenStreetMap on a single machine and serve a static file afterwards. It is a worse fit for anyone who needs live edits to the map, because it writes a finished archive rather than serving queries.
Can I use it commercially?
Yes. Apache-2.0 is a permissive licence: you can use, modify and sell software built on it, as long as you keep its copyright and licence notices.
Is it still maintained?
Yes. The repository last received commits 1 day ago.
What is it written in?
Mainly Java, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 26, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • onthegomap/planetiler2,267 ★ · +69
Star history
Repository2026-10-082026-11-26
onthegomap/planetiler2.2k2.3k

69 Stars in the last 49 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

The pipeline writes tiles straight to a PMTiles or MBTiles file

Planetiler generates vector tiles from geographic data sources such as OpenStreetMap. Vector tiles carry raw point, line and polygon geometries, which clients like MapLibre use to draw custom maps in a browser, a native app or on a server. The tool's stated goal is speed and low memory use, enough to build a map of the world in a few hours on a single machine, with no external tools or database.

Output is an MBTiles file, which is SQLite, or a PMTiles file. The README names TileServer GL and Martin as servers for these files and adds that a PMTiles file can be queried directly from the browser. The output format follows the --output extension, so --output=australia.pmtiles produces a PMTiles archive named australia.pmtiles. The README advises giving the full path to the file.

The README also points to a live demo of tiles created by Planetiler and hosted by OpenStreetMap US, and to awesome-vector-tiles for other projects that work with data in this format. Attribution matters for what you publish: the demo image credits OpenMapTiles and OpenStreetMap contributors, and NOTICE.md in the repository lists the data sources the OpenMapTiles profile requires.

Building Monaco is the smallest real run

The quick start installs with Homebrew and then builds a small area:

bash
brew install planetiler
bash
planetiler --download --area=monaco --output=monaco.pmtiles

You then drag monaco.pmtiles onto pmtiles.io to view it. The first run costs bandwidth: it downloads about 1GB of data sources required by the OpenMapTiles profile, including roughly 750MB of ocean polygons and about 240MB of Natural Earth Data. The README gives a lighter variant for trying the tool, and it works only for Monaco:

bash
planetiler --download --area=monaco --output=monaco.pmtiles \
  --water-polygons-url=https://github.com/onthegomap/planetiler/raw/main/planetiler-core/src/test/resources/water-polygons-split-3857.zip \
  --natural-earth-url=https://github.com/onthegomap/planetiler/raw/main/planetiler-core/src/test/resources/natural_earth_vector.sqlite.zip

The two URL flags swap the large ocean and Natural Earth downloads for test files stored in the repository.

Four install routes with different Java requirements

The install table lists Homebrew, a single-file launcher, a jar and Docker. Homebrew and the launcher do not need Java. The jar does, and the README requires Java 25 or newer. Docker needs no Java on the host.

Homebrew suits macOS and Linux desktops, and planetiler --help confirms the install. The jar is the route for existing Java setups and custom profiles:

bash
wget https://github.com/onthegomap/planetiler/releases/latest/download/planetiler.jar
java -jar planetiler.jar --help

Docker mounts a local data folder:

bash
docker run -v "$(pwd)/data":/data ghcr.io/onthegomap/planetiler:latest --help

With Docker, write output under /data, for example --output=/data/monaco.pmtiles, so the file lands in the data folder on your machine. The README's Run table says the examples throughout use planetiler as the command, and you replace it with the form that matches how you installed.

The single-file launcher bundles a Java runtime and is labelled experimental

The launcher is one executable that bundles planetiler.jar and a minimal Java runtime, which removes the Java install. The README marks it experimental and lists it as good for supported platforms or servers. It comes from the latest snapshot release, which is the latest-main build, not from a tagged version, so the binary you download changes as main changes.

There are separate downloads for macOS on Apple Silicon and Intel, Linux and Windows. The Linux x86-64 command in the README points at a file named planetiler_snapshot_linux_arm64.tar.gz, the same file as the ARM64 command. Check the file name on the releases page before running it on x86-64.

Three notes apply. A browser download on macOS is quarantined by Gatekeeper, so the README tells you to run xattr -d com.apple.quarantine ./planetiler first, while curl downloads run directly. On Windows, SmartScreen may warn about the unsigned executable. And planetiler --extract-jar pulls the bundled planetiler.jar back out of the launcher.

Basemap profiles decide what ends up in the tiles

Several full basemaps are built with Planetiler. The README names OpenMapTiles, Protomaps Basemaps and Shortbread. The Monaco example uses the OpenMapTiles profile, which is why it needs the ocean polygons and Natural Earth downloads. The Shortbread profile ships inside the repository as planetiler-custommap/src/main/resources/samples/shortbread.yml.

You can also make your own base map or overlay in two ways. The README's first option is custom maps in YAML, with no Java required. The second is Java profiles. The repository layout reflects this, with planetiler-core, planetiler-custommap, planetiler-examples and planetiler-openmaptiles directories at the top level. If a ready basemap matches your need, a profile name is enough. If not, you write the schema yourself in YAML or Java.

The practical split is between a profile you adopt and a profile you write. OpenMapTiles and Protomaps Basemaps live in their own repositories, so their update schedules are separate from Planetiler's. Shortbread sits in this repository as a YAML sample, which makes it the easiest of the three to read and modify without touching Java.

A finished archive means every edit needs a rebuild

Planetiler is a batch builder. It reads source data, writes a tile archive and stops. The README describes a tool that makes a file you then serve with other software, and it says nothing about incremental updates, so changing a source feature means running the build again for that area. That is the trade for the speed it advertises. A map that must reflect edits within minutes would need a different design.

Memory and time depend on the area. The README promises a planet build in a few hours on a single machine, but gives no hardware figures for it. The repository has a PLANET.md at the top level, and that is the place to look before attempting a full-planet run.

Releases, maintenance dates and repository layout

The repository is Apache-2.0 and not archived. The last push was on 2026-10-23. Releases are v0.10.2 on 2026-03-29 and v0.10.1 on 2026-03-10, plus a rolling latest-main build dated 2026-10-17. The launcher downloads come from that rolling build.

Top-level folders go beyond the core: planetiler-benchmarks, planetiler-fuzz, planetiler-dist, launcher, layerstats, diagrams and a grafana.json file. The root also carries ARCHITECTURE.md, CONTRIBUTING.md and NOTICE.md, with the Java version rule living in CONTRIBUTING.md. A quickstart.sh and a Maven wrapper (mvnw) are present too. Anyone planning changes to the tool should read ARCHITECTURE.md first, since the README does not explain internals.

Editorial conclusion

Planetiler fits teams that want to generate their own vector tiles from OpenStreetMap on a single machine and serve a static file afterwards. It is a worse fit for anyone who needs live edits to the map, because it writes a finished archive rather than serving queries. Start with the Monaco command, check the 1GB download against your bandwidth, and decide early between the Homebrew, jar and Docker routes, since the jar needs Java 25 or newer and the single-file launcher is experimental.

Frequently asked questions

What does Planetiler produce?

It generates vector tiles from sources like OpenStreetMap and packages them as an MBTiles (SQLite) or PMTiles file. Tools such as TileServer GL or Martin can serve those files.

Does Planetiler need Java installed?

Not through Homebrew, Docker or the experimental single-file launcher. The plain jar route requires Java 25 or newer.

How big is the first download when I try Planetiler?

The first run of the OpenMapTiles profile downloads about 1GB, including roughly 750MB of ocean polygons and about 240MB of Natural Earth Data. Two flags swap in smaller test files, and they work only for Monaco.

Can I make my own map style with Planetiler?

Yes. The README offers custom base maps or overlays through YAML with no Java required, or through Java profiles.

Official sources

  1. Issues
  2. License: Apache-2.0
  3. onthegomap/planetiler on GitHub
  4. README
  5. Releases
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/onthegomap-planetiler.svg)](https://hysenlabs.com/projects/onthegomap-planetiler)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/onthegomap-planetiler.svg)](https://hysenlabs.com/projects/onthegomap-planetiler)

Was this useful?