Skip to content
Open

QT6 #81

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions Qneat3Framework.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,14 @@ def __init__(self,

#init direction fields
self.feedback.pushInfo("[QNEAT3Network][__init__] Setting up network direction parameters")
self.directedAnalysis = self.setNetworkDirection((input_directionFieldName, input_forwardValue, input_backwardValue, input_bothValue, input_defaultDirection))
defaut_direction = QgsVectorLayerDirector.Direction( input_defaultDirection)
#self.directedAnalysis = self.setNetworkDirection((input_directionFieldName, input_forwardValue, input_backwardValue, input_bothValue, input_defaultDirection))
self.director = QgsVectorLayerDirector(input_network,
getFieldIndexFromQgsProcessingFeatureSource(input_network, input_directionFieldName),
input_forwardValue,
input_backwardValue,
input_bothValue,
input_defaultDirection)
defaut_direction)

#init analysis points
self.feedback.pushInfo("[QNEAT3Network][__init__] Setting up analysis points")
Expand Down Expand Up @@ -133,6 +134,7 @@ def __init__(self,


def setNetworkDirection(self, directionArgs):
self.feedback.pushInfo("[QNEAT3Network][_Set Direction_] {} nombres de vide {}".format( directionArgs, directionArgs.count("")))
if directionArgs.count("") == 0:
self.directedAnalysis = True
self.directionFieldId, self.input_forwardValue, self.input_backwardValue, self.input_bothValue, self.input_defaultDirection = directionArgs
Expand Down
7 changes: 4 additions & 3 deletions metadata.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
[general]
name=QNEAT3
qgisMinimumVersion=3.00
qgisMaximumVersion=3.99
qgisMaximumVersion=4.0
description=QNEAT3 - QGIS Network Analysis Toolbox 3
about=The QNEAT3 (short for Qgis Network Analysis Toolbox 3) Plugin aims to provide sophisticated QGIS Processing-Toolbox algorithms in the field of network analysis. QNEAT3 is integrated in the QGIS3 Processing Framework. It offers algorithms that range from simple shortest path solving to more complex tasks like Iso-Area (aka service areas, accessibility polygons) and OD-Matrix (Origin-Destination-Matrix) computation. The usage of some Iso-Area algorithms require the installation of the matplotlib python library from OSGeo4W (see algorithm and help page for more information).
version=1.0.8
version=1.0.9
supportsQt6=True
author=Clemens Raffler
email=clemens.raffler@gmail.com

Expand Down Expand Up @@ -46,7 +47,7 @@ changelog=1.0.0:
- Fix issue #73: Fix QgsTinInterpolator.TinInterpolation.Linear enum
1.0.8:
- Fix issue #77: Fix wrong unpacking of dijkstra() return values.

1.0.9 : QT6 support
# tags are comma separated with spaces allowed
tags= network analysis, graph analysis, od matrix, distance matrix, od matrices, OD, isochrone areas, catchment areas, shortest path, dijkstra

Expand Down