Changes between Version 15 and Version 16 of Rules/QAToolInspiredValidations


Ignore:
Timestamp:
2019-02-25T17:42:55+01:00 (7 years ago)
Author:
abalosc1
Comment:

translate warnings

Legend:

Unmodified
Added
Removed
Modified
  • Rules/QAToolInspiredValidations

    v15 v16  
    3737way[highway=cycleway]!:closed!.connected_node.new_feature >[index=1] node[noexit!=yes][amenity!=parking_entrance][amenity!=parking],
    3838way[highway=cycleway]!:closed!.connected_node.new_feature >[index=-1] node[noexit!=yes][amenity!=parking_entrance][amenity!=parking] {
    39     throwWarning: "1210: Unconnected Cycleway";
     39    throwWarning: tr("1210: Unconnected Cycleway");
    4040    group: "OSMOSE";
    4141}
     
    4747way[highway=~/^(motorway|trunk|primary|secondary|tertiary|unclassified)$/]!:closed!.connected_node.new_feature >[index=-1] node[noexit!=yes][amenity!=parking_entrance][amenity!=parking][highway!=turning_circle],
    4848way[highway=~/^(motorway|trunk|primary|secondary|tertiary|unclassified)$/]!:closed!.connected_node.new_feature >[index=1] node[noexit!=yes][amenity!=parking_entrance][amenity!=parking][highway!=turning_circle] {
    49     throwWarning: "1210: Unconnected Highway";
     49    throwWarning: tr("1210: Unconnected Highway");
    5050    group: "OSMOSE";
    5151}
     
    5858
    5959relation[type] >[index=1].member way {
    60     throwWarning: "1200: One Member Relation; Check for other members";
     60    throwWarning: tr("1200: One Member Relation; Check for other members");
    6161    group: "OSMOSE";
    6262}
     
    6666/*class 2*/
    6767way[highway*="_link"][eval(waylength()) > 1000] {
    68     throwWarning: "1110/2: Bad *_link Highway; highway too long for a *_link";
     68    throwWarning: tr("1110/2: Bad *_link Highway; highway too long for a *_link");
    6969    group: "OSMOSE";
    7070}
     
    7272 /* Bridge to tag -- OSMOSE Item 7012 */
    7373way[bridge=yes][!/^bridge:/][eval(waylength()) > 500] {
    74     throwWarning: "7012: Bridge to Tag; bridge deserving of more detail";
     74    throwWarning: tr("7012: Bridge to Tag; bridge deserving of more detail");
    7575    group: "OSMOSE";
    7676}
     
    7979
    8080*[junction=roundabout][oneway] {
    81     throwWarning: "4020: On junction=roundabout; Unnecessary oneway tag";
     81    throwWarning: tr("4020: On junction=roundabout; Unnecessary oneway tag");
    8282    group: "OSMOSE";
    8383    fixRemove: "oneway";
     
    8585
    8686*[junction=roundabout][ref] {
    87     throwWarning: "4020: On junction=roundabout; Unnecessary ref tag";
     87    throwWarning: tr("4020: On junction=roundabout; Unnecessary ref tag");
    8888    group: "OSMOSE";
    8989    fixRemove: "ref";
     
    9191
    9292*[junction=roundabout][area] {
    93     throwWarning: "4020: On junction=roundabout; Unnecessary area tag";
     93    throwWarning: "tr(4020: On junction=roundabout; Unnecessary area tag");
    9494    group: "OSMOSE";
    9595    fixRemove: "area";
     
    111111Typically does not apply
    112112node[junction=roundabout] < way[highway][!oneway][eval(waylength()) < 100] {
    113     throwError: "Missing Oneway - Check highway entering/exiting roundabout";
    114     group: tr("oneway -- OSMOSE Item 2030/2")
     113    throwError: tr("2030/2: Missing Oneway - Check highway entering/exiting roundabout");
     114    group: tr("OSMOSE");
    115115}
    116116*/
    117117
    118118way[highway][!junction][!oneway][eval(waylength()) < 100]  node.junc_node {
    119     throwWarning: "2030/2 Oneway; Missing Oneway - Check highway entering/exiting roundabout";
     119    throwWarning: tr("2030/2 Oneway; Missing Oneway - Check highway entering/exiting roundabout");
    120120    group: "OSMOSE";
    121121}
     
    124124way[cycleway=opposite][!oneway],
    125125way[cycleway=opposite_lane][!oneway] {
    126     throwWarning: "2030/20301 Oneway; Opposite cycleway without oneway";
     126    throwWarning: tr("2030/20301 Oneway; Opposite cycleway without oneway");
    127127    group: "OSMOSE";
    128128}
     
    130130/* source -- OSMOSE Item 2040 -- administrative boundary does not contain tag source=* */
    131131way[boundary=administrative][!source]{
    132     throwError: "2040: Source; administrative boundary does not have source tag";
     132    throwError: tr("2040: Source; administrative boundary does not have source tag");
    133133    group: "OSMOSE";
    134134}
     
    164164way[highway=residential][junction=roundabout] node:connection.primary_junc,
    165165way[highway=living_street][junction=roundabout] node:connection.primary_junc {
    166     throwWarning: "3010/1: Highway Roundabout; highway tag on roundabout must match highest level of connected routes";
     166    throwWarning: tr("3010/1: Highway Roundabout; highway tag on roundabout must match highest level of connected routes");
    167167    group: "OSMOSE";
    168168}
     
    173173way[highway=residential][junction=roundabout] node:connection.secondary_junc,
    174174way[highway=living_street][junction=roundabout] node:connection.secondary_junc {
    175     throwWarning: "3010/1: Highway Roundabout; highway tag on roundabout must match highest level of connected routes";
     175    throwWarning: tr("3010/1: Highway Roundabout; highway tag on roundabout must match highest level of connected routes");
    176176    group: "OSMOSE";
    177177}
     
    181181way[highway=residential][junction=roundabout] node:connection.tertiary_junc,
    182182way[highway=living_street][junction=roundabout] node:connection.tertiary_junc {
    183     throwWarning: "3010/1: Highway Roundabout; highway tag on roundabout must match highest level of connected routes";
     183    throwWarning: tr("3010/1: Highway Roundabout; highway tag on roundabout must match highest level of connected routes");
    184184    group: "OSMOSE";
    185185}
     
    198198
    199199way[highway][junction=roundabout] node:connection!.crossing!.junc_to_junc {
    200     throwWarning: "3010/4: Highway Roundabout; highway crossing roundabout without stopping";
     200    throwWarning: tr("3010/4: Highway Roundabout; highway crossing roundabout without stopping");
    201201    group: "OSMOSE";
    202202}