Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

When I try to start this algorithm I get an error:

Traceback (most recent call last): File "C:/Users/trdina/.qgis//python/plugins\sextante\core\GeoAlgorithm.py", line 145, in execute self.processAlgorithm(progress) File "C:/Users/trdina/.qgis//python/plugins\sextante\algs\ftools\SumLines.py", line 85, in processAlgorithm spatialIndex = utils.createSpatialIndex(lineLayer) File "C:/Users/trdina/.qgis//python/plugins\sextante\algs\ftools\FToolsUtils.py", line 32, in createSpatialIndex provider = layer.provider() AttributeError: 'QgsVectorLayer' object has no attribute 'provider'

I have no clue woh to solve this error. Any help is welcome. Best regards

share|improve this question
    
Should work in 1.8. Are you working with the current development version? –  underdark Feb 12 '13 at 10:57

1 Answer 1

Sounds like a bug coming from the recent QGIS Api changes. Consider posting a detailed bug-report here.
In the meantime try to use alternative tools like the Lines Properties function in SAGA (also accessible through sextante).

share|improve this answer
    
Thanks for your answer. I need sum of lines length in overlay polygon layer. So I think that SAGA - line properties doesn't solve the problem. –  Andrej Feb 12 '13 at 9:09
    
mmh and if you make a new attribute column called length and insert " $length " this will give you the length of all your lines. Now you simply have to sum them up. Alternatively join them first –  Curlew Feb 12 '13 at 9:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.