[OSM-dev] New OGR driver to read OpenStreetMap .osm / .pbf files

Even Rouault even.rouault at mines-paris.org
Tue Jul 10 20:33:00 BST 2012

Le mardi 10 juillet 2012 21:21:34, Stefan de Konink a écrit :
> On 10-07-12 21:18, Even Rouault wrote:
> > Following the recent brainstorming with Jukka, I've pushed into
> > trunk a driver to read OpenStreetMap .osm / .pbf files .
> Is this driver able to replace tools such as osm2pgsql?

The driver, as it is currently, is quite simple. I didn't make a comparison 
with the features of osm2pgsql, which is likely more feature full.

> Hence does it
> integrate node/ways/relations to points, linestrings, polylines and
> multipolygons?

Yes, this is described in the driver documentation page.

> If it does so how does it know this information without
> a style file?

This can be parametrized, to some extent, by editing the osmconf.ini file.

> Stefan
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev

More information about the dev mailing list