Changes between Version 43 and Version 44 of Rules/FranceSpecificRules
- Timestamp:
- 2020-04-11T14:25:28+02:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Rules/FranceSpecificRules
v43 v44 96 96 } 97 97 98 99 98 /* Select milestone nodes */ 100 99 node[highway=milestone][nat_ref] { … … 102 101 } 103 102 104 105 103 /* validation rules for French RIU (Referentiel Inter Urbain) at https://www.data.gouv.fr/fr/datasets/bornage-du-reseau-routier-national */ 106 node.pr_node[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")] { 104 node.pr_node[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")] { 107 105 throwWarning: tr("{0} is not a milestone valid reference RIU", "{1.tag}"); 108 106 group: tr("validation rules highway milestone"); … … 161 159 162 160 /* tag nat_ref is well formed on roundabout*/ 163 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")] { 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")] { 164 162 throwWarning: tr("{0} is not a valid reference", "{1.tag}"); 165 163 group: tr("validation rules nat_ref in France"); … … 169 167 170 168 /* tag nat_ref is well formed specific Paris*/ 171 way.link_road[nat_ref][nat_ref!~/^75Periph_Paris_[0-9]{2}_(1[0-9]|[1-9])$/][operator="VILLE DE PARIS"][inside("FR")] { 169 way.link_road[nat_ref][nat_ref!~/^(75Periph_Paris_[0-9]{2}_(1[0-9]|[1-9]))$/][operator="VILLE DE PARIS"][inside("FR")] { 172 170 throwWarning: tr("{0} is not a valid reference (Paris)", "{1.tag}"); 173 171 group: tr("validation rules nat_ref in France"); … … 176 174 } 177 175 178 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")], 179 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")]{ 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")], 177 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")]{ 180 178 throwWarning: tr("{0} is not a valid reference", "{1.tag}"); 181 179 group: tr("validation rules nat_ref in France");
