Author Topic: HB: traveler mileage and percent  (Read 425 times)

0 Members and 1 Guest are viewing this topic.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 899
  • Gender: Male
  • Last Login:Yesterday at 02:40:05 pm
Re: HB: traveler mileage and percent
« Reply #15 on: December 21, 2017, 04:14:02 pm »
I wrote this earlier today but removed it again because I thought it's just nitpicking :)

I don't like the dark pink/red tone of the left column but the rest is fine to me (because the right color is usually not clinched by 100% of the users). I think the color should be similar to the "traveled" color of the graph on the map to have a "visual link". If OSM is the default map I don't see any other color looking better on the map...

Again, I only don't like the dark pink/red in the table... Maybe we can just make the 100% color a little bit brighter? Not sure but I think the graph color is similar to the 70+% color in the table. Maybe this should make it?

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 936
  • Last Login:Yesterday at 11:11:27 pm
Re: HB: traveler mileage and percent
« Reply #16 on: December 21, 2017, 04:19:42 pm »
I wrote this earlier today but removed it again because I thought it's just nitpicking :)
Again, I only don't like the dark pink/red in the table... Maybe we can just make the 100% color a little bit brighter? Not sure but I think the graph color is similar to the 70+% color in the table. Maybe this should make it?

I agree.  On tmtest it's now the same as about 70% in the left column for clinched.  Looks pretty close to the map color.

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 899
  • Gender: Male
  • Last Login:Yesterday at 02:40:05 pm

Offline Duke87

  • TM Collaborator
  • Jr. Member
  • *****
  • Posts: 95
  • Last Login:January 21, 2018, 10:58:48 pm
Re: HB: traveler mileage and percent
« Reply #18 on: December 21, 2017, 06:33:25 pm »
I did like the CHM scheme but then blue is my favorite color so I'm biased.

An obvious alternative, given the subject matter here, would be to use the ROYG range of the spectrum for fading. Something like

(EDIT: ok this works better as an image)


Colors I used are #800000, #a02000, #c04000, #e06000, #ff8000, #ffaa00, #ffd400, #ffff00, #c0e000, #80c000, #40a000, #008000
« Last Edit: December 21, 2017, 06:43:53 pm by Duke87 »

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 899
  • Gender: Male
  • Last Login:Yesterday at 02:40:05 pm
Re: HB: traveler mileage and percent
« Reply #19 on: December 22, 2017, 03:15:59 am »
I like it as-is now.

Offline rickmastfan67

  • TM Collaborator (A)
  • Sr. Member
  • *****
  • Posts: 445
  • Gender: Male
  • Last Login:Today at 06:05:12 am
Re: HB: traveler mileage and percent
« Reply #20 on: December 24, 2017, 05:10:53 am »
How about adding some way for people to know which points they have marked as the start/end in their list files?

Case in point: http://tm.teresco.org/hb/?units=miles&u=rickmastfan67&r=wv.wv020
I have it traveled between US-60 & WV-39.  While all the labels between 'US60_E' & 'OdeTownRd' are colored, the 'WV39_W' point is not.  Maybe at least add a different color for that 'last' point showing that you have it clinched to it at least?  The way it looks now makes you think you only have it clinched to 'OdeTownRd' instead.  Maybe try coloring the 'WV39_W' style point as 'yellow'?

Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 899
  • Gender: Male
  • Last Login:Yesterday at 02:40:05 pm
Re: HB: traveler mileage and percent
« Reply #21 on: December 24, 2017, 09:13:50 am »
The problem is that we mix two things. Waypoints and segments between two waypoints...

Offline yakra

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 1120
  • Last Login:Today at 04:05:07 am
Re: HB: traveler mileage and percent
« Reply #22 on: December 24, 2017, 01:14:03 pm »
I like michih's same-color-as-the-previous-line idea upthread

Offline Eth

  • Newbie
  • *
  • Posts: 10
  • Last Login:January 19, 2018, 04:33:21 pm
Re: HB: traveler mileage and percent
« Reply #23 on: December 24, 2017, 03:47:41 pm »
The problem is that we mix two things. Waypoints and segments between two waypoints...

What if the segments in the table were offset so that they actually did appear as being between the points? Something like this, maybe?


Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 936
  • Last Login:Yesterday at 11:11:27 pm
Re: HB: traveler mileage and percent
« Reply #24 on: December 24, 2017, 09:46:24 pm »
The problem is that we mix two things. Waypoints and segments between two waypoints...

What if the segments in the table were offset so that they actually did appear as being between the points? Something like this, maybe?



My thought from upthread is almost this.  Just a matter of figuring out how to get an HTML table to do that.  I haven't looked into it at all yet.  Maybe there's an easy way.

Edit: a quick search suggests that something like this might be better accomplished without a table at all.  The harder part is the highlighting of waypoint labels, since I'd want them also to be highlighted or not based on segments not waypoints.

Further edit note to self: think about 2 tables one column each and shift the segment one down half a cell height.  For the traveler highlighting of waypoints on the left, check out the background-image CSS with a gradient.
« Last Edit: December 24, 2017, 10:07:27 pm by Jim »

Offline Jim

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 936
  • Last Login:Yesterday at 11:11:27 pm
Re: HB: traveler mileage and percent
« Reply #25 on: December 24, 2017, 10:52:46 pm »
Not too bad.  Here's a quick proof of concept:

http://tm.teresco.org/tabletest.html

Of course, I'd match the TM style if there's some agreement that this would be an improvement.  There are two options - interested to hear which people like better and if this kind of change it worthwhile at all.


Offline michih

  • TM Collaborator
  • Hero Member
  • *****
  • Posts: 899
  • Gender: Male
  • Last Login:Yesterday at 02:40:05 pm
Re: HB: traveler mileage and percent
« Reply #26 on: December 25, 2017, 02:43:38 am »
I think option 2 looks a little bit better than option 1 but I'm not sure if works with any kind of browser or graphics card!?
Option 2 looks more "modern"...

Offline Eth

  • Newbie
  • *
  • Posts: 10
  • Last Login:January 19, 2018, 04:33:21 pm
Re: HB: traveler mileage and percent
« Reply #27 on: December 25, 2017, 12:47:29 pm »
I think option 2 looks a little bit better than option 1 but I'm not sure if works with any kind of browser or graphics card!?

From what I can tell, it should be fine unless you're still on IE9 or an older phone (iOS 6 or older, Android Jelly Bean or older).

Offline mapcat

  • TM Collaborator
  • Sr. Member
  • *****
  • Posts: 486
  • Last Login:January 21, 2018, 07:49:50 pm
Re: HB: traveler mileage and percent
« Reply #28 on: December 25, 2017, 03:31:30 pm »
I think option 1 would make it easier to spot missing single segments.
Clinched:

Offline vdeane

  • Newbie
  • *
  • Posts: 48
  • Gender: Female
  • Last Login:January 20, 2018, 06:56:58 pm
    • New York State Roads
Re: HB: traveler mileage and percent
« Reply #29 on: December 25, 2017, 05:34:31 pm »
I prefer option 2.  It's hard to read the point labels on option 1.
Please note: All comments here represent my own personal opinion and do not reflect the official position of NYSDOT or its affiliates.