Bug report #20260

Updated by Jürgen Fischer about 6 years ago

QGIS takes a very very long time (or stops) trying to show labels with placement around centroid for a layer containing polygons with a big number of parts.

The problem is reproducible with the gadm36_0.shp (containing 256 polygons with a total of more than 100'000 parts) that can be downloaded from https://biogeo.ucdavis.edu/data/gadm3.6/gadm36_levels_shp.zip (the file is freely available for non-commercial use but redistribution is not allowed).

The problem may depend on the geometry validity check. In fact, using the native processing algorithm with validity check activated, the same happens, but with the validity check disabled in the settings, there are no problems and centroids are calculated in a few seconds.

See also: #20260-6 https://issues.qgis.org/issues/20260#note-6

Back