Skip to content

maxspeed rendering when :forward and :backward have different values. #78

Description

@UncleOwen

https://openrailwaymap.org/?style=maxspeed&lat=53.639433463029626&lon=9.905867278575897&zoom=18

As far as I can tell, the current rules are something like that:

  • When maxspeed:forward and maxspeed:backward have different values, use maxspeed:forward for the coloring
    • When railway:preferred_direction=backward, use maxspeed:backward instead
  • In either case, label the track with maxspeed:forward (maxspeed:backward)

I like the first two rules. But could we please label the track with maxspeed:backward (maxspeed:forward) if railway:preferred_direction=backward to make things consistent?

In my example link above, I would expect the western track to be labeled "70 (80)" instead of "80 (70)"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions