[OSM-dev] libosmpbf

Jochen Topf jochen at remote.org
Thu Apr 14 13:32:00 BST 2011


On Thu, Apr 14, 2011 at 12:21:58PM +0200, Peter Körner wrote:
> Am 14.04.2011 12:10, schrieb Jochen Topf:
> >To make the PBF stuff from Scott easier to use from C++ I have added a Makefile
> >and Debian config in my fork at https://github.com/joto/OSM-binary . This gives
> >you a /usr/lib/libosmpbf.a and the include files in /usr/include/osmpbf.
> 
> I never really used the pbf stuff directly. Does it decode all those
> dense nodes thing and such or does it just read the pbf blocks?

It just decodes the protobuf-encoded data. There is still more to do after that.
But everybody who uses the PBF format needs the code for this basic step.

> As far as i understood there's still some logic needed to assemble
> osm objects from the pbf messages.

Yes. Thats for instance provided by Osmium. Osmium builds on the PBF stuff from
Scott.

Jochen
-- 
Jochen Topf  jochen at remote.org  http://www.remote.org/jochen/  +49-721-388298




More information about the dev mailing list