GIScience / orstools-qgis-plugin

Plugin for QGIS with a set of tools to use openrouteservice API´s, based on openstreetmap
https://plugins.qgis.org/plugins/ORStools/
MIT License
95 stars 31 forks source link

IndexError: list index out of range #11

Closed sonka93 closed 7 years ago

sonka93 commented 7 years ago

Hallo, I've got my own API. When I am doing accessibility areas there appear an error:

2017-05-19T13:11:00 1 Traceback (most recent call last): File "C:/Users/Sonia/.qgis2/python/plugins\OSMtools\osm_tools_access.py", line 243, in pointAnalysis self.dissolveFields(layer_out, fields_diss) File "C:/Users/Sonia/.qgis2/python/plugins\OSMtools\osm_tools_access.py", line 308, in dissolveFields layer_dissolved = QgsMapLayerRegistry.instance().mapLayersByName("Dissolved")[-1] IndexError: list index out of range

What does it mean? Despite this, accessibility areas are on the map.

hoge6b01 commented 7 years ago

Hello, there was an ongoing discussion about exactly the same error. Look here https://github.com/nilsnolde/ORStools/issues/8

sonka93 commented 7 years ago

That's true, sorry ;)