Changes between Version 83 and Version 84 of Rules/FranceSpecificRules


Ignore:
Timestamp:
2022-10-26T07:27:29+02:00 (3 years ago)
Author:
didier2020
Comment:

new in 2022, ref for rest_area or services : nat_ref on service road

Legend:

Unmodified
Added
Removed
Modified
  • Rules/FranceSpecificRules

    v83 v84  
    145145
    146146/* tag nat_ref is for links roads, ref is on major roads */
    147 way[highway=~/^(motorway|trunk|primary|secondary|tertiary|unclassified|service)$/][nat_ref][operator][!junction][inside("FR")] {
     147way[highway=~/^(motorway|trunk|primary|secondary|tertiary|unclassified)$/][nat_ref][operator][!junction][inside("FR")],
     148way[highway=service)$/][nat_ref][nat_ref!~/^([1-9][0-9]|0[1-9])[AN]8[0-9]{3}(|A|N)([0-9]?[0-9])(|[A-Z]|[a-z])(|CD)_(1[0-9]|[1-9])D$/][operator][!junction][inside("FR")],
     149 {
    148150    throwWarning: tr("{0} must be a link road or roundabout", "{1.tag}");
    149151    group: tr("validation rules nat_ref in France");
     
    151153    -osmoseTags: list("ref", "highway");
    152154    -osmoseAssertMatchWithContext: list("way highway=primary nat_ref=62A901609CD_2D operator=SANEF", "inside=FR");
     155    -osmoseAssertNoMatchWithContext: list("way highway=service nat_ref=50A802209_1D operator=DIRO", "inside=FR");
    153156    -osmoseAssertNoMatchWithContext: list("way highway=primary junction=roundabout nat_ref=62A901609CD_2D operator=SANEF", "inside=FR");
    154157    -osmoseAssertNoMatchWithContext: list("way highway=service junction=roundabout nat_ref=62A801609CD_12D operator=SANEF", "inside=FR");