[OSM-dev] making osm2pgsql import relations?

Ákos Maróy akos at maroy.hu
Wed Nov 7 21:07:37 GMT 2012


On 07/11/12 21:52, Jukka Rahkonen wrote:
> Hi,
>
> One alternative is to use the GDAL/OGR OSM driver
> http://www.gdal.org/ogr/drv_osm.html
> A short document about how to use it
> http://latuviitta.org/documents/OSM_relations_visualized_with_GDAL_and_OpenJUMP.pdf
>
> In the document the output goes to Spatialite database but PostGIS makes
> no difference.
>
> GDAL converts OSM relations into OGC simple features of type "geometry
> collection". It means that only attributes which have been given for the
> relation will follow with the geometry.
>
thanks, I'll look into it...



More information about the dev mailing list