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

Even Rouault even.rouault at mines-paris.org
Sat Jul 21 00:12:03 BST 2012


> Right now I have only two
> suggestions: osmconf.ini might have an option for renaming attributes.
> Especially attribute names like "addr:city" are invalid in GML and
> therefore cannot be published in WFS services before they are renamed to,
> for example, "addr_city".

Implement in r24696. There is now field name laundering by default (option in 
osmconf.ini)

> Another suggestion is to try if relations which are not polygon relations
> could be converted into geometry collections. I am not sure if the result
> would be usable for any real use but at least it should be possible to
> visualise them with viewers like OpenJUMP.

There's also now a 'multilinestrings' layer that has relations with 
type='route' or 'multipolygon', and a 'other_relations' layer with relations 
that don't belong to the multipolygons or multilinestrings layers.



More information about the dev mailing list