I would like to use the TSP plugin in QGIS. In my current version of QGIS 3.30, it shows an error saying that this plugin was developed for versions 2.14 - 2.99. I tried several versions (e.g., 2.14, 2.16, 2.8.9, etc.) but in each of these, I can't find TSP. Also, there is no option for loading the plugin via a zip file.
Asked
Active
Viewed 336 times
2 Answers
2
I'd recommend you to stick to ORS Tools plugin, as it supports, amongst other tools and functions, TravellingSalesmanProblem: https://github.com/GIScience/orstools-qgis-plugin
Trikelians
- 576
- 4
- 21
-
Thanks. I already use ORS Tools; it's quite good for isochrones. However, TSP in it is cumbersome, as to the best of my knowledge, the input is manually by clicking the points. I believe TSP Plugin accepts the point layer as input, wherein we can select the first/last points. – BA247 Mar 30 '23 at 10:46
-
I don't exactly remember the names, but -although I agree it is a bit misleading- it is possible to input automatically the points by using the Batch Processing; I'd have to check though exactly the procedure. There's more literature about it on their Community Forum, as in here, for example: https://ask.openrouteservice.org/t/how-to-specify-start-and-end-points-for-directions/2865 – Trikelians Mar 30 '23 at 11:04
-
1Thanks. I will check out the batch process route; if it works, then it would be great! – BA247 Mar 31 '23 at 12:39
0
You can install it via zip file for QGIS 2 using the answer from:
HeikkiVesanto
- 16,433
- 2
- 46
- 68
-
2The plugin uses Google Maps API or OpenRouteService API to obtain distances and geometry of routes and you need to install the Python library ortools for Python 2.x ( QGIS 2) – gene Mar 29 '23 at 09:23
-