{"action":"opened","issue":{"url":"https://api.github.com/repos/jagodki/Offline-MapMatching/issues/8","repository_url":"https://api.github.com/repos/jagodki/Offline-MapMatching","labels_url":"https://api.github.com/repos/jagodki/Offline-MapMatching/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/jagodki/Offline-MapMatching/issues/8/comments","events_url":"https://api.github.com/repos/jagodki/Offline-MapMatching/issues/8/events","html_url":"https://github.com/jagodki/Offline-MapMatching/issues/8","id":366008259,"node_id":"MDU6SXNzdWUzNjYwMDgyNTk=","number":8,"title":"AttributeError: 'QgsRasterLayer' object has no attribute 'wkbType'","user":{"login":"anitagraser","id":590385,"node_id":"MDQ6VXNlcjU5MDM4NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/590385?v=4","gravatar_id":"","url":"https://api.github.com/users/anitagraser","html_url":"https://github.com/anitagraser","followers_url":"https://api.github.com/users/anitagraser/followers","following_url":"https://api.github.com/users/anitagraser/following{/other_user}","gists_url":"https://api.github.com/users/anitagraser/gists{/gist_id}","starred_url":"https://api.github.com/users/anitagraser/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anitagraser/subscriptions","organizations_url":"https://api.github.com/users/anitagraser/orgs","repos_url":"https://api.github.com/users/anitagraser/repos","events_url":"https://api.github.com/users/anitagraser/events{/privacy}","received_events_url":"https://api.github.com/users/anitagraser/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-02T17:46:55Z","updated_at":"2018-10-02T17:46:55Z","closed_at":null,"author_association":"NONE","body":"If the project contains a raster layer, the following error pops up. The raster layer has to be removed to use the plugin. \r\n\r\n`2018-10-02T19:44:52     WARNING    Traceback (most recent call last):\r\n              File \"C:/Users/anita/AppData/Roaming/QGIS/QGIS3\\profiles\\default/python/plugins\\Offline-MapMatching\\offline_map_matching.py\", line 225, in run\r\n              self.populateComboBox('network')\r\n              File \"C:/Users/anita/AppData/Roaming/QGIS/QGIS3\\profiles\\default/python/plugins\\Offline-MapMatching\\offline_map_matching.py\", line 250, in populateComboBox\r\n              self.map_matcher.fillLayerComboBox(self.iface, self.dlg.comboBox_network, 'LINESTRING')\r\n              File \"C:/Users/anita/AppData/Roaming/QGIS/QGIS3\\profiles\\default/python/plugins\\Offline-MapMatching\\mm\\map_matcher.py\", line 157, in fillLayerComboBox\r\n              if (QgsWkbTypes.flatType(layer.wkbType()) == QgsWkbTypes.Point and geom_type == 'POINT') or (QgsWkbTypes.flatType(layer.wkbType()) == QgsWkbTypes.LineString and geom_type == 'LINESTRING'):\r\n             AttributeError: 'QgsRasterLayer' object has no attribute 'wkbType'`"}}
{"actor":{"display_login":"anitagraser"}}