Opened 11 years ago

Last modified 11 years ago

#10301 closed enhancement

extend display of maxspeed nodes [patch] — at Version 1

Reported by: Klumbumbus Owned by: team
Priority: normal Milestone: 14.08
Component: Internal mappaint style Version:
Keywords: maxspeed Cc:

Description (last modified by Klumbumbus)

Currently every node with maxspeed=* shows a maxspeed icon with a maxspeed of 60, which is far from optimal.
This patch changes it, so it shows the actual value.

  • The value is shown if the value of maxspeed is
    • only a number
    • a number followed by a whitespace and followed by
      • km/h
      • mph
      • knots
  • If maxspeed=none a new icon is shown
  • If maxspeed:variable is set or maxspeed=signals, the sign turns into black backgrund with white text, which then looks like a common LED sign.

All other cases should be tagging errors, therefore no sign is displayed.

Source of new icon (license:PD)

Screenshot:

Change History (4)

by Klumbumbus, 11 years ago

Attachment: maxspeed_none.svg added

by Klumbumbus, 11 years ago

Attachment: maxspeednodes.png added

comment:1 by Klumbumbus, 11 years ago

Description: modified (diff)

by Klumbumbus, 11 years ago

Attachment: maxspeednodes.diff added
Note: See TracTickets for help on using tickets.