Changes between Version 79 and Version 80 of Rules/FranceSpecificRules
- Timestamp:
- 2022-09-20T14:20:27+02:00 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Rules/FranceSpecificRules
v79 v80 163 163 } 164 164 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)*/ 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")]{ 167 167 throwWarning: tr("{0} is not a valid reference", "{1.tag}"); 168 168 group: tr("validation rules nat_ref in France"); … … 173 173 } 174 174 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) */ 176 way[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")] { 177 177 throwWarning: tr("{0} is not a valid reference", "{2.tag}"); 178 178 group: tr("validation rules nat_ref in France"); … … 180 180 -osmoseTags: list("ref", "highway"); 181 181 -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"); 182 183 } 183 184
