2. 1 точка, unstratified sampling
3. OK, ошибка:
Код: Выделить всё
An error has occured while executing Python code:
Traceback (most recent call last):
File "c:\OSGeo4w\apps\qgis-dev\python\plugins\fTools\tools\doRandPoints.py", line 123, in accept
self.randomize(inLayer, outPath, minimum, design, value, self.progressBar)
File "c:\OSGeo4w\apps\qgis-dev\python\plugins\fTools\tools\doRandPoints.py", line 209, in randomize
else: bound = self.createSinglePolygon(inLayer, progressBar)
File "c:\OSGeo4w\apps\qgis-dev\python\plugins\fTools\tools\doRandPoints.py", line 142, in createSinglePolygon
allAttrs = provider.attributeIndexes()
AttributeError: 'NoneType' object has no attribute 'attributeIndexes'
Python version:
2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]
Python path: ['c:/OSGeo4w/apps/qgis-dev/./python', 'C:/Documents and Settings/DUBININ/.qgis//python', 'C:/Documents and Settings/DUBININ/.qgis//python/plugins', 'c:/OSGeo4w/apps/qgis-dev/./python/plugins', 'c:\\OSGeo4w\\apps\\gdal-16\\pymod', 'C:\\', 'C:\\WINDOWS\\system32\\python25.zip', 'c:\\OSGeo4w\\apps\\Python25\\DLLs', 'c:\\OSGeo4w\\apps\\Python25\\lib', 'c:\\OSGeo4w\\apps\\Python25\\lib\\plat-win', 'c:\\OSGeo4w\\apps\\Python25\\lib\\lib-tk', 'c:\\OSGeo4w\\apps\\qgis-dev\\bin', 'c:\\OSGeo4w\\apps\\Python25', 'c:\\OSGeo4w\\apps\\Python25\\lib\\site-packages', 'c:\\OSGeo4w\\apps\\Python25\\lib\\site-packages\\win32', 'c:\\OSGeo4w\\apps\\Python25\\lib\\site-packages\\win32\\lib', 'c:\\OSGeo4w\\apps\\Python25\\lib\\site-packages\\Pythonwin', 'c:\\OSGeo4w\\apps\\Python25\\lib\\site-packages\\wx-2.8-msw-unicode', 'c:\\OSGeo4w\\apps\\qgis-dev\\python\\plugins\\fTools\\tools', 'C:\\Documents and Settings\\DUBININ\\.qgis\\python\\plugins\\GdalTools\\tools', 'C:\\Documents and Settings\\DUBININ\\.qgis\\python\\plugins\\GdalTools', 'C:/My documents/\xd0\x9c\xd0\xb0\xd0\xba\xd1\x81\xd0\xb8\xd0\xbc/Gis-Lab/articles-projects/geosample']