v0.4.0
What's Changed
This release improves performance and reduces memory requirements:
- Generating a map of the world on a high-end machine (64 cpu/128GB RAM) now takes as little as 47 minutes instead of an hour
- You can now run with as little as 32GB of RAM instead of 128 using
--storage=mmap
to store temporary data in memory-mapped files
To run this release from Java, download the attached planetiler.jar, or from docker use ghcr.io/onthegomap/planetiler:0.4.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!
Performance Improvements
- Custom PBF parsing by @msbarry in #82
- Memory-mapped file improvements by @msbarry in #103
- Node location cache: off-heap storage and “array” implementation that supports parallel inserts by @msbarry in #131
- Offload multipolygon storage to disk (reduce memory usage by 10-15gb) by @msbarry in #141
Improvements and Bug Fixes
- Log thread stats by @msbarry in #85
- Download automatically from quickstart by @msbarry in #93
- Warn when running with insufficient memory or disk space by @msbarry in #73
- Log direct memory usage by @msbarry in #108
- Retry wikidata requests by @msbarry in #115
- Use newer lake centerlines from @acalcutt by @msbarry in #116
- Check disk space and memory only with OSM input file by @wipfli in #138
- Read shapefiles in UTF-8 mode by @wipfli in #137
- Handle more than one centerline for a lake by @msbarry in #139
- Update README.md by @SomeoneElseOSM in #140
- Allow changing Basemap Base-Url by @boldtrn in #143
- Improve name:latin logic by @msbarry in #147
- Don't get transportation_name ref values from minor networks by @msbarry in #148
- Linting - spelling, tiny cleanups by @nyurik in #150
- 0.4.0 tweaks by @msbarry in #153
Contributor Improvements
- Support for each loop in workers by @msbarry in #83
- Add intellij file settings instructions on Linux by @wipfli in #89
- Update adoptium links by @wipfli in #94
- Remove graphhopper dependency by @msbarry in #101
- Test for --free-osm-after-read by @msbarry in #107
- Migrate to eclipse formatter to support multiple IDEs by @msbarry in #122
Dependencies
Once again, @dependabot has been busy keeping dependencies up-to-date.
Dependency upgrades in this release
- Bump geotools.version from 26.2 to 26.3 by @dependabot in #84
- Bump commonmark from 0.18.1 to 0.18.2 by @dependabot in #96
- Bump actions/setup-node from 2 to 3 by @dependabot in #95
- Bump log4j.version from 2.17.1 to 2.17.2 by @dependabot in #100
- Bump guava from 31.0.1-jre to 31.1-jre by @dependabot in #102
- Bump actions/checkout from 2 to 3 by @dependabot in #106
- Bump jackson.version from 2.13.1 to 2.13.2 by @dependabot in #121
- Bump msgpack-core from 0.9.0 to 0.9.1 by @dependabot in #123
- Bump mockito-core from 4.3.1 to 4.4.0 by @dependabot in #130
- Bump spotless-maven-plugin from 2.21.0 to 2.22.0 by @dependabot in #151
- Bump jib-maven-plugin from 3.2.0 to 3.2.1 by @dependabot in #152
New Contributors
- @wipfli made their first contribution in #89
- @SomeoneElseOSM made their first contribution in #140
- @boldtrn made their first contribution in #143
- @nyurik made their first contribution in #150
Full Changelog: v0.3.0...v0.4.0