[Qgis-developer] slow reading shp

Jürgen E. Fischer jef at norbit.de
Fri Dec 11 17:25:05 EST 2009


Hi Marco,

On Wed, 21. Oct 2009 at 09:15:25 +0200, Marco Hugentobler wrote:
> The following warings appear on command line. Probably the shapefile contains 
> some defects?
> 
> Warning 1: Geometry of polygon of fid 150 cannot be translated to Simple 
> Geometry. All polygons will be contained in a multipolygon.

This caused #2270.  E.g. OGR was returning a MULTIPOLYGON with 2 POLYGONs
instead of a POLYGON with 2 rings.

Changing OGR_ORGANIZE_POLYGONS to ONLY_CCW in r12414 cured that.


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