https://issues.qgis.org/https://issues.qgis.org/favicon.ico2016-10-07T03:39:41ZQGIS Issue TrackingQGIS Application - Bug report #10485: DXF entities geometry collection, null value?https://issues.qgis.org/issues/10485?journal_id=728752016-10-07T03:39:41ZEven Rouaulteven.rouault@spatialys.com
<ul><li><strong>Resolution</strong> set to <i>up/downstream</i></li><li><strong>Assignee</strong> set to <i>Even Rouault</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>I've committed an improvement in GDAL per <a class="external" href="https://trac.osgeo.org/gdal/changeset/35630">https://trac.osgeo.org/gdal/changeset/35630</a> (will be in GDAL 2.2) to transform GeometryCollections to MultiPoint, MultiLineString, MultiPolygon when possible. On this dataset, this reduces the number of real GeometryCollection to 3.</p>
<p>It is also possible to define the DXF_MERGE_BLOCK_GEOMETRIES=FALSE environment variable so that GDAL doesn't try to create GeometryCollections when resolving DXF blocks. But of course you'll get somehow "artifical" objects.</p>