[Qgis-user] Multiple geometries in an import file

Marco Hugentobler marco.hugentobler at sourcepole.ch
Thu Jul 21 23:30:56 PDT 2011


Am Donnerstag, 21. Juli 2011, 15.50:07 schrieb Paolo Cavallini:
> 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.

PostGIS access uses a similar approach.

Regards,
Marco


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Churerstrasse 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee



More information about the Qgis-user mailing list