Bug report #21533

Geometry Checks is slow when features count is enabled

Added by Alexey T about 1 year ago. Updated about 1 year ago.

Status:Open
Priority:Normal
Assignee:-
Category:Digitising
Affected QGIS version:3.6.0 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29349

Description

There is a new option in layer properties -> digitizing -> Geometry Checks.

When activated and also features count is enabled, it checks geometry for every feature in a layer after every singel vertex edit.

My layer have 20000 features. These checks are very slow.

Shouldn't this feature check geometry validity of a current feature being edited?

History

#1 Updated by Giovanni Manghi about 1 year ago

  • Status changed from Open to Feedback

I have tested on a 4000 features layers, each with thousands of vertexes and does not seems to be an issue. Can you attach sample data? thanks.

#2 Updated by Alexey T about 1 year ago

You are right. I found the cause.

When "show feature count" is enabled, layer editing is very slow.
QGIS is recounting features after every vertex edit.

see the video
https://yadi.sk/d/sFMsl3LclCerUA

Shouldn't it recount them on saving?

#3 Updated by Giovanni Manghi about 1 year ago

  • Operating System deleted (win7)
  • Status changed from Feedback to Open
  • Description updated (diff)
  • Subject changed from Layer properties -> Digitizing -> Geometry Checks is too slow to Geometry Checks is slow when features count is enabled

Also available in: Atom PDF