[Qgis-developer] FreeEditing plugin
Ivan Mincik
ivan.mincik at gista.sk
Tue Sep 14 07:09:38 EDT 2010
On 09/14/2010 11:29 AM, Paolo Cavallini wrote:
> Hi all.
> we're using the very nice FH plugin, and we encountered the following
> issues:
>
> - when clicking (a single click) on the canvas, with simplification
> parameter>0, we get an error:
>
> Traceback (most recent call last):
> File "/home/paolo/.qgis/python/plugins/freehandEditing/freehandediting.py",
> line 152, in createFeature
> s = g.simplify(tolerance)
> AttributeError: 'NoneType' object has no attribute 'simplify'
Yes, this will happen because it will try to create polygon feature from
one point geometry. We should catch such features and do nothing on them.
- if simplify is>0.2, no polygon is drawn
There is a problem with QGIS simplify function, which is creating empty
features in case when you draw feature vertexes very near to each other.
Maybe there is some problem with decimal numbers.
Try to zoom out and You can use simplify > 1.0.
-- Ivan Mincik, Gista s.r.o.
More information about the Qgis-developer
mailing list