Input point layer Error


#1

Hi, when I try to generate isochrones using a point layer with any number of points, I get an error

/QGIS/QGIS3\profiles\default/python/plugins\ORStools\proc\isochrones_proc.py", line 215, in processAlgorithm
id_field = source.fields().field(id_field_id)
KeyError: ‘-1’

I don’t have the issue if I select a point from the canvas map. I cannot figure out how to fix the issue.


#2

Hey,

You’re already the second one with that question and it’s not even online for a day… Ibhave to fix that.

Actually you just have to specify an ID field from the dropdown in the Processing GUI. That’s it.

Still, let me know if it’s works pls!

Cheers
Nils


#3

It’s fixed in https://github.com/nilsnolde/orstools-qgis-plugin. Should be online in the plugin repo within the day.


#4

Thanks Nils, choosing an ID fixed it.