[OSM-dev] libosmpbf

Jochen Topf jochen at remote.org
Thu Apr 14 15:31:06 BST 2011


On Thu, Apr 14, 2011 at 03:58:20PM +0200, Peter Körner wrote:
> Am 14.04.2011 14:32, schrieb Jochen Topf:
> >On Thu, Apr 14, 2011 at 12:21:58PM +0200, Peter Körner wrote:
> >>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.
> >
> Are there plans to offer this functionality as lib? This would it
> make much easyer to provide bindings to php or nodejs.

Osmium is a C++ library and has always been. It should be possible to include
it in any language you want. It is a header only library (like a lot of the
boost libraries), so there are only header files, no libosmium.a or libosmium.so.
Thats done so you can include only those parts you need and get that extra
speed advantage. But it doesn't change whether it can be included somewhere or
not.

Osmium optionally includes Googles v8 Javascript engine, thats not quite nodejs,
but there is your Javascript integration.

I have spent the last days cleaning up Osmium and making it easier to build and
use. Just need to write some documention now...

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




More information about the dev mailing list