Author Topic: system colors for tourist routes  (Read 1387 times)

0 Members and 3 Guests are viewing this topic.

Offline SSOWorld

  • Sr. Member
  • ****
  • Posts: 254
  • Last Login:February 20, 2025, 07:25:13 pm
system colors for tourist routes
« on: February 16, 2025, 08:33:22 am »
Is it possible to select different colors for the systems that are not numbered highways (like we do with usasf, usaif, usausb, usaib, etc. for USA? Here, the ones suggested to be a different color would be:

usanp (national park routes - say a green hue)
usaush (historic routes)
usatr (Tourist routes - yes I know it's disabled)

Right now, they're all brown, which mishmashes them with the state route system, which makes for a complete cluster of brown lines that aren't so sensible. 

This can be applied, if not already, to other systems elsewhere too.

GitHub issue https://github.com/TravelMapping/Web/issues/813
Completed:
* Systems: DC, WI
* by US State: AK: I; AZ: I; AR: I; DE: I; DC: I, US, DC; HI: I; IL: I; IN: I*; IA: I, KS: I; MD: I, MA: I, MI: I; MN: I; MO: I; NE: I; NJ, I; ND: I; OH: I; OK: I; PA: I; RI: I; SD: I; WA: I; WV: I; WI: I,US,WI;

*Previously completed

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2886
  • Last Login:Today at 08:04:11 am
Re: system colors for tourist routes
« Reply #1 on: February 16, 2025, 08:51:21 am »
Adding and changing default colors is not hard, but getting some consensus about those changes might be.  I'd be happy to put code on the tmtest or tmdevel versions of the site so people could take a look at some proposed changes without the messy URLs needed to specify color overrides.

I would definitely support usanp and usaush and eventually usatr having colors distinct from what we use for US state highway systems.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4997
  • Last Login:Yesterday at 01:50:21 pm
Re: system colors for tourist routes
« Reply #2 on: February 16, 2025, 09:48:33 am »
Is it possible to select different colors for the systems that are not numbered highways (like we do with usasf, usaif, usausb, usaib, etc. for USA?

Do you want users to be able to change them back and forth in the frontend, or do you simply want different colors per default?
The latter can be done without coding. We'd just had to agree on colors and change them in systems.csv.

Offline SSOWorld

  • Sr. Member
  • ****
  • Posts: 254
  • Last Login:February 20, 2025, 07:25:13 pm
Re: system colors for tourist routes
« Reply #3 on: February 17, 2025, 04:56:57 am »
If someone [i[wants[/i] the option to it can be considered, but as you hinted, it's extra work and I don't have a preference either way. However, I feel the defaults should be changed.
Completed:
* Systems: DC, WI
* by US State: AK: I; AZ: I; AR: I; DE: I; DC: I, US, DC; HI: I; IL: I; IN: I*; IA: I, KS: I; MD: I, MA: I, MI: I; MN: I; MO: I; NE: I; NJ, I; ND: I; OH: I; OK: I; PA: I; RI: I; SD: I; WA: I; WV: I; WI: I,US,WI;

*Previously completed

Offline si404

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2105
  • Last Login:Today at 04:53:08 am
Re: system colors for tourist routes
« Reply #4 on: February 17, 2025, 06:04:24 am »
As the person who selected brown for all these, I agree.

However it's the state highway systems that should be changing colours as these routes are mostly signed with brown shields and brown signs. Globally, brown is the colour of tourist signs and the US is no different.

When I first suggested it, however, others didn't want to change the state highway colour, despite brown just being a random colour for them.

Offline SSOWorld

  • Sr. Member
  • ****
  • Posts: 254
  • Last Login:February 20, 2025, 07:25:13 pm
Re: system colors for tourist routes
« Reply #5 on: February 17, 2025, 08:23:05 pm »
Oh I can see this becoming a mess 💩
Completed:
* Systems: DC, WI
* by US State: AK: I; AZ: I; AR: I; DE: I; DC: I, US, DC; HI: I; IL: I; IN: I*; IA: I, KS: I; MD: I, MA: I, MI: I; MN: I; MO: I; NE: I; NJ, I; ND: I; OH: I; OK: I; PA: I; RI: I; SD: I; WA: I; WV: I; WI: I,US,WI;

*Previously completed

Offline osu-lsu

  • Full Member
  • ***
  • Posts: 171
  • Last Login:Yesterday at 09:15:44 pm
Re: system colors for tourist routes
« Reply #6 on: February 17, 2025, 08:45:16 pm »
Oh I can see this becoming a mess 💩

Be careful what you wish for. You just might get it.  ;D :o

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2886
  • Last Login:Today at 08:04:11 am
Re: system colors for tourist routes
« Reply #7 on: February 17, 2025, 10:03:41 pm »
A quick switch up on the tmtest.teresco.org server: replace all USA state highway systems with a bit darker version of TMgreen, and swith usaib to TMlightsalmon.

Offline vdeane

  • Sr. Member
  • ****
  • Posts: 443
  • Gender: Female
  • Last Login:Yesterday at 10:10:21 pm
    • New York State Roads
Re: system colors for tourist routes
« Reply #8 on: February 17, 2025, 10:38:04 pm »
I certainly like that shade of green better than TMgreen and wouldn't mind seeing usaib and the E routes switch to that, though I'm not sure about that color scheme overall.  The thing with lightsalmon is that it's not exactly easy to see, which is the hard thing with replacing brown for the state route color; it's hard to find something that's both easy to see and isn't obnoxious.  Clinched lightsalmon and unclinched red look particularly close, which is particlarly notable if you look at my map of NJ rendered as if it was not in North America.

(this is where I wish we had spoiler tags, but here's the hint if you didn't notice it: I've clinched NJ 55, but who can tell with those colors?)

The easiest way to sidestep this would be to do usanp, usanyp, usaush, and usatr as that darker green even though it would be inconsistent with the rest of the world.  Parks and scenic byways are already often colored such on maps, so it's not a stretch for them, though it would be weird for usaush.

Is there a list of already defined colors available somewhere so we can experiment?  I could have sworn there was but I don't remember where.
Please note: All comments here represent my own personal opinion and do not reflect the official position of NYSDOT or its affiliates.

Offline si404

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2105
  • Last Login:Today at 04:53:08 am
Re: system colors for tourist routes
« Reply #9 on: February 18, 2025, 04:20:30 am »
The easiest way to sidestep this would be to do usanp, usanyp, usaush, and usatr as that darker green even though it would be inconsistent with the rest of the world.
It's not so much inconsistency with other countries that's my issue with dark green for US tourist routes, but the inconsistency with the real world.

I like the dark green, and - while I think it works for state highways perfectly fine (the problem with the TMTest colour scheme is usaib), I'd be OK with it on tourist routes if I lose the 'battle for the brown'. Especially if it is common mapping to show stuff with green.


Light Salmon was meant to be a lighter alternative to red, which is rather bright and so not great for dense systems (see here) - it doesn't go with red well because it's just a toned down version of it.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2886
  • Last Login:Today at 08:04:11 am
Re: system colors for tourist routes
« Reply #10 on: February 18, 2025, 06:57:00 am »
The thing with lightsalmon is that it's not exactly easy to see

I agree, I just picked it as a placeholder so it wasn't the same color as the state routes.

Quote
Is there a list of already defined colors available somewhere so we can experiment?  I could have sworn there was but I don't remember where.

Starting here: https://github.com/TravelMapping/Web/blob/684294e851d41e915709e689e0f64b4640ea4f12/lib/tmjsfuncs.js#L113

Actually, I would like to keep usaib for the same reason as wanting to keep the parks/historic as brown: that's what color they are.  But with state highways being so prominent on maps, I also want a color that's not too obnoxious.  I feel like a purple or orange would be.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 4997
  • Last Login:Yesterday at 01:50:21 pm
Re: system colors for tourist routes
« Reply #11 on: February 18, 2025, 12:57:59 pm »
Is there a list of already defined colors available somewhere so we can experiment?  I could have sworn there was but I don't remember where.

Starting here: https://github.com/TravelMapping/Web/blob/684294e851d41e915709e689e0f64b4640ea4f12/lib/tmjsfuncs.js#L113

You can play with the url:

I think the unhighlighted salmon color is too light

That's the current color: https://travelmapping.net/user/mapview.php?rg=jpn&colors=jpnh:rgb(224,162,162):rgb(240,150,115)
Feel free to change the rgb settings by editing the url (first = unclinched, second = clinched). Once you have good settings, you can suggest it for discussion here.

Actually, I would like to keep usaib for the same reason as wanting to keep the parks/historic as brown: that's what color they are.  But with state highways being so prominent on maps, I also want a color that's not too obnoxious.  I feel like a purple or orange would be.

We use TMyellow in Europe.

I think that Europe is quite good with: Tier 1: TMblue (freeways) - Tier 2: TMteal (expressways/express roads) - Tier 3: TMgreen (international E roads) - Tier 4: TMlightsalmon (national roads) - Tier 5: TMyellow (state roads)/TMbrown (tourist routes)

If I got it right, North America is: Tier 1: TMblue - Tier 2: TMgreen/TMred - Tier 3: TMteal/TMmagenta - Tier 4: TMbrown - Tier 5: TMyellow
Maybe the mixed tier 2 + tier 3 systems cause the issue?

Offline vdeane

  • Sr. Member
  • ****
  • Posts: 443
  • Gender: Female
  • Last Login:Yesterday at 10:10:21 pm
    • New York State Roads
Please note: All comments here represent my own personal opinion and do not reflect the official position of NYSDOT or its affiliates.

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 2886
  • Last Login:Today at 08:04:11 am
Re: system colors for tourist routes
« Reply #13 on: February 18, 2025, 03:11:11 pm »
I like that purple color.  It isn't too bright and contrasts with map background tiles better than the green.

Offline vdeane

  • Sr. Member
  • ****
  • Posts: 443
  • Gender: Female
  • Last Login:Yesterday at 10:10:21 pm
    • New York State Roads
Re: system colors for tourist routes
« Reply #14 on: February 18, 2025, 09:34:14 pm »
I like that purple color.  It isn't too bright and contrasts with map background tiles better than the green.
I do like the green you were testing better than the really bright one that's used for usaib now; maybe that could shift too?

For a while it felt like both the purple and the gray were less visible than the current brown, but loading one of my links cold, I think most of that is just my eyes being trained to look for brown and not being used to the other colors (which would explain why it seemed like every possible color was like that).  We've had the current colors for so long (and everything except tier 3 in North America has been the same even longer thanks to CHM) that any change is going to be a lot to get used to.
Please note: All comments here represent my own personal opinion and do not reflect the official position of NYSDOT or its affiliates.