What's Changed
This release reduces openmaptiles tile sizes by 40-50% and includes tools other profiles can use to use to optimize their tile sizes:
--max-point-buffer=4
argument to remove points outside the tile boundary if your client handles label collisions between tiles (web/native but not raster)--output-layerstats
to write a layer stats tsv.gz file you can analyze with duckdb to look for improvementsFeatureMerge
Utilities to to merge geometries with the same attributes into multigeometries. See openmaptiles/planetiler-openmaptiles#112 which applies these improvements to openmaptiles profile for close to 90% savings on some dense housenumber/building layers.
This release also adds support for writing plugins in other languages to send tiles to other data stores. See #639 for examples of how to write to mysql, postgres, or s3.
⚠️ This will be the last release with Java 17 support, the next release will target Java 21. Upgrade now to avoid any interruptions! ⚠️
To run this release from Java, download the attached planetiler.jar, or from docker use ghcr.io/onthegomap/planetiler:0.7.0
There is ongoing discussion about the project in the #planetiler channel on OSM-US slack. If you are interested in joining, get an invite here!
New Features and Improvements
- Tile size improvements:
- Output more detailed tile size statistics using
--output-layerstats
flag by @msbarry in #656 - Utilities to reduce tile size by @msbarry in #669
- Sort merged vector tile features by hilbert order by @msbarry in #673
- Upgrade planetiler-openmaptiles to pull in openmaptiles/planetiler-openmaptiles#112 by @msbarry in #672
- Output more detailed tile size statistics using
- Add support for simple file output streams: CSV, JSON, protobuf by @bbilger in #639
- Add support for Overture maps 2023-04-02-alpha release by @erik in #599
- Expose
min_size
in configurable schema by @wipfli in #421 - Permit post-process merging in custommap schemas by @zhibek in #626
- Upgrade openmaptiles snapshot by @msbarry in #676
Bug Fixes
- Handle empty geopackage geometries by @msbarry in #561
- Fix NPE on way by @msbarry in #562
- Exclude relations with invalid multipolygon geometry by @erik in #564
- Fix invalid polygons before snapping to tile coordinates by @msbarry in #566
- Fallback to lenient shapefile parsing by @msbarry in #570
- Page through S3 index by @msbarry in #608
- Fix regex escaping in polygon file parsing by @mikaelhg in #627
- Fix downloading tile weights in CI by @msbarry in #668
Contributor/Documentation Improvements
- Improve docs for generating custom vector tiles with a schema yaml by @zhibek in #622
- remove the old TileEncodingResult by @bbilger in #642
- Fix macro in layerstats readme by @msbarry in #671
- Bump version to 0.7.0 by @msbarry in #677
Dependencies
Once again, @dependabot has been busy keeping dependencies up-to-date.
Dependency upgrades in this release
New Contributors
Full Changelog: v0.6.0...v0.7.0