Bug report #20490

Updated by Anita Graser over 5 years ago

Funny thing is: *only affects CSV*

Tested _reproducing the problem_ after saving the CSV layer as SHP, but IDW interpolation works in that case.

*execution log:*

<pre>
Processing algorithm…
Algorithm 'IDW interpolation' starting…
Input parameters:
{ 'COLUMNS' : 300, 'DISTANCE_COEFFICIENT' : 2, 'EXTENT' : '9.542884826660156,10.186458587646484,46.965576171875,47.59194564819336 [EPSG:4326]', 'INTERPOLATION_DATA' : 'file:///<my_project_path>/agg_affected_pers_routes.csv?type=csv&delimiter=;&detectTypes=yes&xField=lon&yField=lat&crs=EPSG:4326&spatialIndex=yes&subsetIndex=yes&watchFile=yes::~::0::~::6::~::0', 'OUTPUT' : '/tmp/processing_b6f09f2abeaf4b11a95d8689ad19c8a5/4612b00cb2de419795cc13b4fed27182/OUTPUT.tif', 'ROWS' : 300 }

Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/algs/qgis/IdwInterpolation.py", line 156, in processAlgorithm
data.valueSource = int(v[1])
IndexError: list index out of range

Execution failed after 0.02 seconds

Loading resulting layers
Algorithm 'IDW interpolation' finished
</pre>

Back