What's Changed
This release reduces the minimum resource requirement when building maps for small areas. For Monaco with the OpenMapTiles profile, the first-run download goes from 1.45GB to 42MB and heap size from 1GB to 64MB. After the initial download, a run takes 2 seconds instead of 21.
To download less data, planetiler now fetches only the parts of parquet files within the current map bounds and stores them in a sparse local cache file to avoid re-downloading next time. OpenMapTiles uses a parquet version of OSM water polygons, so Monaco only needs 3MB instead of the full 932MB. Every download goes through this cache, so you can resume an interrupted download. Use --download=full to go back to fetching whole files, or --download=streaming to fetch only the parts needed each time and store nothing on disk.
You can also run planetiler as a single-file executable, downloaded from this release or through brew install planetiler.
Breaking changes:
- now requires Java 25 or later
- built-in profiles default to pmtiles instead of mbtiles (override with
--output=output.mbtiles) - transliteration is now off by default (override with
--transliterate=true) - planetiler prints a help page when run with no arguments, and downloads automatically when you specify
--area=...or--osm-path(add--offlineto avoid all network requests) - logs are now much quieter by default, you can get the same verbose logs back with
--verbose/-vor disable all but errors/warning logs with--quiet/-q - planetiler-core depends on a JTS snapshot until JTS 1.21 is released. Gradle users can add
maven { url "https://planetiler.onthegomap.com/maven" }torepositoriesto locate that snapshot
New features and improvements
planetiler shortbreadnow uses versatiles/planetiler-shortbread by @MichaelKreil in #1598- Output pmtiles default by @msbarry in #1721
- Expose label grid functions for custommap/YAML profiles (2) by @phanecak-maptiler in #1576
- Add support for MLT polygon outline by @manuel-hegner in #1575
- Do not warn on null geometry or properties in the GeoJSON reader by @adityaanikam in #1659
- Validate
mlt_*options and warn about gzip-hostile encodings by @CommanderStorm in #1630 - Require Java 25 by @CommanderStorm in #1631
- Performance/memory improvements:
- Reduce memory usage for small areas by @msbarry in #1658 #1692
- Improve MLT throughput, especially advanced encodings by @msbarry in maplibre/maplibre-tile-spec#2042 #1722
- Replace geotools shapefile reader by @msbarry in #1678 #1681 #1690
- Batch small shapefile features to keep workers busy by @msbarry in #1653
- Download improvements:
- Download only the parts of parquet files that are needed (
--download=cached|streaming) by @msbarry in #1662 #1670 #1695 - Resumable downloads with retries by @msbarry in #1667 #1621
- Process each source as soon as its download finishes, and read non-OSM sources together by @msbarry in #1694
- OpenMapTiles uses parquet OSM water polygons / lake centerlines and individual Natural Earth files by @msbarry in #1673 #1671 #1672 #1674 #1679 #1685
- Mirror Monaco so first runs work when Geofabrik is down by @msbarry in #1696 #1697 #1701
- Download only the parts of parquet files that are needed (
- Improved CLI usability:
- Show a proper help page with no args,
--helporhelpby @msbarry in #1712 - Improve logging by @msbarry in #1683 #1703 #1716 #1717 #1719 #1725 #1702
- Show 1-line errors instead of full stack traces by @msbarry in #1718 #1675 #1730
- Single-file native binaries by @msbarry in #1632 #1637 #1638 #1700 #1724
- Usability improvements (based on clig.dev) by @msbarry in #1720 #1727
- Show a proper help page with no args,
Bug Fixes
- fix: MLT Mime type being incorrect by @CommanderStorm in #1628
- Upgrade JTS to snapshot for robustness fixes by @msbarry in #1623
- Skip tile memoization when post-processing needs TileCoord by @msbarry in #1713
- Keep bounds filter if --polygon present by @msbarry in #1711
- Fix parquet row group bbox filter by @msbarry in #1660
- fix shapefile crash on invalid geometries by @msbarry in #1654
- Determinism fixes by @msbarry in #1649
- Fix osm download dependencies by @msbarry in #1665
- Fix yaml thread safety by @msbarry in #1676
- Reject out-of-range sort keys at runtime by @mvanhorn in #1644
- Fix relation info for multipolygons in other relations by @birkskyum in #1636
- [bugfix] disable automatic transliteration by default by @j9d3it in #1627
Other minor improvements
- Fix flaky CI doc link check by @msbarry in #1729 #1602
- Keep builds working when maven repos are down by @msbarry in #1684 #1706 #1723
- Fix mvnw version by @msbarry in #1714
- Fix download_chunk_size_mb name in config-example.properties by @rawsun007 in #1707
- Fast test script by @msbarry in #1691
- refactor: encode tiles through a TileEncoder interface by @CommanderStorm in #1668 #1687
- Download files first during performance run by @msbarry in #1686
- Java 25 fixes by @msbarry in #1635
Dependency upgrades in this release
- Update planetiler-openmaptiles submodule by @birkskyum in #1643
- lz4-java update to 1.12.0 by @phanecak-maptiler in #1641
- Bump planetiler-openmaptiles by @msbarry in #1682
- Bump omt by @msbarry in #1698
- Bump jts snapshot by @msbarry in #1699
- 0.10.3-snapshot by @msbarry in #1530
- Upgrade guava by @msbarry in #1726
- build(deps): bump com.ibm.icu:icu4j from 78.2 to 78.3 by @dependabot[bot] in #1531
- build(deps): bump log4j.version from 2.25.3 to 2.25.4 by @dependabot[bot] in #1533
- build(deps): bump dawidd6/action-download-artifact from 19 to 20 by @dependabot[bot] in #1538
- build(deps): bump blue.strategic.parquet:parquet-floor from 1.62 to 1.64 by @dependabot[bot] in #1534
- build(deps): bump org.roaringbitmap:RoaringBitmap from 1.6.13 to 1.6.14 by @dependabot[bot] in #1547
- build(deps): bump softprops/action-gh-release from 2 to 3 by @dependabot[bot] in #1548
- build(deps): bump actions/github-script from 8 to 9 by @dependabot[bot] in #1550
- build(deps): bump org.xerial:sqlite-jdbc from 3.51.3.0 to 3.53.0.0 by @dependabot[bot] in #1551
- build(deps): bump dawidd6/action-download-artifact from 20 to 21 by @dependabot[bot] in #1556
- build(deps): bump com.github.jnr:jnr-ffi from 2.2.18 to 2.2.19 by @dependabot[bot] in #1555
- build(deps): bump jackson.version from 2.21.2 to 2.21.3 by @dependabot[bot] in #1558
- build(deps-dev): bump org.sonarsource.scanner.maven:sonar-maven-plugin from 5.3.0.6276 to 5.6.0.6792 by @dependabot[bot] in #1559
- build(deps): bump com.google.guava:guava from 33.5.0-jre to 33.6.0-jre by @dependabot[bot] in #1562
- build(deps): bump org.xerial:sqlite-jdbc from 3.53.0.0 to 3.53.1.0 by @dependabot[bot] in #1563
- build(deps-dev): bump junit.version from 6.0.3 to 6.1.0 in /.github/planetiler-examples-dependabot by @dependabot[bot] in #1567
- build(deps): bump org.lz4:lz4-java from 1.8.0 to 1.8.1 by @dependabot[bot] in #1566
- build(deps): bump actions/checkout from 6 to 7 by @dependabot[bot] in #1577
- build(deps): bump geotools.version from 34.3 to 34.4 by @dependabot[bot] in #1571
- build(deps-dev): bump org.apache.maven.plugins:maven-failsafe-plugin from 3.5.5 to 3.5.6 in /.github/planetiler-examples-dependabot by @dependabot[bot] in #1572
- build(deps): bump actions/cache from 5 to 6 by @dependabot[bot] in #1581
- build(deps-dev): bump junit.version from 6.1.0 to 6.1.1 in /.github/planetiler-examples-dependabot by @dependabot[bot] in #1580
- build(deps): bump com.github.jnr:jnr-ffi from 2.2.19 to 2.3.0 by @dependabot[bot] in #1579
- build(deps): bump jackson.version from 2.21.3 to 2.22.0 by @dependabot[bot] in #1582
- build(deps-dev): bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.5 to 3.5.6 in /.github/planetiler-examples-dependabot by @dependabot[bot] in #1583
- build(deps-dev): bump junit.version from 6.1.1 to 6.1.2 in /.github/planetiler-examples-dependabot by @dependabot[bot] in #1586
- build(deps): bump geotools.version from 34.4 to 35.0 by @dependabot[bot] in #1585
- build(deps): bump actions/setup-node from 6 to 7 by @dependabot[bot] in #1587
- build(deps): bump org.msgpack:msgpack-core from 0.9.11 to 0.9.12 by @dependabot[bot] in #1589
- build(deps): bump org.sonatype.central:central-publishing-maven-plugin from 0.10.0 to 0.11.0 by @dependabot[bot] in #1590
- build(deps): bump org.xerial:sqlite-jdbc from 3.53.1.0 to 3.53.2.1 by @dependabot[bot] in #1591
- build(deps-dev): bump org.apache.maven.plugins:maven-enforcer-plugin from 3.6.2 to 3.6.3 by @dependabot[bot] in #1592
- build(deps): bump org.apache.logging.log4j:log4j-api from 2.25.4 to 2.25.5 in /planetiler-core by @dependabot[bot] in #1596
- build(deps): bump junit.version from 6.0.3 to 6.1.2 by @dependabot[bot] in #1593
- build(deps): bump dawidd6/action-download-artifact from 21 to 23 by @dependabot[bot] in #1597
- build(deps-dev): bump junit.version from 6.1.2 to 6.1.3 in /.github/planetiler-examples-dependabot by @dependabot[bot] in #1595
- build(deps): bump dawidd6/action-download-artifact from 23 to 24 by @dependabot[bot] in #1601
- build(deps-dev): bump org.apache.maven.plugins:maven-failsafe-plugin from 3.5.6 to 3.6.0 in /.github/planetiler-examples-dependabot by @dependabot[bot] in #1600
- build(deps): bump jackson.version from 2.22.0 to 2.22.2 by @dependabot[bot] in #1599
- build(deps-dev): bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.6 to 3.6.0 in /.github/planetiler-examples-dependabot by @dependabot[bot] in #1604
- build(deps): bump blue.strategic.parquet:parquet-floor from 1.64 to 2.3 by @dependabot[bot] in #1603
- build(deps): bump org.projectnessie.cel:cel-bom from 0.6.0 to 0.8.0 by @dependabot[bot] in #1605
- build(deps): bump log4j.version from 2.25.5 to 2.26.1 by @dependabot[bot] in #1607
- build(deps): bump org.snakeyaml:snakeyaml-engine from 3.0.1 to 3.1.1 by @dependabot[bot] in #1608
- build(deps): bump com.github.jnr:jnr-ffi from 2.3.0 to 2.3.1 by @dependabot[bot] in #1609
- build(deps): bump org.commonmark:commonmark from 0.27.1 to 0.30.0 by @dependabot[bot] in #1611
- build(deps): bump actions/setup-java from 5 to 6 by @dependabot[bot] in #1612
- build(deps): bump com.google.cloud.tools:jib-maven-plugin from 3.5.1 to 3.5.2 by @dependabot[bot] in #1613
- build(deps-dev): bump org.codehaus.mojo:buildnumber-maven-plugin from 3.3.0 to 3.3.1 by @dependabot[bot] in #1614
- build(deps): bump com.github.jnr:jnr-ffi from 2.3.1 to 2.3.3 by @dependabot[bot] in #1615
- build(deps): bump com.google.protobuf:protobuf-java from 4.35.1 to 4.36.2 by @dependabot[bot] in #1616
- build(deps): bump dawidd6/action-download-artifact from 24 to 25 by @dependabot[bot] in #1619
- build(deps): bump geotools.version from 35.0 to 35.1 by @dependabot[bot] in #1618
- build(deps): bump jackson.version from 2.22.2 to 2.22.3 by @dependabot[bot] in #1625
- build(deps): bump dawidd6/action-download-artifact from 25 to 27 by @dependabot[bot] in #1626
- build(deps): bump junit.version from 6.1.2 to 6.1.3 by @dependabot[bot] in #1634
- build(deps): bump actions/cache from 4 to 6 by @dependabot[bot] in #1640
- build(deps): bump geotools.version from 35.1 to 35.2 by @dependabot[bot] in #1639
- build(deps-dev): bump org.apache.maven.plugins:maven-failsafe-plugin from 3.6.0 to 3.6.1 in /.github/planetiler-examples-dependabot by @dependabot[bot] in #1646
- build(deps): bump org.yaml:snakeyaml from 2.6 to 2.7 by @dependabot[bot] in #1645
- build(deps-dev): bump org.apache.maven.plugins:maven-surefire-plugin from 3.6.0 to 3.6.1 in /.github/planetiler-examples-dependabot by @dependabot[bot] in #1648
- build(deps): bump jackson.version from 2.22.3 to 2.22.4 by @dependabot[bot] in #1647
- build(deps): bump com.google.guava:guava from 33.6.0-jre to 33.7.1-jre in /planetiler-core by @dependabot[bot] in #1650
- build(deps): bump org.xerial.snappy:snappy-java from 1.1.10.8 to 1.1.10.9 in /planetiler-core by @dependabot[bot] in #1651
- build(deps): bump com.github.jnr:jnr-ffi from 2.3.3 to 2.3.4 by @dependabot[bot] in #1652
- build(deps): bump org.sonatype.central:central-publishing-maven-plugin from 0.11.0 to 0.12.0 by @dependabot[bot] in #1655
- build(deps): bump org.apache.commons:commons-lang3 from 3.20.0 to 3.21.0 by @dependabot[bot] in #1656
- build(deps): bump at.yawk.lz4:lz4-java from 1.12.0 to 1.12.1 by @dependabot[bot] in #1661
- build(deps): bump dawidd6/action-download-artifact from 27 to 28 by @dependabot[bot] in #1664
- build(deps): bump org.mockito:mockito-core from 5.23.0 to 5.24.0 by @dependabot[bot] in #1663
- build(deps-dev): bump com.diffplug.spotless:spotless-maven-plugin from 3.4.0 to 3.10.4 by @dependabot[bot] in #1666
- build(deps): bump org.apache.maven.plugins:maven-surefire-plugin from 3.5.5 to 3.6.1 by @dependabot[bot] in #1677
- build(deps): bump jackson.version from 2.22.4 to 2.23.0 by @dependabot[bot] in #1688
- build(deps): bump org.snakeyaml:snakeyaml-engine from 3.1.1 to 3.2 by @dependabot[bot] in #1689
- build(deps): bump astral-sh/setup-uv from 10.3.3 to 10.4.0 by @dependabot[bot] in #1708
- build(deps-dev): bump org.codehaus.mojo:flatten-maven-plugin from 1.7.3 to 1.9.0 by @dependabot[bot] in #1693
- build(deps): bump org.commonmark:commonmark from 0.30.0 to 0.33.0 by @dependabot[bot] in #1715
- build(deps): bump org.slf4j:slf4j-api from 2.0.17 to 2.0.20 by @dependabot[bot] in #1728
New Contributors
- @femrek made their first contribution in #1529
- @NPK025 made their first contribution in #1540
- @tejas-ae made their first contribution in #1570
- @manuel-hegner made their first contribution in #1575
- @j9d3it made their first contribution in #1627
- @birkskyum made their first contribution in #1636
- @mvanhorn made their first contribution in #1644
- @adityaanikam made their first contribution in #1659
- @rawsun007 made their first contribution in #1707
- @MichaelKreil made their first contribution in #1598
Full Changelog: v0.10.2...v0.11.0