jhackshaw / tspvis

🗺️ Visualize and control algorithms for the traveling salesman problem
https://tspvis.com
MIT License
428 stars 55 forks source link

Import GPS coordinates #8

Open SunsetOrange opened 2 years ago

SunsetOrange commented 2 years ago

This tool is brilliant! It is almost exactly the software I have been looking for. An offline, road unaware, traveling salesman solver. The only problem I have is it’s missing the ability to import GPS coordinates and export the solved route.

Is there any chance you could add a import window for comma separated GPS nodes ([name,lat,long]), that overrides the default map points; and an output option?

jhackshaw commented 2 years ago

Thanks for your feedback! That certainly seems doable.

You're already able to draw the points manually with the pointer button under the points menu. Supporting a csv import should be fairly straightforward.

I'm happy to accept PRs, otherwise I'll take a look when I have time.

Thanks again.

SunsetOrange commented 2 years ago

I did try to make the manual points work for me, but eyeballing them was too inaccurate and no output. I also tried to hack in a quick fix by straight up replacing the defualt coordinates in the files with my own. However, after a few hours of effort I was still unable to get the site working on my PC, so I decided to ask here.

irfantsp commented 1 year ago

I want to solve for some coordinates about 31 coordinates.but i am unable how to solve it.

If any one know plz informm me irfan_398@live.com