We sometimes move wps by exactly 0.000001° to break concurrencies but the route is still intersecting. Is it possible to include these routes?
I'd argue that those should not be included, since the concurrencies were intentionally broken. If there's an intersection, then maybe those should be lined up and concurrencies should be broken with a shaping point instead.
If I click on the intersecting route, the HB is loaded as usual. Is it possible to center the map with the last waypoint and zoom in with the same zoom level and with the same map style which was selected before? That means, I would see exactly the same map but just the highlighted route is changed. I could directly proceed browsing at the point I left the previous route.
Sounds like a nice idea. We should note it as a GitHub issue as a feature request for the future.
Edit: Shields are outdated on tmtest only. Maybe you could update it to avoid strange behavior and minimize annoying "bug" reports[/color]
I've updated them now, but don't do it regularly on tmtest since it makes the code update take about 10x longer than it does when I omit shields.
More strange things:
1. Open http://tmtest.teresco.org/hb/?units=km&u=terescoj&r=bel.e17
2. Click on the last "BEL/FRA" wp, info window displays "waypoint 4" which is wrong
3. The next wp windows display 3 - 4 - 3 - 3 -3 - 2 -2 - 3 --> wrong
Fixed this. Lesson: be careful blindly using i as a loop index variable. It might be already used for something else.
7. Click on "FRA E17" --> wp table is loaded correct but the route is not loaded on the map!
The problem here comes up because the City fields are in double quotes. Any idea why? That breaks my new JS code.
Just a note you might ignore right now but I'd like to say that some countries have intersecting routes which are not directly connected, especially countries with tolled motorways like France or Spain. There are often trumpet interchanges. The waypoints are off by more than just 0.000001°. I don't think that the intersecting feature could cover this use-case. For that reason, my Open Highway Browser for specific routes from the map feature is still as important as before.
For now, we'll stick with exactly intersecting only. Related to this is an idea I've been kicking around for years now, mostly because of my academic use of the data, to have a non-clinchable "system" to indicate these kinds of things. They'd become part of my graphs, but would not be displayed for TM. But.. points connected in these cases could be exactly what you want here.
Thanks for all the testing and feedback.