v0.7.0
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.
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
- Bump jacoco-maven-plugin from 0.8.8 to 0.8.9 by @dependabot in #545
- Bump maven-enforcer-plugin from 3.2.1 to 3.3.0 by @dependabot in #547
- Bump spotless-maven-plugin from 2.35.0 to 2.36.0 by @dependabot in #548
- Bump mockito-core from 5.2.0 to 5.3.0 by @dependabot in #549
- Bump protobuf-java from 3.22.2 to 3.22.3 by @dependabot in #553
- Bump icu4j from 72.1 to 73.1 by @dependabot in #554
- Bump cel-bom from 0.3.13 to 0.3.15 by @dependabot in #557
- Bump jackson.version from 2.14.2 to 2.15.0 by @dependabot in #563
- Bump junit-jupiter-api from 5.9.2 to 5.9.3 in /.github/planetiler-examples-dependabot by @dependabot in #568
- Bump jacoco-maven-plugin from 0.8.9 to 0.8.10 by @dependabot in #567
- Bump junit.version from 5.9.2 to 5.9.3 by @dependabot in #569
- Bump RoaringBitmap from 0.9.39 to 0.9.40 by @dependabot in #571
- Bump mockito-core from 5.3.0 to 5.3.1 by @dependabot in #572
- Bump protobuf-java from 3.22.3 to 3.22.4 by @dependabot in #574
- Bump maven-failsafe-plugin from 3.0.0 to 3.1.0 in /.github/planetiler-examples-dependabot by @dependabot in #576
- Bump cel-bom from 0.3.13 to 0.3.16 by @dependabot in #575
- Bump maven-surefire-plugin from 3.0.0 to 3.1.0 in /.github/planetiler-examples-dependabot by @dependabot in #578
- Bump maven-gpg-plugin from 3.0.1 to 3.1.0 by @dependabot in #577
- Bump maven-surefire-plugin from 3.0.0 to 3.1.0 by @dependabot in #580
- Bump maven-failsafe-plugin from 3.0.0 to 3.1.0 by @dependabot in #581
- Bump protobuf-java from 3.22.4 to 3.23.0 by @dependabot in #582
- Bump maven-assembly-plugin from 3.5.0 to 3.6.0 by @dependabot in #583
- Bump maven-assembly-plugin from 3.5.0 to 3.6.0 in /.github/planetiler-examples-dependabot by @dependabot in #584
- Bump RoaringBitmap from 0.9.40 to 0.9.44 by @dependabot in #585
- Bump jackson.version from 2.15.0 to 2.15.1 by @dependabot in #586
- Bump jib-maven-plugin from 3.3.1 to 3.3.2 by @dependabot in #588
- Bump protobuf-java from 3.23.0 to 3.23.1 by @dependabot in #589
- Bump sqlite-jdbc from 3.41.2.1 to 3.41.2.2 in /planetiler-core by @dependabot in #590
- Bump geotools.version from 29.0 to 29.1 by @dependabot in #591
- Bump sqlite-jdbc from 3.41.2.2 to 3.42.0.0 by @dependabot in #592
- Bump cel-bom from 0.3.16 to 0.3.17 by @dependabot in #593
- Bump guava from 31.1-jre to 32.0.0-jre by @dependabot in #594
- Bump buildnumber-maven-plugin from 3.0.0 to 3.1.0 by @dependabot in #595
- Bump flatten-maven-plugin from 1.4.1 to 1.5.0 by @dependabot in #596
- Bump jackson.version from 2.15.1 to 2.15.2 by @dependabot in #598
- Bump maven-failsafe-plugin from 3.1.0 to 3.1.2 in /.github/planetiler-examples-dependabot by @dependabot in #600
- Bump maven-surefire-plugin from 3.1.0 to 3.1.2 by @dependabot in #602
- Bump maven-surefire-plugin from 3.1.0 to 3.1.2 in /.github/planetiler-examples-dependabot by @dependabot in #603
- Bump spotless-maven-plugin from 2.36.0 to 2.37.0 by @dependabot in #604
- Bump jnr-ffi from 2.2.12 to 2.2.14 by @dependabot in #605
- Bump maven-source-plugin from 3.2.1 to 3.3.0 by @dependabot in #606
- Bump maven-failsafe-plugin from 3.1.0 to 3.1.2 by @dependabot in #607
- Bump guava from 32.0.0-jre to 32.0.1-jre by @dependabot in #609
- DON'T Bump protobuf-java from 3.23.1 to 3.23.3 by @dependabot in #610
- Bump buildnumber-maven-plugin from 3.1.0 to 3.2.0 by @dependabot in #611
- Bump mockito-core from 5.3.1 to 5.4.0 by @dependabot in #612
- Bump icu4j from 73.1 to 73.2 by @dependabot in #613
- Bump RoaringBitmap from 0.9.44 to 0.9.45 by @dependabot in #614
- Bump protobuf-java from 3.23.1 to 3.23.2 by @dependabot in #615
- Bump guava from 32.0.1-jre to 32.1.0-jre by @dependabot in #617
- Bump guava from 32.1.0-jre to 32.1.1-jre by @dependabot in #618
- Bump cel-bom from 0.3.17 to 0.3.18 by @dependabot in #619
- Bump protobuf-java from 3.23.2 to 3.23.4 by @dependabot in #620
- Bump cel-bom from 0.3.18 to 0.3.19 by @dependabot in #623
- Bump msgpack-core from 0.9.3 to 0.9.4 by @dependabot in #624
- Bump cel-bom from 0.3.19 to 0.3.20 by @dependabot in #628
- Bump spotless-maven-plugin from 2.37.0 to 2.38.0 by @dependabot in #629
- Bump cel-bom from 0.3.20 to 0.3.21 by @dependabot in #630
- Bump geotools.version from 29.1 to 29.2 by @dependabot in #631
- Bump org.junit.jupiter:junit-jupiter-api from 5.9.3 to 5.10.0 in /.github/planetiler-examples-dependabot by @dependabot in #632
- Bump junit.version from 5.9.3 to 5.10.0 by @dependabot in #633
- Bump org.roaringbitmap:RoaringBitmap from 0.9.45 to 0.9.46 by @dependabot in #634
- Bump org.roaringbitmap:RoaringBitmap from 0.9.46 to 0.9.47 by @dependabot in #637
- Bump org.msgpack:msgpack-core from 0.9.4 to 0.9.5 by @dependabot in #640
- Bump com.google.guava:guava from 32.1.1-jre to 32.1.2-jre by @dependabot in #641
- Bump com.google.protobuf:protobuf-java from 3.23.4 to 3.24.0 by @dependabot in #643
- Bump com.google.protobuf:protobuf-java from 3.24.0 to 3.24.1 by @dependabot in #645
- Bump org.mockito:mockito-core from 5.4.0 to 5.5.0 by @dependabot in #646
- Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.3.0 to 3.4.0 by @dependabot in #647
- Bump org.xerial:sqlite-jdbc from 3.42.0.0 to 3.42.0.1 by @dependabot in #648
- Bump com.google.protobuf:protobuf-java from 3.24.1 to 3.24.2 by @dependabot in #649
- Bump org.snakeyaml:snakeyaml-engine from 2.6 to 2.7 by @dependabot in #650
- Bump com.diffplug.spotless:spotless-maven-plugin from 2.38.0 to 2.39.0 by @dependabot in #651
- Bump org.xerial:sqlite-jdbc from 3.42.0.1 to 3.43.0.0 by @dependabot in #652
- Bump org.roaringbitmap:RoaringBitmap from 0.9.47 to 0.9.48 by @dependabot in #653
- Bump actions/checkout from 3 to 4 by @dependabot in #655
- Bump org.slf4j:slf4j-api from 2.0.7 to 2.0.9 by @dependabot in #654
- Bump com.google.protobuf:protobuf-java from 3.24.2 to 3.24.3 by @dependabot in #659
- Bump org.apache.maven.plugins:maven-enforcer-plugin from 3.4.0 to 3.4.1 by @dependabot in #660
- Bump com.github.jnr:jnr-ffi from 2.2.14 to 2.2.15 by @dependabot in #661
- Bump org.roaringbitmap:RoaringBitmap from 0.9.48 to 0.9.49 by @dependabot in #662
- Bump org.sonarsource.scanner.maven:sonar-maven-plugin from 3.9.1.2184 to 3.10.0.2594 by @dependabot in #664
- Bump mil.nga.geopackage:geopackage from 6.6.1 to 6.6.2 by @dependabot in #665
- Bump com.google.cloud.tools:jib-maven-plugin from 3.3.2 to 3.4.0 by @dependabot in #667
- Bump org.apache.maven.plugins:maven-javadoc-plugin from 3.5.0 to 3.6.0 by @dependabot in #670
- Bump org.roaringbitmap:RoaringBitmap from 0.9.49 to 1.0.0 by @dependabot in #674
- Bump org.msgpack:msgpack-core from 0.9.5 to 0.9.6 by @dependabot in #675
New Contributors
Full Changelog: v0.6.0...v0.7.0