[ moved to qgis-developer ] On Mon, Feb 18, 2013 at 08:02:10AM +0100, Marco Hugentobler wrote: > On 15.02.2013 18:29, Sandro Santilli wrote: > >I was looking for a way to programmatically enable > >'topological editing' while editing "TopoGeometry" layers in qgis. > >If you can help there I'm all ears :) > > This is stored as a project property. So you can do: > QgsProject::instance()->writeEntry( "Digitizing", > "/TopologicalEditing", true ) > > QGIS then tries to find matches for each vertex of a geometry, using > tolerance 0.0000001 for degrees, 0.001 for meters and 0.0001 for > feet.
Would it be acceptable to do this from the PostGIS data provider, at construction time ? Or is there a callback/event that is dispatched when user enters editing mode ? --strk; _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
