Expand description
Optional osmium-tool integration for bbox-based PBF extraction.
When --bbox is passed and osmium is on $PATH, this module runs
osmium extract to crop the planet PBF to just the target region.
A cropped PBF is dramatically smaller (planet → regional extract),
making both node collection and feature processing much faster.
If osmium is not installed, the pipeline falls back gracefully to
processing the full PBF with in-memory bbox filtering.
Structs§
- Extract
Result - Result of an osmium extract attempt.
Functions§
- cleanup
- Clean up an extracted PBF file.
- try_
extract - Try to extract a bbox region from a PBF file using osmium.
- try_
extract_ with try_extractwith the name of theosmiumprogram to run.