Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixing field name used for target field in ftools DistanceMatrix algo…
…rithm
  • Loading branch information
ccrook committed Aug 10, 2014
1 parent c3bd82a commit e9dac8e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -113,7 +113,7 @@ def linearMatrix(self, inLayer, inField, targetLayer, targetField,
index = vector.spatialindex(targetLayer)

inIdx = inLayer.fieldNameIndex(inField)
outIdx = targetLayer.fieldNameIndex(inField)
outIdx = targetLayer.fieldNameIndex(targetField)

outFeat = QgsFeature()
inGeom = QgsGeometry()
Expand Down

0 comments on commit e9dac8e

Please sign in to comment.