[Gfoss] fTools - generate point layer from geometry errors

Luca Sigfrido Percich sigfrido a tiscali.it
Mar 6 Set 2011 15:12:58 CEST


Hi Carson,

as you know, using the "Check Geometry Validity" of the QGIS fTools
plugin, the user is presented a Dialog with the list of error messages
and corresponding coordinates.

When clicking on an error description which does not contain a
coordinate pair, the following exception is being raised:

Traceback (most recent call last):
  File "/home/sigfrido/.qgis/python/plugins/fTools/tools/doValidate.py",
line 97, in zoomToError
    x = item.data(Qt.UserRole).toPyObject().x()
AttributeError: 'NoneType' object has no attribute 'x'

(fTools 0.5.10, QGIS 1.70, Ubuntu 10.04 LTS 64 bit)


Me and other users of the GFOSS.it mailing list think that it would be
nice having the option to export the error messages into a new shapefile
or load them directly in a new layer as points with an error description
text column; actually we can only copy them to the clipboard, paste into
a text file, process with AWK or similar RE filter, and load the
resulting XY file with the "Add delimited Text plugin"

Thank you for your work and your kind attention

All the best

Sig


_____________
PRIVACY
Le informazioni contenute in questo messaggio sono riservate e confidenziali. Il loro utilizzo e' consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora Lei non fosse la persona a cui il presente messaggio è destinato, La invitiamo ad eliminarlo dal Suo Sistema e a distruggere le varie copie o stampe, dandone gentilmente comunicazione all’indirizzo mail del mittente. Ogni utilizzo improprio e' contrario ai principi del D.lgs 196/03 e alla legislazione europea (Direttiva 2002/58/CE).

PRIVACY
Le informazioni contenute in questo messaggio sono riservate e confidenziali. Il loro utilizzo e' consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora Lei non fosse la persona a cui il presente messaggio è destinato, La invitiamo ad eliminarlo dal Suo Sistema e a distruggere le varie copie o stampe, dandone gentilmente comunicazione all’indirizzo mail del mittente. Ogni utilizzo improprio e' contrario ai principi del D.lgs 196/03 e alla legislazione europea (Direttiva 2002/58/CE).


Maggiori informazioni sulla lista Gfoss