[Qgis-developer] Re: [Qgis-user] vector editing in QGIS - questions and issues (PostGIS biased)

Marco Hugentobler marco.hugentobler at karto.baug.ethz.ch
Wed Mar 5 05:48:33 EST 2008


Am Dienstag 04 März 2008 20:28:56 schrieb Maciej Sieczka:
> Marco Hugentobler pisze:
> > I changed the behaviour now such that the snapping settings is only
> > changed if the user really opened the project snapping dialog and clicked
> > 'ok'.
>
> Do you mean you submitted it to SVN? I'm asking because I can't see it
> in the commit ML.

Yes, in r8189. The commit ML is sometimes slow.

>
> > I'm quite open to suggestions about what reasonable defaults should be
> > (this was the main point of our discussion below). Possibilities are:
> >
> > - snap to editing layer with default tolerance but not to background
> > layers. This is the current default and the suggestion of Micha.
> > And it's the same as the behaviour prior to the merge of the advanced
> > editing branch (it was not possible then to snap to background layers)
> >
> > - snap to all vector layers using default snapping tolerance. This was
> > what Maciej suggested below.
>
> Before I think of it again, can you please first let me know if the two
> in "Snapping options":
>
> 1. tolerance set to 0 and the layer checked
> 2. tolerance set to anything and the layer not checked
>
> result both in snapping disabled? I guess they are supposed to, but want
> to make sure.

Yes, it has the same effect. At the moment, disabling is a bit more efficient. 
But in principle, that could also be done for snapping tol 0 by adding a 
query earlier in the code.

In my opinion, the advantage of the check boxes is that it is possible to 
disable the snapping during digitising without overwriting the previous 
settings (e.g. during a certain stage of digitising). Then, it can be quickly 
enabled by selecting the box again.

Regards,
Marco  



-- 
Dr. Marco Hugentobler
Institute of Cartography
ETH Zurich
Technical Advisor QGIS Project Steering Committee


More information about the Qgis-developer mailing list