The osmcode/osmtool repo has a command line utility that can be used to replace some of these programs:
- As a lastnode.cpp replacement, use
osmium fileinfo x.osm.pbf -eg data.maxid.nodes
. For more information callosmium help fileinfo
.
- osmgrep.cpp
- osmstats.cpp
- count_addresses.cpp
$ osmium fileinfo -e karlsruhe-regbez.osm.pbf | grep Number | grep -v changesets
Number of nodes: 8291451
Number of ways: 1424970
Number of relations: 26632
- noderef.cpp
- add_timestamp.cpp