regression: progress bar doesn't work in osmium-tool
What version of osmium-tool are you using?
$ ./osmium --version
osmium version 1.18.0 (v1.18.0-4-g71570dc)
libosmium version 2.22.0
Supported PBF compression types: none zlib lz4
Copyright (C) 2013-2025 Jochen Topf <[email protected]>
License: GNU GENERAL PUBLIC LICENSE Version 3 <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
What operating system version are you using?
debian/trixie
What did you do exactly?
./osmium fileinfo -e /tmp/switzerland.osm.pbf
What did you expect to happen?
progress bar should show progress
What did happen instead?
no output until complete
What did you do to try analyzing the problem?
build osmium-tool from master
note: i didn't test libosmium from master yet!
s.a. #231
no output until complete
re-reading this it is misleading / not really correct
Output is:
File:
Name: /tmp/switzerland.osm.pbf
Format: PBF
Compression: none
Size: 432183453
Header:
Bounding boxes:
With history: no
Options:
generator=osmium/1.13.1
pbf_dense_nodes=true
pbf_optional_feature_0=Sort.Type_then_ID
sorting=Type_then_ID
[> ] 0%
but then there is no more output until completion
built libosmium and osmium-tool from master and the problem is still there
btw this doesn't show progress either: ./osmium cat --progress /tmp/switzerland.osm.pbf -f xml > /dev/null
This has been fixed by this PR. Thanks for the report.