Osmium is a C++ framework for handling OSM data read from XML or PBF files. The framework itself doesn't do much by itself, it just parses the data and gives you callbacks for each object. Handlers can implement those callbacks and do interesting stuff. Osmium already comes with a few of those handlers. One of them, for instance, assembles multipolygon relations into real multipolygons. Another creates statistics for Taginfo. Particularly interesting is the Javascript handler, which embeds the Google V8 Javascript engine and gives you callbacks into Javascript. It can also write out Shapefiles and your Javascript code can map between OSM tags and Shapefile attributes.
All of this is Open Source and available from https://github.com/joto/osmium . It still has lots of rough edges but it works ok for many things. Taginfo has been using the Osmium framework for months now to update its statistics. More about Osmium is at http://blog.jochentopf.com/2011-01-05-osmium.html . Jochen -- Jochen Topf [email protected] http://www.remote.org/jochen/ +49-721-388298 _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

