Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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\", line 145, in execute self.processAlgorithm(progress) File "C:/Users/trdina/.qgis//python/plugins\sextante\algs\ftools\", line 85, in processAlgorithm spatialIndex = utils.createSpatialIndex(lineLayer) File "C:/Users/trdina/.qgis//python/plugins\sextante\algs\ftools\", 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

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


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.