Questions tagged [qgis-network-analysis]

For questions about network analysis using QGIS

Filter by
Sorted by
Tagged with
1 vote
0 answers
27 views

Route direction based on road width?

I have road polyline data that contains a road width field (in meters) and I want to visualize road direction, based on this road width field. The road direction that I mean is kind of like this: (...
user avatar
  • 21
0 votes
0 answers
16 views

Efficient QGIS batch network analysis Shortest Distance

I'm trying to run batch analysis on Shortest Distance (point-to-point) and I notice a single problem that makes the process inefficient: Seems like it creates Graph every time a process in the batch ...
user avatar
  • 612
0 votes
0 answers
109 views

Selection of best site for factory in QGIS

I am stuck trying to determine, where it would be preferable to locate one or more factories according to the data shown below. The criterias for the selection of the site(s) are: There must be 15 ...
user avatar
0 votes
1 answer
55 views

QNEAT3 Shortest Path works but OD Matrix doesn't

I have successfully created a shortest path layer using QNEAT3. When I try and use the OD Matrix from layers as lines (M:N) i get NULL values. My network layer is correct (as it works for shortest ...
user avatar
4 votes
1 answer
96 views

QGIS Network analysis: speed for walking time, considering ascent

I'm fairly new to QGIS and I'm doing a personal historical project on some network analysis for my local area. I've got my points and my road/path network, distance matrix, etc. However I can't help ...
user avatar
0 votes
0 answers
77 views

Any way to run network analysis (Closest Facility) on QGIS without creating a huge OD matrix?

I'm trying to run a closest facility analysis project on a Linux system computer, so far the available installed GIS software are QGIS and GRASS. I usually use ArcGIS so I'm not that familiar with ...
user avatar
  • 1
1 vote
0 answers
60 views

Concave Hull around Line Features

I am using QGIS 3.16.10. I know that the Concave Hull tool is normally used with points, but I've used it successfully with line features before (k-nearest neighbor only). I'm just trying to get ...
user avatar
1 vote
0 answers
16 views

How to remain or reconnect the attribute of the "from" and "to" point in network analysis

I am doing a network distance analysis from layer 1 to layer 2. I used GRASS/v.net.distance. I have one problem with the outcome is that I cannot link back the result with the original point layer. ...
user avatar
  • 79
6 votes
2 answers
258 views

QGIS Plugin for Shortest path with multiple Stops

I have been asked to find the shortest route from a particular start point to multiple properties along our shires road network. In QGIS I have tested the different network analysis tools and other ...
user avatar
  • 73
1 vote
0 answers
22 views

QGIS clipping OpenStreetMap but still being able to run functions such as ORS Tools on the layer [duplicate]

I have struggled to find a solution to be able to clip an OpenStreetMap (OSM) raster layer but still run functions using plugins such as ORS Tools. I would like to clip OSM with an overlaying vector ...
user avatar
2 votes
0 answers
67 views

Calculating driving time between two layers (patients & hospitals) using QGIS

I need to calculate the driving time (following US roads) from patient coordinates to hospital coordinates. In total, I have ~ 250,000 driving time to calculate. I previously used ArcGIS but now I ...
user avatar
  • 21
2 votes
0 answers
29 views

Setting restricted segments in network using QGIS

I am trying to set up a network with QGIS. When I set the direction field there are three options for the values in that field: Forward direction Backward direction Both directions but I need to set ...
user avatar
1 vote
0 answers
92 views

Network Analysis - Service Area Tool doesn't consider all lines?

using the Service Area Tool from the Network Analysis (Toolbox) gives strange results. As you can see on the screenshot the calculated blue service area (network: streets; start points: points; path ...
user avatar
  • 11
0 votes
1 answer
105 views

Iterate the shortest path point to layer

I have two layers. First layer defines the starting points and the second defines the end points. I just want to iterate the same algorithm "point to layer" by considering all the points of the first ...
user avatar
2 votes
0 answers
53 views

Shortest path analysis has unattainable vertices in result from PyQGIS

You can try this code directly in the console. It basically finds the shortest path but I only have unattainable vertices in the result. Do you know how I can correct this? My layer consists of ...
user avatar
1 vote
0 answers
121 views

Creating distance radius along line network from point [duplicate]

In QGIS I'm trying to create a 1/4 mile radius (1,320 ft) around a point. I could obviously use buffer, which shows 'as the crow flies' - but I would like this along with the road network (in green). ...
user avatar
  • 11
1 vote
0 answers
80 views

Keeping ids and attributes of source features when creating QgsGraph?

I followed the example in QGIS documentation for Network Analysis library to create a graph from a vector layer. When building the graph, the features of the line layer are added as arcs (edges) to ...
user avatar
  • 11
1 vote
1 answer
2k views

QGIS 3 - shortest path routing for multiple pairs of origins and destinations over a road network [closed]

I'm trying to map routes from an O-D survey with about 450,000 individual trips with different start and end points defined by lat, long. I want to estimate total VMT for the area by extrapolating ...
user avatar
4 votes
1 answer
528 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 ...
user avatar
  • 109
4 votes
1 answer
2k 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.
user avatar
1 vote
1 answer
316 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 ...
user avatar
3 votes
1 answer
228 views

K-shortest path between two points in QGIS

I am new to QGIS. I have a road network layer in QGIS. I can compute the shortest path between the two points over the road network layer via the Network Analysis toolbox in QGIS. I am interested in ...
user avatar
1 vote
0 answers
672 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 ...
user avatar
0 votes
1 answer
264 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....
user avatar
  • 1
3 votes
0 answers
103 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/...
user avatar
3 votes
0 answers
69 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 ...
user avatar
3 votes
1 answer
561 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 ...
user avatar
  • 359
3 votes
1 answer
264 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 = ...
user avatar
2 votes
1 answer
395 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 ...
user avatar
  • 155
2 votes
1 answer
817 views

Unable to open topology file for vector map, grass 7, v.net

I am introducing myself to Qgis using the FOSS4Glabs : https://github.com/FOSS4GAcademy/GST102FOSS4GLabs/tree/master/Module%206%20Lab/QGIS%202.2 I am facing a problem during the module 6 Lab of ...
user avatar
12 votes
2 answers
1k views

Computing areas of influence using QGIS

I am trying to create a polygon layer showing polygons that correspond to a closest store. For a set of 30 store locations, the result should be a polygon layer with 30 features, one for each store. ...
user avatar
  • 782
3 votes
2 answers
927 views

Fixed distance between two contours in QGIS

Is there a possibility in QGIS 2.14.1 Essen, when you select a contour line and give a fixed length of line, this line connects automatically to the next contour lines? I have two other questions on ...
user avatar
  • 2,197