[Qgis-developer] FW: [Processing] Cannot validate geometry

Casper Børgesen (CABO) CABO at NIRAS.DK
Mon Aug 29 05:39:46 PDT 2016


Ahh forgot to mention which QGIS I am using, it is Master (d3882d5) on Windows 7 x64.


Hi,

I am trying to validate a few geometry layers using "Processing/QGIS geoalgorithms/Vector geometry tools/Check validity" and it immediately fails each time I try with the following message.

    -2147483645 See log for more details

The processing log contains the following:

    Uncaught error while executing algorithm
    Traceback (most recent call last):
    File "C:/OSGEO4~1/apps/qgis-dev/./python/plugins\processing\core\GeoAlgorithm.py", line 203, in execute
    self.processAlgorithm(progress)
    File "C:/OSGEO4~1/apps/qgis-dev/./python/plugins\processing\algs\qgis\CheckValidity.py", line 93, in
    processAlgorithm
    self.doCheck(progress)
    File "C:/OSGEO4~1/apps/qgis-dev/./python/plugins\processing\algs\qgis\CheckValidity.py", line 109, in doCheck
    layer.crs())
    File "C:/OSGEO4~1/apps/qgis-dev/./python/plugins\processing\core\outputs.py", line 326, in getVectorWriter
    crs, options)
    File "C:/OSGEO4~1/apps/qgis-dev/./python/plugins\processing\tools\vector.py", line 556, in __init__
    uri = GEOM_TYPE_MAP[geometryType] + "?uuid=" + unicode(uuid.uuid4())
    KeyError: -2147483645

Is this a known problem?

Regards, Casper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160829/0ac66ddc/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00001.txt
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160829/0ac66ddc/attachment-0001.txt>


More information about the Qgis-developer mailing list