Ignore:
Timestamp:
2018-12-23T01:25:15+01:00 (6 years ago)
Author:
Klumbumbus
Message:

fix #15774 - Update emergency=fire_hydrant preset (based on patch by elgolfo and bus-mt), add a bunch of validator checks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/numeric.mapcss

    r14359 r14593  
    334334  assertNoMatch: "node ele=4";
    335335}
    336 *[ele][ele !~ /^-?[0-9]+(\.[0-9]+)?$/]!.ele_meter_remove_autofix!.ele_separator_autofix{
     336*[ele][ele !~ /^-?[0-9]+(\.[0-9]+)?$/]!.ele_meter_remove_autofix!.ele_separator_autofix {
    337337  throwWarning: tr("{0} must be a numeric value, in meters and without units", "{0.key}");
    338338  assertNoMatch: "node ele=12m";
     
    344344  assertMatch: "node ele=high";
    345345}
     346
     347/* #15774 */
     348node[fire_hydrant:pressure="#"] {
     349  throwError: tr("unusual value of {0}", "{0.key}");
     350}
Note: See TracChangeset for help on using the changeset viewer.