Bug report #2552
digitizing become very slow when a (fair big) underlying vector has snapping activated
Status: | Closed | ||
---|---|---|---|
Priority: | Low | ||
Assignee: | nobody - | ||
Category: | Vectors | ||
Affected QGIS version: | Regression?: | No | |
Operating System: | All | Easy fix?: | No |
Pull Request or Patch supplied: | Resolution: | worksforme | |
Crashes QGIS or corrupts data: | Copied to github as #: | 12612 |
Description
I believe that this is replicable with a sample data of yours, but in case you are not able to reproduce just ask and I'll attach a sample.
Steps:
add a polygon layer, with a fair big number of features and enable snapping for it.
then add another polygon layer or create a new one.
start editing the new polygon layer, you'll notice that the "capture polygon" tool is pretty slow. Depending on how big is the underlying layer it can be almost unusable.
remove the snapping for the underlying layer and editing the new polygon will work just fine
tested under trunk/1.4 under both linux and windows
History
#1 Updated by Gerhard Spieles over 14 years ago
Create a spatial index on the big layer and it works fine (Layer properities, General, Button "Create Spatial Image".
see ticket #1277
#2 Updated by Jürgen Fischer over 13 years ago
- Resolution set to worksforme
- Status changed from Open to Closed
Replying to [comment:1 gespiel]:
Create a spatial index on the big layer and it works fine (Layer properities, General, Button "Create Spatial Image".
see ticket #1277
sounds like a solution.