Re: [Qgis-user] View freezing and style
On 14 February 2018 at 23:38, Enrico Fiorewrote: > >> Il 14 febbraio 2018 alle 12.43 Nyall Dawson ha >> scritto: >> > >> >> Let me guess - it's a point layer? > > yes, it is > >> > >> > Can be a bug? >> >> Yes, it is. > > I have to open a ticket? I think there's already an open ticket. I looked into this a while ago. The culprit is this line (added in 2.16, or 2.18. I can't recall): https://github.com/qgis/QGIS/blob/master/src/core/layertree/qgslayertreemodel.cpp#L1524 Which is very slow to calculate, and is called for every symbol in your layer (so 2381 times) at every map pan/zoom operation. I only had a brief opportunity to look into it and could not find a quick fix for this. Nyall ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] View freezing and style
Hi, That is a lot of Style filters to be applying, Is there any way you could reduce the Categorising? The other thing is your Indexing, make sure the fields you are using in the style are indexed, along with the Geometry. Regards, Richard On 14/02/2018 11:26, Enrico Fiore wrote: Hi, I have noticed that QGIS 2.18.16 has strange behavior, that I'm going to try to explain. The view freezes for 3 - 4 seconds after zooming or dezooming action. View freezing happen only if in the Project there is a specific layer with categorized style (the same layer with single simbol style doesn't cause the problem). The layer has 130421 feature (point) and 2381 items in the legend (after have applied the style) and the datasource is db (The problem raised happens both with data deriving from Oracle and PostgreSQL database). The behaviour didn't happen in qgis 2.8.4. Has anyone experienced the same problem ? Can be a bug? Enrico ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user -- *_Richard McDonnell_* *GIS Specialist PgD GIS AssocSCSI* *OPW FRM Data Management* *52 Stephens Green, Dublin 2.* TEL: 01 6476543 OPW - Ag féachaint don am atá le teacht - Ag caomhnú ón am atá thart OPW - Looking to the future - Caring for the past *** Email Disclaimer: http://www.opw.ie/en/disclaimer/ ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] View freezing and style
> Il 14 febbraio 2018 alle 12.43 Nyall Dawsonha > scritto: > > > > Let me guess - it's a point layer? yes, it is > > > > Can be a bug? > > Yes, it is. I have to open a ticket? ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] View freezing and style
On 14 February 2018 at 22:26, Enrico Fiorewrote: > Hi, > I have noticed that QGIS 2.18.16 has strange behavior, that I'm going to try > to explain. > > The view freezes for 3 - 4 seconds after zooming or dezooming action. > View freezing happen only if in the Project there is a specific layer with > categorized style (the same layer with single simbol style doesn't cause the > problem). > The layer has 130421 feature (point) and 2381 items in the legend (after > have applied the style) and the datasource is db (The problem raised happens > both with data deriving from Oracle and PostgreSQL database). > Let me guess - it's a point layer? > The behaviour didn't happen in qgis 2.8.4. > > Has anyone experienced the same problem ? > > Can be a bug? Yes, it is. Nyall ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] View freezing and style
Hi, I have noticed that QGIS 2.18.16 has strange behavior, that I'm going to try to explain. The view freezes for 3 - 4 seconds after zooming or dezooming action. View freezing happen only if in the Project there is a specific layer with categorized style (the same layer with single simbol style doesn't cause the problem). The layer has 130421 feature (point) and 2381 items in the legend (after have applied the style) and the datasource is db (The problem raised happens both with data deriving from Oracle and PostgreSQL database). The behaviour didn't happen in qgis 2.8.4. Has anyone experienced the same problem ? Can be a bug? Enrico ___ Qgis-user mailing list Qgis-user@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user