Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Invers stats #38

Closed
michihdeu opened this issue Jan 27, 2016 · 2 comments
Closed

Feature: Invers stats #38

michihdeu opened this issue Jan 27, 2016 · 2 comments
Labels
enhancement Mapview Userpages user/{index.php,region.php,system.php,topstats.php}

Comments

@michihdeu
Copy link
Contributor

I thought about how to figure out which sections of a system or region I have not yet traveled.

I can sort the stats table by % but I miss a "Not clinched mileage" column to see which are the longest routes I've not traveled.

In addition, how can I highlight the not yet traveled sections on the map?

It's possible by adding color parameters to the url (red = traveled, white = not traveled)
http://tm.teresco.org/hbtest/mapview.php?sys=luxa&u=michih&colors=tier1:rgb(255,255,255):rgb(255,69,0)

and inverting them (white = traveled, red = not traveled):
http://tm.teresco.org/hbtest/mapview.php?sys=luxa&u=michih&colors=tier1:rgb%28255,69,0%29:rgb%28255,255,255%29

But it's all handmade. I thought about a "simple" automatic solution.

I think an "Invers" button on the stats page could automatically replace the "Clinched Mileage" column by a "Not Clinched mileage" column and caluclate the % this way. Opening a map, the color parameters could be added and the color values could be inverted.

I think it has not an high priority but maybe the feature could be helpful.

@michihdeu michihdeu changed the title Invers stats Feature: Invers stats Mar 28, 2016
@ssoworld
Copy link

ssoworld commented Jul 4, 2016

w.r.t. traveled vs not traveled colors, keep in mind that semi-transparent color represent sections not yet traveled. One can take the difference of traveled miles and total miles for the stats in web scripting in the not yet added feature though. I suspect this may be a bit overboard though.

@jteresco jteresco added enhancement Userpages user/{index.php,region.php,system.php,topstats.php} labels Jul 7, 2018
@michihdeu
Copy link
Contributor Author

It is now possible to highlight untraveled segments on mapview 😄
It is now possible to show topstats filtered by region and system 😄

Everything addressed, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Mapview Userpages user/{index.php,region.php,system.php,topstats.php}
Projects
None yet
Development

No branches or pull requests

3 participants