ReadOSM is a simple library intended for extracting the contents from Open Street Map files: both input formats (.osm XML based and .osm.pbf based on Google's Protocol Buffer serialization) are indifferently supported.WWW: https://www.gaia-gis.it/fossil/readosm/index