Closed FranklinJS closed 5 years ago
Hi, I could not reproduce the error with my installation. Could you provide your network dataset for testing?
I am getting a similar error:
Algorithm 'OD Matrix from Layers as Table (m:n)' starting… Input parameters: { 'DEFAULT_DIRECTION' : 2, 'DEFAULT_SPEED' : 5, 'DIRECTION_FIELD' : None, 'FROM_ID_FIELD' : 'centroid_row', 'FROM_POINT_LAYER' : 'D:\tempwork\TESTS\test_polygon_centroids.TAB', 'INPUT' : 'D:\tempwork\TESTS\roads_nztm_ni.TAB', 'OUTPUT' : 'D:/tempwork/TESTS/output.tab', 'SPEED_FIELD' : None, 'STRATEGY' : 0, 'TOLERANCE' : 0, 'TO_ID_FIELD' : 'row', 'TO_POINT_LAYER' : 'D:\tempwork\TESTS\Test_Destinations_ManWang.TAB', 'VALUE_BACKWARD' : '', 'VALUE_BOTH' : '', 'VALUE_FORWARD' : '' } [QNEAT3Algorithm] This is a QNEAT3 Algorithm: 'OD Matrix from Layers as Table (m:n)' [QNEAT3Algorithm] Building Graph... [QNEAT3Network][__init__] Setting up parameters [QNEAT3Network][__init__] Setting up network direction parameters [QNEAT3Network][__init__] Setting up analysis points [QNEAT3Network][__init__] Setting analysis strategy: 0 [QNEAT3Network][__init__] Start tying analysis points to the graph and building it. [QNEAT3Network][__init__] This is a compute intensive task and may take some time depending on network size [QNEAT3Network][__init__] Start Time: :2018-12-06 16:35:35 [QNEAT3Network][__init__] Building... Traceback (most recent call last): File "C:/Users/ross/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QNEAT3\algs\OdMatrixFromLayersAsTable.py", line 220, in processAlgorithm net = Qneat3Network(network, merged_coords, strategy, directionFieldName, forwardValue, backwardValue, bothValue, defaultDirection, analysisCrs, speedFieldName, defaultSpeed, tolerance, feedback) File "C:/Users/ross/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\QNEAT3\Qneat3Framework.py", line 127, in __init__ self.list_tiedPoints = self.director.makeGraph(self.builder, self.list_input_points, self.feedback) Exception: unknown Execution failed after 73.04 seconds
Tested on QGIS 3.2.0 which worked before October, now produces the above error using the inputs which previously worked. Tested on QGIS 3.4.2 which also produces the above error.
The only cause I can think of is I installed the Windows 10 version 1809 in October. I will try on another computer still running Windows 10 version 1803. [Update: Also fails on QGIS 3.2.0 on Windows 10 version 1803].
Have discovered that the error I'm getting is related to the number of nodes in my network layer. I have had success by 'thinning' a smaller network layer. Will now try to thin the large network layer that I need to use.
I am getting the same error - how can I run QNEAT3 with large complex networks?
Trying run the shortest path algorithm results: