I try to edit a vector layer using qgisaffine tool. But it says layer is not in editabale mode. how can I cange it to editable mode
On Thu, Jul 12, 2012 at 1:27 AM, Richard Duivenvoorde <[email protected]>wrote: > On 07/12/2012 09:16 AM, chathura silva wrote: > >> Is there any way to change it to editable mode ? >> > > Please describe your problem a little more instead of one sentence > questions, for others it also costs time to answer your question. > > If you mean 'is it possible for a python plugin to set a layer in the > modus editing' the answer is: > > yes > > but I think you also would like to see some pointers (after you tried to > google a little ;-) ): > > Have a look here: > > http://qgis.org/pyqgis-**cookbook/vector.html#**modifying-vector-layers<http://qgis.org/pyqgis-cookbook/vector.html#modifying-vector-layers> > > I'm also setting a layer into editing mode, see > > http://hub.qgis.org/projects/**xytools/repository/revisions/** > a249004832f44334f9861483ff9d4d**a08bb91e81/entry/xytools.py<http://hub.qgis.org/projects/xytools/repository/revisions/a249004832f44334f9861483ff9d4da08bb91e81/entry/xytools.py> > > at line 334 > > Regards, > > Richard Duivenvoorde > > > > ______________________________**_________________ > Qgis-user mailing list > [email protected] > http://lists.osgeo.org/**mailman/listinfo/qgis-user<http://lists.osgeo.org/mailman/listinfo/qgis-user> >
_______________________________________________ Qgis-user mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-user
