2

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.

2 Answers 2

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

3
  • 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
    Commented Mar 30, 2023 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: ask.openrouteservice.org/t/…
    – Trikelians
    Commented Mar 30, 2023 at 11:04
  • 1
    Thanks. I will check out the batch process route; if it works, then it would be great!
    – BA247
    Commented Mar 31, 2023 at 12:39
0

You can install it via zip file for QGIS 2 using the answer from:

How do I install a plugin when I have the .zip file for it

2
  • 2
    The 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
    Commented Mar 29, 2023 at 9:23
  • Thanks, I will check it out.
    – BA247
    Commented Mar 30, 2023 at 10:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.