Changes between Version 79 and Version 80 of Rules/FranceSpecificRules


Ignore:
Timestamp:
2022-09-20T14:20:27+02:00 (3 years ago)
Author:
anonymous
Comment:

nouvelle référence riu pour les aires de service : chiffre 8 (le 9 etant utilisé pour les bretelles) ex 94A800401_1D

Legend:

Unmodified
Added
Removed
Modified
  • Rules/FranceSpecificRules

    v79 v80  
    163163}
    164164
    165 /* tag nat_ref is well formed (isidor format) , (bretelles code 9 ou aire de service code 8)*/
    166 way[highway=~/^(motorway_link|trunk_link|primary_link|secondary_link|tertiary_link)$/][nat_ref][nat_ref!~/^([1-9][0-9]|0[1-9])[ANP][8-9][0-9]{3}(|A|N)([0-9]?[0-9]|B1|B2)(|[A-Z]|[a-z])(|CD)_(1[0-9]|[1-9])D$/][operator!="VILLE DE PARIS"][inside("FR")] {
     165/* tag nat_ref is well formed (isidor format) , (bretelles code9 ou aire de service code 8)*/
     166way[highway=~/^(motorway_link|trunk_link|primary_link|secondary_link|tertiary_link)$/][nat_ref][nat_ref!~/^([1-9][0-9]|0[1-9])[ANP](8|9)[0-9]{3}(|A|N)([0-9]?[0-9]|B1|B2)(|[A-Z]|[a-z])(|CD)_(1[0-9]|[1-9])D$/][operator!="VILLE DE PARIS"][inside("FR")]{
    167167    throwWarning: tr("{0} is not a valid reference", "{1.tag}");
    168168    group: tr("validation rules nat_ref in France");
     
    173173}
    174174
    175 /* tag nat_ref is well formed on roundabout (isidor format bretelles code 9 ou aire de service code 8) */
    176 way[junction=roundabout][highway=~/^(motorway|trunk|primary|secondary|tertiary)$/][nat_ref][nat_ref!~/^(([1-9][0-9]|0[1-9])[ANP][8-9][0-9]{3}(|A|N)([0-9]?[0-9]|B1|B2)(|[A-Z]|[a-z])(|CD)_(1[0-9]|[1-9])D)$/][inside("FR")] {
     175/* tag nat_ref is well formed on roundabout (isidor format) */
     176way[junction=roundabout][highway=~/^(motorway|trunk|primary|secondary|tertiary|service)$/][nat_ref][nat_ref!~/^(([1-9][0-9]|0[1-9])[ANP](8|9)[0-9]{3}(|A|N)([0-9]?[0-9]|B1|B2)(|[A-Z]|[a-z])(|CD)_(1[0-9]|[1-9])D)$/][inside("FR")] {
    177177    throwWarning: tr("{0} is not a valid reference", "{2.tag}");
    178178    group: tr("validation rules nat_ref in France");
     
    180180    -osmoseTags: list("ref", "highway");
    181181    -osmoseAssertNoMatchWithContext: list("way highway=primary junction=roundabout nat_ref=80A901645_6D operator=DIRN", "inside=FR");
     182    -osmoseAssertNoMatchWithContext: list("way highwayservice junction=roundabout nat_ref=80A801645_5D operator=DIRN", "inside=FR");
    182183}
    183184