Changes between Initial Version and Version 1 of Ticket #22915


Ignore:
Timestamp:
2023-05-01T16:35:27+02:00 (3 years ago)
Author:
midgard
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22915 – Description

    initial v1  
    1 Currently frequency=* is validated against ^(0|[1-9][0-9]*(\.[0-9]+)?)( (kHz|MHz|GHz|THz))?$ (in resources/data/validator/numeric.mapcss). Semi-colon separated lists are also valid, for power lines with multiple circuits at different frequencies. This is common when power lines for the railways are piggy-backing on transmission power lines, e.g. at https://www.openstreetmap.org/way/208904880.
     1Currently frequency=* is validated against this regex in resources/data/validator/numeric.mapcss:
     2
     3{{{
     4^(0|[1-9][0-9]*(\.[0-9]+)?)( (kHz|MHz|GHz|THz))?$
     5}}}
     6
     7Semi-colon separated lists should also be recognized as valid, for power lines with multiple circuits at different frequencies. This is common when power lines for the railways are piggy-backing on transmission power lines, e.g. at https://www.openstreetmap.org/way/208904880.
    28
    39Expected: assertNoMatch: "way frequency=50;50;16.7";