Hi
I’m trying to generate an matrix but I can’t run the command, I always get an error like:
“Traceback (most recent call last):
File “C:/Users/Ricardo/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\ORStools\proc\matrix_proc.py”, line 197, in processAlgorithm
destination_field = source.fields().field(destination_field_id)
KeyError: ‘-1’”
I was able to run the algorithm using the same points using direction from points.
nils
March 14, 2019, 6:59am
2
Hi,
oops, I’ll create an issue and amend. It’s really just a typo, but it makes it unusable for now if you specify a destination layer different from the source layer.
Sorry for that.
opened 06:59AM - 14 Mar 19 UTC
closed 07:17AM - 14 Mar 19 UTC
bug
Results in:
```
destination_field = source.fields().field(destination_field_… id)
KeyError: ‘-1’”
```
Cheers
Nils
nils
March 14, 2019, 7:26am
3
Fixed and uploaded to the plugin repo. Should be available within the day.
This was quick, thank you. I’ll wait for the new version
nils
March 18, 2019, 10:24am
5
Oh, it’s approved since a few days. You should be able to upgrade right now, v1.0.2
.