[Qgis-developer] dxf read

Jürgen E. Fischer jef at norbit.de
Wed Jan 26 06:31:52 EST 2011


Hi,

On Wed, 26. Jan 2011 at 10:26:11 +0100, Marco Hugentobler wrote:
> > but I'd expect OGR to present a
> > layer list (organized by DXF layers and geometry types)

> The layers are not organised by geometry type (this is also true for other
> OGR formats). Maybe, from QGIS side, it needs a similar approach as for the
> PostGIS tables without entries in geometry_columns?

Yes, we could allow to set a geometry type and skip all features with a
different geometry type or better return an empty geometry instead - to get the
feature count right.

Or we could extent the layers to have three renderers - one for each geometry
type.  We recently added NoGeometry - so I figure we know where to look now.
That way we could also get rid of that PostGIS filter trick (ugly because you
could remove the filtering subset string).


Jürgen

-- 
Jürgen E. Fischer         norBIT GmbH               Tel. +49-4931-918175-20
Dipl.-Inf. (FH)           Rheinstraße 13            Fax. +49-4931-918175-50
Software Engineer         D-26506 Norden               http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502



More information about the Qgis-developer mailing list