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
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