2. Добавляем слой poi-osm и пытаемся построить матрицу расстояний (STANDART или LINEAR) от средней точки admin до поля CATEGORY poi-osm.
Получаем ошибку:
Код: Выделить всё
An error has occured while executing Python code:
Traceback (most recent call last):
File "C:\OSGeo4W\apps\qgis-dev\python\plugins\fTools\tools\doPointDistance.py", line 105, in accept
self.compute(point1, point2, field1, field2, outPath, matType, nearest, self.progressBar)
File "C:\OSGeo4W\apps\qgis-dev\python\plugins\fTools\tools\doPointDistance.py", line 150, in compute
self.linearMatrix(writer, provider1, provider2, index1, index2, nearest, distArea, matType, sindex, progressBar)
File "C:\OSGeo4W\apps\qgis-dev\python\plugins\fTools\tools\doPointDistance.py", line 204, in linearMatrix
if matType == "Linear": writer.writerow([unicode(inID), unicode(outID), float(dist)])
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-14: ordinal not in range(128)
Python version:
2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)]