[Qgis-user] Geometry buffer tool

Bernd Vogelgesang bernd.vogelgesang at gmx.de
Wed May 29 22:48:14 PDT 2019


As your errors refer to the Digitzing Tools plugin, try deactivating
this first. Maybe there is a bug.

Cheers

Bernd

Am 30.05.19 um 04:45 schrieb Tony Shepherd (FarmMaps NZ):
>
> Hi All
>
> Does anybody have issues with the Geometry Buffer Tool failing if used
> more than once in a QGis session?
>
> What I am doing is that I have a polygon representing an area to be
> planted in trees.  I have a stream running through the area and cant
> plant within 10m of the stream, so I am digitising the stream,
> creating a 10m buffer and using that to cut an area out of my existing
> planting polygon.  The first time it works a treat and then if I reuse
> the tool it fails.  Only way around is to restart QGIS and then it
> works fine the first time, but fails if used again.
>
> QGIS 3.6.3
>
> Using as follows:
>
> ·create a few lines.
>
> ·Use the buffer tool to create a region based on parameters and as a
> result, it creates a temporary layer called “Buffered”.
>
> ·Use that buffer to erase some area from an existing polygon.
>
> ·Close the layer “Buffered” as I no longer need it.
>
> ·Digitise some other lines and repeat the process.
>
> ·Now I get an error, so if I completely close QGIS, restart QGIS it
> works, but only once. If I go to try the same process a second time it
> fails, but again restart fixes it.
>
> The error is as follows:
>
> Traceback (most recent call last):
>   File
> "C:\Users\Tony\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools\tools\dtcutter.py",
> line 43, in process
>     dlg = DtChooseCutterLayer(self.iface,
> self.isPolygonLayer(passiveLayer), self.lastChoice)
>   File
> "C:\Users\Tony\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools\dtDialog.py",
> line 77, in __init__
>     self.initialize()
>   File
> "C:\Users\Tony\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\DigitizingTools\dtDialog.py",
> line 87, in initialize
>     if self.cutterLayer.id() == valueArray[0]:
> RuntimeError: wrapped C/C++ object of type QgsVectorLayer has been deleted
>
> Cheers
>
> Tony
>
> *Tony Shepherd**|*GeoSpatial / Mapping Manager
>
> Ph 027 435 6193 *|*  E tony at farmmaps.nz
>
> FarmMaps NZ, 3 Kerwood Place, Gore 9740
>
> FM_logo1_small (Custom)
>
> **
>
> ** <http://tonyshepherd8.wixsite.com/home>**
> <https://www.wunderground.com/personal-weather-station/dashboard?ID=ISTLGORE2>**
>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190530/09310e3e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.jpg
Type: image/jpeg
Size: 3063 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190530/09310e3e/attachment-0001.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 2467 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190530/09310e3e/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image004.png
Type: image/png
Size: 2510 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20190530/09310e3e/attachment-0003.png>


More information about the Qgis-user mailing list