[Qgis-user] plugin help

chathura silva chathurait at gmail.com
Thu Jul 12 03:25:31 PDT 2012


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
<rdmailings at duif.net>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
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/**mailman/listinfo/qgis-user<http://lists.osgeo.org/mailman/listinfo/qgis-user>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120712/01e84311/attachment.html>


More information about the Qgis-user mailing list