HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
onthegomap
planetiler
Java2021–2025
onthegomap / planetiler

planetiler

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

17Distinct people
27Mentions
1Explicit recommenders
2.2KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

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

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

You can always start with tiles from https://openstreetmap.org Or use one of the commercial providers which offers free tiers. There are quite a few smaller providers that are…

caspg used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year27 dated mentions

Observed mentions: 2021-10-25 11:52:07 UTC to 2025-07-24 13:50:24 UTC.

02468102021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 9 mentions; 0 submissions, 9 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 9 mentions; 0 submissions, 9 comments20232024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 5 mentions; 1 submissions, 4 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC312
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC909
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC909
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC514
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101

What Hacker News says

27 sources
No, because you've been able to self host (or have somebody host them for you) vector tiles for a long time with very little effort, and yes that will somewhat offload processing to clients, and, more importantly allow many styling decisions to be made by the client (but not all). Static or infrequently updated vector tiles can be generated from OSM data by a number of tools, but those most popular right now are https://github.com/systemed/tilemaker and https://github.com/onthegomap/planetiler The actual -new- thing is that the work Paul has done for the OSMF allows on the fly (aka in minutes) updates of the vector tiles. This is important for OSM contributors as a feedback mechanism and the main reason the OSMF operates the current raster tile service. What is currently a bit out in the open is which usage restrictions will apply to to
Read the rest
using the vector tile service as, just as with the raster tile service, the intent is not to compete with or replace third party services and a vector tile service could potentially do that.
In OpenStreetMap's New Vector Tiles
Look into Planetiler [1] (which OP uses for tile generation). It supports downloading regions that are listed on Geofabrik [2] and converting them to mbtiles or pmtiles. Geofabrik has separate extracts for all US states, for example. If you need to extract an even smaller area from that result, GDAL has support for mbtiles so you could use gdalwarp [3] to extract a new mbtiles file out of it using bounds. Another option is to use the extract functionality in pmtiles [4] to extract your area of interest from their daily full-planet pmtiles builds. You can then statically host that file and use that in your client with one of their client libraries. [1] https://github.com/onthegomap/planetiler [2] https://download.geofabrik.de/ [3] https://gdal.org/en/latest/programs/gdalwarp.html [4] https://docs.protomaps.com/pmtiles/cli#extract
In Show HN: OpenFreeMap – Open-Source Map Hosting
Look into Planetiler [1]. It's a resource-efficient and easy to setup project to generate mbtiles or pmtiles from OSM pbf files, which are free to download from Geofabrik. It uses the openmaptiles spec for the result files and you can also generate some custom tiles by writing yaml (or forking the java source). Protomaps also provides daily updated full-planet pmtiles [2], from which you can create a pmtiles extract using its CLI. [1] https://github.com/onthegomap/planetiler [2] https://docs.protomaps.com/basemaps/downloads
In Show HN: OpenFreeMap – Open-Source Map Hosting
hyperknot·Sep 19, 2024Submission

Show HN: OpenFreeMap – Free OpenStreetMap Vector Tile Hosting

Hi HN, After 9 years of running my own OpenStreetMap tile server infra for MapHub (https://news.ycombinator.com/item?id=11389989), I’ve open-sourced it and launched OpenFreeMap — offering free, unlimited map tile hosting. OpenFreeMap provides free map hosting for websites and apps with no limits, no registration, no API keys, and no cookies. It’s also fully open-source: see the code at https://github.com/hyperknot/openfreemap and the styles at https://github.com/hyperknot/openfreemap-styles. Why? Using OpenStreetMap data usually requires paying for hosting or dealing with complex self-hosting. I wanted to make it easy and accessible for everyone. How does it work? Tiles are served directly from Btrfs partition images containing 300 million hard-linked files, avoiding the overhead of a tile server and leveraging Linux kernel file caching.
Read the rest
Key components: - Tile Generation: Planetiler (https://github.com/onthegomap/planetiler) - Hosting: Nginx serving tiles from Btrfs images on dedicated Hetzner servers. - No Cloud Services: Optimized file serving on dedicated hardware. How is it free and unlimited? With enough donations and subscriptions, I hope to cover bandwidth costs. Looking forward to your feedback!
14 points · Open discussion
Maplibre[1] + PMTiles + Felt's "tippecanoe"[2] (it can output .pmtiles) are an awesome combination for self-hosted web maps if you're ok with being locked into a Web Mercator projection for pretty much any geospatial source you can convert to .pmtiles via GDAL[3] and tippecanoe (.shp .gpkg ...) | ogr2ogr -> .geojson | tippecanoe -> .pmtiles for OpenStreetMap data there's planetiler[4], and and openmaptiles[5] styles that work with Maplibre with those combinations you've got a great start to something you can host for pennies on AWS S3+CloudFront or Cloudflare R2, with an open source data pipeline [1] https://maplibre.org/ [2] https://github.com/felt/tippecanoe [3] https://gdal.org/ [4] https://github.com/onthegomap/planetiler [5] https://openmaptiles.org/styles/ ps I find GDAL/ogr2ogr documentation pretty hard to parse, as an example to g
Read the rest
et you started ogr2ogr -f GeoJSON counties.json -t_srs EPSG:4326 -nln counties -sql "SELECT STATEFP, COUNTYFP, NAME FROM tl_2022_us_county" /vsizip/tl_2022_us_county.zip https://www.census.gov/geographies/mapping-files/time-series/geo/cartographic-boun…
In Protomaps – A free and open source map of the world
For a self-hosted vector tile stack you can have a look into https://github.com/onthegomap/planetiler I found it very easy to get started and when you know the other stacks it is also very fast to create these vector tiles even for planet-scale. (note, that I'm not affiliated with them, but they use some source code from us for the efficient import and also contributed to GraphHopper, but this did not influence my experience ;) ) > I wonder why so many seem to be moving away from raster tiles to vector data. The flexibility of styling. And you can easily serve customers that need different default languages. This makes maps also more accessible for countries without Latin alphabet. Also when you rotate the map (like for GPS navigation) the labels can rotate too if necessary.
In Radar Maps Platform
I built planetiler (https://github.com/onthegomap/planetiler) for this purpose. The output up to z14 is ~80gb and depending on how big of a machine you have it takes from 30 minutes up to a few hours - no DB required, just java or docker. If you are only going to z11-12, it should be quite a bit faster/smaller. Brandon from Protomaps is also helping add pmtiles output natively to planetiler, so you won't need a conversion step afterwards!
In Self-hosted vector tiles

Showing the 15 most recent of 27 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.