Skip to content

Commit

Permalink
Fixing field name used for target field in ftools DistanceMatrix algo…
Browse files Browse the repository at this point in the history
…rithm
  • Loading branch information
ccrook committed Aug 10, 2014
1 parent c3bd82a commit e9dac8e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
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.