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

Edge color by permission code panel does not work properly #5852

Open
ZoltanBaksa opened this issue Jul 25, 2019 · 1 comment

Comments

@ZoltanBaksa
Copy link

commented Jul 25, 2019

It is not deterministic how the written permission code is used, because if I write the value of a bit combination, it is not colouring the streets accordingly. I have highway.secondary type edges with 5 lanes, where I set the 2 rightmost lanes to be used by bus only. At the 3 other lanes I removed bus, to avoid unexpected usage by bus. If I set a permission code for this last type the colour of edge stays the original, as the bus were there.
I would except, if I give the two following bit codes 51641855 and 51642367, I would become two different colours, but through the input panel I'm not able to set this. If I save the view setting in an XML file, I'm able to change the values, but after re-loading it, the expected result is not seen.
Furthermore the input box shows the written permission code in E-notation form (5.08559E+07) which hides the exact value (50855935) so I'm not able to check my setting.
I would suggest to change this panel to be able to set the different permission codes by setting it similarly as the allow/disallow box.
It is also a problem to change the values directly by typing, because they each input box is connected to the previous level. If I have 32 number at the first input box and I want to write 256 to the second box, the entry will change the first number to 2. This kind of update should not happen.
If I push the 'Recalibrate rainbow' button, the current function creates 7 colours with 7 thresholds with evenly set distances. I would expect such a function, that checks the network for the current permission combinations, and tries to set as many colours as many combination currently exists.

@namdre

This comment has been minimized.

Copy link
Contributor

commented Aug 5, 2019

setting distinct colors for the above codes (or saving the new rainbow colors) and then loading them produces the expected color difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.