Hi Zoltan On Thu, Jul 21, 2011 at 12:45 PM, Zoltan Szecsei <[email protected]> wrote: > Hi everyone, > I have some MID MIF and TAB files that have differing geometries in them > (ie: points, plines and regions). > > QGIS seems to simply (and silently!!!!) stop reading that import file as it > hits the first non-similar geometry. > > Is this the case? (or does it skip other geometries and read the entire file > reading only the first-found geometry types?) >
Yes we currently only support 1 geometry type per layer. How mixed geometries are dealt with is provider dependent. > Is this an underlying (ogr?) issue, or a QGIS internal data structure issue > and how can it be solved? > 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"' (Taken from http://trac.osgeo.org/gdal/wiki/FAQVector#HowdoItranslateamixedgeometryfiletoshapefileformat) Regards Tim > Thanks in advance, > Zoltan > > -- > > =========================================== > Zoltan Szecsei PrGISc [PGP0031] > Geograph (Pty) Ltd. > P.O. Box 7, Muizenberg 7950, South Africa. > > 65 Main Road, Muizenberg 7945 > Western Cape, South Africa. > > 34° 6'16.35"S 18°28'5.62"E > > Tel: +27-21-7884897 Mobile: +27-83-6004028 > Fax: +27-86-6115323 www.geograph.co.za > =========================================== > > _______________________________________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/qgis-user > -- Tim Sutton - QGIS Project Steering Committee Member (Release Manager) ============================================== Please do not email me off-list with technical support questions. Using the lists will gain more exposure for your issues and the knowledge surrounding your issue will be shared with all. Visit http://linfiniti.com to find out about: * QGIS programming and support services * Mapserver and PostGIS based hosting plans * FOSS Consulting Services Skype: timlinux Irc: timlinux on #qgis at freenode.net ============================================== _______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
