Index: python/plugins/fTools/tools/doPointDistance.py =================================================================== --- python/plugins/fTools/tools/doPointDistance.py (revision 13425) +++ python/plugins/fTools/tools/doPointDistance.py (working copy) @@ -239,14 +239,14 @@ outGeom = outFeat.geometry() dist = distArea.measureLine(inGeom.asPoint(), outGeom.asPoint()) if dist > 0: - if matType == "Linear": writer.writerow([unicode(inID), unicode(outID), float(dist)]) + if matType == "Linear": writer.writerow([unicode(inID), unicode(outID), str(dist)]) else: distList.append(float(dist)) if matType == "Summary": mean = sum(distList) / len(distList) for i in distList: vari = vari + ((i - mean)*(i - mean)) vari = sqrt(vari / len(distList)) - writer.writerow([unicode(inID), float(mean), float(vari), float(min(distList)), float(max(distList))]) + writer.writerow([unicode(inID), str(mean), str(vari), str(min(distList)), str(max(distList))]) start = start + add progressBar.setValue(start) del writer