knooppuntnet
knooppuntnet copied to clipboard
routes not members of the network are coloured differently according the zoom level
Exemple : Réseau du Grand Dole
"Orphaned" routes are members of the Réseau du Val d'Amour Route La Tanche - Sommière du Carabinier Route Sommière du Carabinier - o The second route is coloured in red at some zoom levels
- routes are hidden

- routes are coloured in green or red

- routes are coloured in grey

@pyrog I agree this behaviour is a bit inconsistent and can be confusing
But unfortunately, I think technically this cannot easily be changed.
For performance reasons, we use bitmap tiles at the lower zoom levels. Bitmap tiles remain relatively small and display very quickly even if there is a lot of information on it (many many nodes and routes).
At the lower zoom levels you will see the text "Zoom in for node or route details." in the sidebar on the left of the screen. Note that you also cannot click on any node or route.
At higher zoom levels we use vector based tiles. These allow for user interaction (can click on nodes and routes), and also allow application logic to determine the way the nodes and routes are displayed. In this case, the nodes and routes that do not belong to the network are shown in gray, while the other nodes and routes are green. The vector based tiles are relatively small, and display relatively quick, if they do not contain massive amounts of nodes and routes.
At the higher zoom levels the text "Zoom in for node or route details." in the sidebar changes is replaced by a kind of legend and help text.
I hope the above helps a bit to understand why things are the way they are. Maybe the point at which we switch from bitmap to vector could be changed 1 or 2 levels to improve the situation a bit, but the need for having bitmap tiles a the lowest zoom levels will remain I think. Using some kind of generalization technique for the vector based tiles to make them smaller and faster could perhaps also help, but that is not a quick-and-easy fix I think.
For performance reasons, we use bitmap tiles at the lower zoom levels. At the lower zoom levels you will see the text "Zoom in for node or route details." i
Thank you for the explanations 😄
To remove ambiguity, a legend can be displayed at low zoom levels? Or the colors could be the same for all zoom levels ?
Low zoom: some routes are red (fine for me)

High zoom: theses routes are all green Could display a red colour for objects that have facts ?
- Red for those who are part of the network
- Dark red for object who aren't ?
Re-opened:
- add legend at low zoom levels
- high zoom level:
- red color for objects within the network that have facts
- dark red (or pink? or?) for objects not in the network but with facts
- unchanged: green for objects within the network without facts
- unchanged: light grey for objects not in the network and without facts
- update legend