Changes between Version 38 and Version 39 of Rules/FranceSpecificRules


Ignore:
Timestamp:
2020-04-08T13:59:17+02:00 (6 years ago)
Author:
didier2020
Comment:

missing

Legend:

Unmodified
Added
Removed
Modified
  • Rules/FranceSpecificRules

    v38 v39  
    9797
    9898/* validation rules for French RIU (Referentiel Inter Urbain) at https://www.data.gouv.fr/fr/datasets/bornage-du-reseau-routier-national   */
    99 node[highway=milestone][nat_ref][nat_ref!~/([1-9][0-9]|0[1-9])PR([0-9]|[1-9][0-9]|[1-9][0-9][0-9])[DGU](|C)$/][inside("FR")] {
     99node[highway=milestone][nat_ref][nat_ref!~/^([1-9][0-9]|0[1-9])PR([0-9]|[1-9][0-9]|[1-9][0-9][0-9])[DGU](|C)$/][inside("FR")] {
    100100    throwWarning: tr("{0} is not a milestone valid reference RIU", "{1.tag}");
    101101    group: tr("validation rules highway milestone");
     
    151151
    152152/* tag nat_ref is well formed */
    153 way.link_road[nat_ref][nat_ref!~/([1-9][0-9]|0[1-9])[ANP]9[0-9]{3}([0-9]?[0-9]|B1|B2)(|[A-Z]|[a-z])(|CD)_(1[0-9]|[1-9])$/][operator!="VILLE DE PARIS"][inside("FR")] {
     153way.link_road[nat_ref][nat_ref!~/^([1-9][0-9]|0[1-9])[ANP]9[0-9]{3}([0-9]?[0-9]|B1|B2)(|[A-Z]|[a-z])(|CD)_(1[0-9]|[1-9])$/][operator!="VILLE DE PARIS"][inside("FR")] {
    154154    throwWarning: tr("{0} is not a valid reference", "{1.tag}");
    155155    group: tr("validation rules nat_ref in France");
     
    159159
    160160/* tag nat_ref is well formed on roundabout*/
    161 way.major_road[nat_ref][nat_ref!~/([1-9][0-9]|0[1-9])[ANP]9[0-9]{3}([0-9]?[0-9]|B1|B2)(|[A-Z]|[a-z])(|CD)_(1[0-9]|[1-9])$/][junction=roundabout][inside("FR")] {
     161way.major_road[nat_ref][nat_ref!~/^([1-9][0-9]|0[1-9])[ANP]9[0-9]{3}([0-9]?[0-9]|B1|B2)(|[A-Z]|[a-z])(|CD)_(1[0-9]|[1-9])$/][junction=roundabout][inside("FR")] {
    162162    throwWarning: tr("{0} is not a valid reference", "{1.tag}");
    163163    group: tr("validation rules nat_ref in France");
     
    167167
    168168/* tag nat_ref is well formed specific Paris*/
    169 way.link_road[nat_ref][nat_ref!~/75Periph_Paris_[0-9]{2}_(1[0-9]|[1-9])$/][operator="VILLE DE PARIS"][inside("FR")] {
     169way.link_road[nat_ref][nat_ref!~/^75Periph_Paris_[0-9]{2}_(1[0-9]|[1-9])$/][operator="VILLE DE PARIS"][inside("FR")] {
    170170    throwWarning: tr("{0} is not a valid reference (Paris)", "{1.tag}");
    171171    group: tr("validation rules nat_ref in France");
     
    174174}
    175175
    176 way.link_road["nat_ref:forward"]["nat_ref:forward"!~/([1-9][0-9]|0[1-9])[ANP]9[0-9]{3}([0-9]?[0-9]|B1|B2)(|[A-Z]|[a-z])(|CD)_(1[0-9]|[1-9])$/][inside("FR")] {
     176way.link_road["nat_ref:forward"]["nat_ref:forward"!~/^([1-9][0-9]|0[1-9])[ANP]9[0-9]{3}([0-9]?[0-9]|B1|B2)(|[A-Z]|[a-z])(|CD)_(1[0-9]|[1-9])$/][inside("FR")] {
    177177    throwWarning: tr("{0} is not a valid reference", "{1.tag}");
    178178    group: tr("validation rules nat_ref in France");
     
    181181}
    182182
    183 way.link_road["nat_ref:backward"]["nat_ref:backward"!~/([1-9][0-9]|0[1-9])[ANP]9[0-9]{3}([0-9]?[0-9]|B1|B2)(|[A-Z]|[a-z])(|CD)_(1[0-9]|[1-9])$/][inside("FR")] {
     183way.link_road["nat_ref:backward"]["nat_ref:backward"!~/^([1-9][0-9]|0[1-9])[ANP]9[0-9]{3}([0-9]?[0-9]|B1|B2)(|[A-Z]|[a-z])(|CD)_(1[0-9]|[1-9])$/][inside("FR")] {
    184184    throwWarning: tr("{0} is not a valid reference", "{1.tag}");
    185185    group: tr("validation rules nat_ref in France");