Binary file stuff

Python tool to extract data from an OSM binary file (*.pbf)
The lastest version is 1.3
parsepbf.zip
parsepbf.tar.bz2

Version History

Version 1.1 First release. Parse .pbf file into lists of Nodes, Ways &
Relations, optionally output XML based on the lists

Version 1.2 Change XML output to not store the data in lists. This
allows parsing to XML of much bigger files than can be held in memory.

Version 1.3 Improve the XML escaping.