AW: [Qgis-developer] python geoprocessing trouble
Düster Horst
Horst.Duester at bd.so.ch
Mon May 26 02:17:42 EDT 2008
Paolo
>makeDifference
> if fet.geometry().wkbSize() > 0:
>AttributeError: 'NoneType' object has no attribute 'wkbSize'
Please send the data you tried to process to me. Which type of data you
are work with? Shape, PostGIS, GML .... Does the error arises at all
geoporcessing methods?
Sometimes the mentioned error occours when the input data are non valid
or GEOS produces non valid geometries during the geoprocessing process.
The best for me is to test with the origonal data.
Regards
Horst
------------------------------------------------
Dr. Horst Düster
GIS-Koordinator, Stv. Amtschef
Kanton Solothurn
Bau- und Justizdepartement
Amt für Geoinformation
SO!GIS Koordination
Rötistrasse 4
CH-4501 Solothurn
Telefon ++41(0)32 627 25 32
Telefax ++41(0)32 627 22 14
mailto:horst.duester at bd.so.ch
http://www.agi.so.ch
-----Ursprüngliche Nachricht-----
Von: Paolo Cavallini [mailto:cavallini at faunalia.it]
Gesendet am: Sonntag, 25. Mai 2008 20:29
An: qgis-user; qgis-developer
Betreff: [Qgis-developer] python geoprocessing trouble
Hi all.
I'm doing a short course on QGIS+GRASS in Portugal, and we're
encountering some problems [1] on win (let alone the nightmare of
installing additional py packages, and having py25 from qgis recognize
it).
Additionally, when running manageR, loading layers into R results in
[2].
Anyone has encountered these problems?
All the best.
pc
==============
[1]An error has occured while executing Python code:problem?
Traceback (most recent call last):
File "C:/Documents and Settings/António
Mira/.qgis//python/plugins\Geoprocessing\geoprocessing.py", line 243, in
geoprocessing
self.difference(myLayerA, myLayerB, myPath, myBool)
File "C:/Documents and Settings/António
Mira/.qgis//python/plugins\Geoprocessing\geoprocessing.py", line 422, in
difference
diffResult = self.makeDifference(vlayerA, vlayerB)
File "C:/Documents and Settings/António
Mira/.qgis//python/plugins\Geoprocessing\geoprocessing.py", line 927, in
makeDifference
if fet.geometry().wkbSize() > 0:
AttributeError: 'NoneType' object has no attribute 'wkbSize'
==============
[2]An error has occured while executing Python code:
Traceback (most recent call last):
File "/home_slides/.qgis//python/plugins/manageR/domanageR.py", line
347, in load
self.commandList.append(expression)
TypeError: 'module' object is not callable
_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20080526/5c0c0fc5/attachment.html
More information about the Qgis-developer
mailing list