Changes between Version 6 and Version 7 of Rules/HungarySpecific


Ignore:
Timestamp:
2024-09-28T21:52:47+02:00 (14 months ago)
Author:
gaben
Comment:

refine maxspeed checks

Legend:

Unmodified
Added
Removed
Modified
  • Rules/HungarySpecific

    v6 v7  
    5959}
    6060
    61 
    62 way[highway=living_street][maxspeed][maxspeed!=20].itthon {
    63         group: "[HU] specifikus szabályok";
    64         throwWarning: "hibás maximális sebesség vagy útbesorolás";
    65 }
    66 
    67 *[source:maxspeed="HU:living_street"][maxspeed!=20].itthon,
    6861*[source:maxspeed="HU:urban"][maxspeed!=50].itthon,
     62*[source:maxspeed:forward="HU:urban"][maxspeed:forward!=50].itthon,
     63*[source:maxspeed:backward="HU:urban"][maxspeed:backward!=50].itthon,
    6964*[source:maxspeed="HU:rural"][maxspeed!=90].itthon,
     65*[source:maxspeed:forward="HU:rural"][maxspeed:forward!=90].itthon,
     66*[source:maxspeed:backward="HU:rural"][maxspeed:backward!=90].itthon,
    7067*[source:maxspeed="HU:trunk"][maxspeed!=110].itthon,
    71 *[source:maxspeed="HU:motorway"][maxspeed!=130].itthon {
     68*[source:maxspeed:forward="HU:trunk"][maxspeed:forward!=110].itthon,
     69*[source:maxspeed:backward="HU:trunk"][maxspeed:backward!=110].itthon,
     70*[source:maxspeed="HU:motorway"][maxspeed!=130].itthon,
     71*[source:maxspeed:forward="HU:motorway"][maxspeed:forward!=130].itthon,
     72*[source:maxspeed:backward="HU:motorway"][maxspeed:backward!=130].itthon {
    7273        group: "[HU] specifikus szabályok";
    7374        throwWarning: "a maximálisan megengedett sebesség és a sebességforrás nem egyezik";
    7475}
    7576
    76 *[maxspeed:type="HU:urban"][!maxspeed].itthon,
    77 *[source:maxspeed="HU:urban"][!maxspeed].itthon {
     77*[!maxspeed][!maxspeed:forward][!maxspeed:backward] {
     78        set no_maxspeed;
     79}
     80
     81*[maxspeed:type="HU:urban"].itthon.no_maxspeed,
     82*[source:maxspeed="HU:urban"].itthon.no_maxspeed {
    7883        group: "[HU] specifikus szabályok";
    7984        throwWarning: "hiányzó maximális sebesség: 50";
     
    8186}
    8287
    83 *[maxspeed:type="HU:rural"][!maxspeed].itthon,
    84 *[source:maxspeed="HU:rural"][!maxspeed].itthon {
     88*[maxspeed:type="HU:rural"].itthon.no_maxspeed,
     89*[source:maxspeed="HU:rural"].itthon.no_maxspeed {
    8590        group: "[HU] specifikus szabályok";
    8691        throwWarning: "hiányzó maximális sebesség: 90";
     
    141146}
    142147
     148/* FIXME: I. és II. világháborús emlékmű */
     149
    143150area[landuse=quarry][name=~/(?i)szén/][!resource].itthon {
    144151        group: "[HU] specifikus szabályok";