forked from OpenRailwayMap/OpenRailwayMap-CartoCSS
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show multiple types of signals on same node (#189)
Part of #187 Part of #141 --- unsolved problems: - ~UI should know which types of signals exist~ - ~hover for icons does not work with `text-field` with `format` structure~ - ~if `text-field` is not used, stacking of signals somehow has to be done manually (take width/height into account)~ - ~with `text-field`, either all text overlaps (because icons can overlap), or labels have to be put into separate layer (text labels are optional)~ - ~define ordering of importance of signals~ ~Current state: main and distant signals combined~ --- Changes: - Merge the all railway signal features into a single file - Update the `signals_with_azimuth` table to contain a column per type of feature - The signal views get the responsibility of filtering signals and ordering them in relative priority - Show deactivated signals for speed and electrification layers ![image](https://github.com/user-attachments/assets/11f5a433-f6c1-4e64-b90f-33f78544d322) At most 5 signals on one pole can be combined. (Oberhausen, Germany, http://localhost:8000/#view=16.77/51.474918/6.851609&style=signals) ![image](https://github.com/user-attachments/assets/77b187f2-794a-4015-a2ef-537527efce31)
- Loading branch information
Showing
14 changed files
with
2,301 additions
and
2,218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.