Random_selection_within_subsets.txt

log of Random Selection Within Subsets tool - Dénes Szalontai, 2018-07-03 03:52 PM

Download (883 Bytes)

 
1
Processing algorithm?
2
Algorithm 'Random selection within subsets' starting?
3
Input parameters:
4
{ 'FIELD' : 'ROADSEGMENTID', 'INPUT' : 'file:///C:/Users/dsz/Documents/LogicalDBs/sl/NA/_out/NA_sl.out?type=csv&delimiter=;%7C&xField=X&yField=Y&crs=EPSG:4326&spatialIndex=no&subsetIndex=no&watchFile=no', 'METHOD' : 0, 'NUMBER' : 10 }
5

    
6
Traceback (most recent call last):
7
File "C:/PROGRA~1/QGIS3~1.2/apps/qgis/./python/plugins\processing\algs\qgis\RandomSelectionWithinSubsets.py", line 141, in processAlgorithm
8
selran.extend(random.sample(subset, selValue))
9
File "C:\PROGRA~1\QGIS3~1.2\apps\Python36\lib\random.py", line 317, in sample
10
raise ValueError("Sample larger than population or is negative")
11
ValueError: Sample larger than population or is negative
12

    
13
Execution failed after 30.53 seconds
14

    
15
Loading resulting layers
16
Algorithm 'Random selection within subsets' finished