Author Topic: New HB showroute implementation  (Read 31334 times)

0 Members and 2 Guests are viewing this topic.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:November 11, 2024, 12:50:03 pm
  • I like C++
Re: New HB showroute implementation
« Reply #30 on: June 25, 2020, 12:19:08 pm »
Was looking over the comments in Web#407.
What I would prefer:
• Center when clicking on waypoint table entries
• Do not center when clicking on waypoint markers on the map.

The current behavior makes opening an intersecting/concurrent route in a separate tab less usable, as the center lat/long will be different.
« Last Edit: June 25, 2020, 12:27:39 pm by yakra »
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Yesterday at 10:17:44 pm
Re: New HB showroute implementation
« Reply #31 on: June 26, 2020, 01:14:24 pm »
Was looking over the comments in Web#407.
What I would prefer:
• Center when clicking on waypoint table entries
• Do not center when clicking on waypoint markers on the map.

The current behavior makes opening an intersecting/concurrent route in a separate tab less usable, as the center lat/long will be different.

I think before I make any further changes related to https://github.com/TravelMapping/Web/issues/407 I'd like to get a better sense of what more people see as the preferred functionality.  I think am far enough removed from having been a highway data manager that I am not noticing when small differences that seem inconsequential to me cause problems for those using these tools in plotting and updating highway data.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4849
  • Last Login:Yesterday at 11:21:09 am
Re: New HB showroute implementation
« Reply #32 on: June 26, 2020, 01:16:53 pm »
I fully agree with @yakra:
• Center when clicking on waypoint table entries
• Do not center when clicking on waypoint markers on the map.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Yesterday at 10:17:44 pm
Re: New HB showroute implementation
« Reply #33 on: June 26, 2020, 01:18:31 pm »
• Do not center when clicking on waypoint markers on the map.

Does this mean don't move the map at all, because that will likely be more tricky since opening the popup might move the map even if we don't ask it to move.
« Last Edit: June 26, 2020, 02:39:02 pm by Jim »

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4849
  • Last Login:Yesterday at 11:21:09 am
Re: New HB showroute implementation
« Reply #34 on: June 26, 2020, 01:35:29 pm »
I know that opening the popup can move the map. That's fine to me.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:November 11, 2024, 12:50:03 pm
  • I like C++
Re: New HB showroute implementation
« Reply #35 on: June 27, 2020, 11:04:26 am »
The previous behavior is fine. These cases are rare and minimal enough that I can live with them.
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:November 11, 2024, 12:50:03 pm
  • I like C++
Re: New HB showroute implementation
« Reply #36 on: June 27, 2020, 11:09:33 am »
https://travelmapping.net/hb/?units=miles&u=yakra&r=nb.nb772 redirects to showroute.php.
https://travelmapping.net/hb/?units=miles&u=yakra&r=nb.nb772&lat=45.024233&lon=-66.938363&zoom=19 does not:
Quote
Fatal error: Uncaught Error: Function name must be a string in /home/www/tm/hb/index.php:251 Stack trace: #0 {main} thrown in /home/www/tm/hb/index.php on line 251
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline neroute2

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1141
  • Last Login:Today at 04:16:10 am
Re: New HB showroute implementation
« Reply #37 on: July 01, 2020, 11:23:58 pm »
So from https://travelmapping.net/hb/showroute.php?r=fl.fl002 how do I find the other segment of the route (2Oke)?

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:November 11, 2024, 12:50:03 pm
  • I like C++
Re: New HB showroute implementation
« Reply #38 on: July 02, 2020, 12:00:25 am »
Click on Florida State Highways (usafl), top-left, above the tables & shield, then look for it in the results? :(
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline neroute2

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1141
  • Last Login:Today at 04:16:10 am
Re: New HB showroute implementation
« Reply #39 on: July 02, 2020, 12:17:37 am »
Meh. It used to be possible to find related routes without getting the full list.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:November 11, 2024, 12:50:03 pm
  • I like C++
Re: New HB showroute implementation
« Reply #40 on: July 02, 2020, 01:10:00 am »
Yup. I'm not suggesting the solution I posted is the best solution.
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4849
  • Last Login:Yesterday at 11:21:09 am
Re: New HB showroute implementation
« Reply #41 on: July 02, 2020, 01:20:24 am »
Meh. It used to be possible to find related routes without getting the full list.

You used to get a full list of other sh.... Sure, all FL2 routes are in Florida and the result was accidentally what you expected. But have a try with routes like A1.

Related discussion, I think you are with oscar: https://forum.travelmapping.net/index.php?topic=3700

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4422
  • Last Login:November 11, 2024, 12:50:03 pm
  • I like C++
Re: New HB showroute implementation
« Reply #42 on: July 02, 2020, 03:22:11 am »
You used to get a full list of other sh.... Sure, all FL2 routes are in Florida and the result was accidentally what you expected. But have a try with routes like A1.
The way around that would have been to put a sys= filter into the link, as was temporarily done in the links from system.php:
https://travelmapping.net/user/mapview.php?rte=A1&sys=deua
...But we never did that for the Related Routes links, and now, for better or worse, the feature is gone.
I wouldn't mind having it back, and it seems others (oscar? neroute2?) might like it as well.
Sri Syadasti Syadavaktavya Syadasti Syannasti Syadasti Cavaktavyasca Syadasti Syannasti Syadavatavyasca Syadasti Syannasti Syadavaktavyasca

Offline si404

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2067
  • Last Login:Today at 07:06:38 am
Re: New HB showroute implementation
« Reply #43 on: July 02, 2020, 09:56:13 am »
The way around that would have been to put a sys= filter into the link, as was temporarily done in the links from system.php:
https://travelmapping.net/user/mapview.php?rte=A1&sys=deua
...But we never did that for the Related Routes links, and now, for better or worse, the feature is gone.
That doesn't deal with:
1) bannered routes being related routes - a system filter is too narrow.
2) Jim's main gripe that duplicate numbers (eg I-88) are not related routes - a system filter is too broad.

It's a misdiagnose of the problem to just whack a system filter on it. Hence my thread to try and get a consensus on what the feature is there for in order to get it restored in a productive way.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2856
  • Last Login:Yesterday at 10:17:44 pm
Re: New HB showroute implementation
« Reply #44 on: July 02, 2020, 11:46:43 am »
Up on tmtest I have a version of showroute that includes a dropdown menu that lists the same routes we used to get in mapview when following the "Related Routes" link.  I hope this serves the need while we sort out what related routes are and whether information will be added to the DB to give more meaningful results.

If this seems useful to anyone, I'll put it up on the main server.