[Qgis-developer] PyQGIS: how to set "Enable snapping on intersection" option?
luipir at gmail.com
Fri Mar 21 02:39:19 PDT 2014
seems it works setting all QgsProject parameters as in:
My doubt is that probably should be useful to add a default option on
snapping/digitinzing as "snap on intersection background" getting all
layer in background by default.
I'll try to propose this new config option in Vienna next week... the
main reason to have a default behavior is that if you add a new layer
I expect snapping should work also with the new layer, but It doesn't
work if no one set list of snapping layer in the QgsProject (doing
apply in SnappingOptions)
Luigi Pirelli (luigi.pirelli at faunalia.it - luipir at gmail.com)
On 21 March 2014 10:16, Jakob Lanstorp <jlanstorp at gmail.com> wrote:
> Looks like this setting is not exposed in the API of QgsSnapper or
> from PyQt4.QtCore import QSettings
> print QSettings().allKeys()
> Jakob Lanstorp
> View this message in context:
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qgis-developer