Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [qgis-networkanalysis]

relates to QGIS module `qgis.networkanalysis`, described here https://docs.qgis.org/2.18/en/docs/pyqgis_developer_cookbook/network_analysis.html

2
votes
0answers
31 views

Dijkstra/Finding shortest path gives back a tree with only -1 in it

So I'm trying to implement a routing algorithm in my QGIS 3 plugin that I'm writing using Python. I think I could resolve all the problems concerning the break between QGIS 2 and 3, but my resulting ...
1
vote
1answer
75 views

Seeking Vehicle Routing Problem and Location-Allocation Tool in QGIS?

I was wondering if there was a tool in QGIS that is similar to ArcGIS Network Analyst's Vehicle Routing Problem and Location-Allocation tools? I could not find any info about this in the internet.
1
vote
1answer
52 views

Distance vs cost in QGIS network analysis

I'd like to calculate shortest route and distance in QGIS 3.2. In the past I have used the v.net.iso, v.net.distance and v.net.path tools. However, I've noticed that there is no distance parameter ...
-1
votes
0answers
110 views

Solving location/allocation problem (find location) in QGIS

I want to solve a “location/allocation problem” using QGIS (I know there is a specific tool for this on ArcGis, but the software price goes beyond our budget). Objective: to find the best location ...
1
vote
0answers
65 views

Shortest route batch calculation in QGIS 3.2.2 with v.net.path GRASS GUI

I have three shapefiles: road network, postcodes and destinations. I`d like to calculate the shortest route between the postcodes and destinations (multiple points in each layer) Could anyone ...
0
votes
1answer
50 views

Line network integration analysis in QGIS

I want to analyse how integrated a line (e.g. road, stream) is within a network. I want to perform the "integration" type of analysis identified by Javadi (not the connectivity or choice analysis) i.e....
1
vote
0answers
22 views

Improve performance of QgsVectorLayerDirector.makeGraph() in PyQGIS 3

Porting a plugin that makes excessive use of PyQGIS networking capabilities I had to realize, that building the graph (makeGraph() method of class QgsVectorLayerDirector) in PyQGIS 3 (https://qgis.org/...
2
votes
0answers
26 views

Use vector layer attributes as edge properties of a QgsGraphArc with PyQGIS

With PyQGIS 2.18 I created a QgsGraph as describe in the PyQGIS developer cookbook, Release 2.18, ch. 21.2, pp. 95-97. In the cookbook it says "Vector layer attributes and length of an edge can be ...
1
vote
1answer
157 views

Turning QGIS Network Analysis' service area point results into polygons or paths?

After using the Service area tool in QGS 3.0.1, I'm left with a point layer with each feature representing the furthest one can reach on the network given the parameters (max minutes or meters). How ...
2
votes
1answer
129 views

QGIS network analysis, points on graph cannot be reached

Using QGIS 2.18.14, I try something around with qgis.networkanalysis module as described here: https://docs.qgis.org/2.18/en/docs/pyqgis_developer_cookbook/network_analysis.html director = ...
2
votes
1answer
153 views

How can I insert the result of the dijkstra algorithm as a feature in a table with PyQGIS?

I ask for your help with the PyQGIS API. Being a new user of GIS I would like to carry out an operation. It is for me to look for the shortest path in a graph using the DIJKSTRA algorithm. The code ...