[Qgis-user] Multiple geometries in an import file

Paolo Cavallini cavallini at faunalia.it
Thu Jul 21 06:50:07 PDT 2011


Il 21/07/2011 13:55, Tim Sutton ha scritto:

> Prolly you will need to do something like this:
> 
> ogr2ogr out_point.shp mixed.mif -where 'ogr_geometry = "POINT"'
> ogr2ogr out_line.shp mixed.mif -where 'ogr_geometry = "LINESTRING"'
> ogr2ogr out_poly.shp mixed.mif -where 'ogr_geometry = "POLYGON"'

I think we took this approach for loading GPX, right?
All the best.
-- 
Paolo Cavallini: http://www.faunalia.it/pc



More information about the Qgis-user mailing list