Author Topic: NC: US276 signed north-south  (Read 352 times)

0 Members and 1 Guest are viewing this topic.

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2851
  • Last Login:Yesterday at 09:32:01 pm
NC: US276 signed north-south
« on: June 06, 2020, 10:26:31 pm »
Checked around GMSV in several places. All of them had NC US276 signed as north-south.

Offline mapmikey

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 579
  • Last Login:Today at 06:32:35 am
    • Co-curator Virginia Highways Project
Re: NC: US276 signed north-south
« Reply #1 on: July 25, 2020, 04:07:37 pm »
order flipped and in the queue

Offline oscar

  • TM Collaborator
  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1066
  • Last Login:Today at 06:23:31 am
    • Hot Springs and Highways pages
Re: NC: US276 signed north-south
« Reply #2 on: July 26, 2020, 02:30:33 pm »
Updated route is in the HB. But the old NC/SC point label should've been kept and hidden as an alternate label for SC/NC, to avoid breaking list files (my own included).

Offline mapmikey

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 579
  • Last Login:Today at 06:32:35 am
    • Co-curator Virginia Highways Project
Re: NC: US276 signed north-south
« Reply #3 on: July 26, 2020, 07:27:30 pm »
So the HB is able to use that even though the points are in the reverse order?

So my list file is this based on the original order:

NC US276 I-40 NC/SC

If i had the alternate label in there, my file listing would still work?

Offline oscar

  • TM Collaborator
  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1066
  • Last Login:Today at 06:23:31 am
    • Hot Springs and Highways pages
Re: NC: US276 signed north-south
« Reply #4 on: July 26, 2020, 08:28:53 pm »
^ Your list file is broken too, per your error log:

Quote
Waypoint label NC/SC not found in line: NC US276 I-40 NC/SC

The list file parser doesn't care about the order of your waypoints in a list file line, but it does care when a line includes a waypoint label that doesn't exactly match any label in the HB. To the parser, "NC/SC" doesn't match "SC/NC".

Your list file would work fine if you just changed "NC/SC" to "SC/NC". But your file and other users' would work if your route file replaced "SC/NC" with "SC/NC +NC/SC", which lets the parser know that both labels refer to the same waypoint.

More broadly, for active systems we avoid if at all possible changing labels in use (check the "points in use" log), without keeping and hiding the old labels. There are situations where breakage is unavoidable (which should be reported in the Updates table), but this isn't one of them.
« Last Edit: July 26, 2020, 08:39:51 pm by oscar »

Offline mapmikey

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 579
  • Last Login:Today at 06:32:35 am
    • Co-curator Virginia Highways Project
Re: NC: US276 signed north-south
« Reply #5 on: August 25, 2020, 05:17:11 pm »
added the alt name in