Changes between Version 38 and Version 39 of Rules/FranceSpecificRules
- Timestamp:
- 2020-04-08T13:59:17+02:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Rules/FranceSpecificRules
v38 v39 97 97 98 98 /* 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")] { 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")] { 100 100 throwWarning: tr("{0} is not a milestone valid reference RIU", "{1.tag}"); 101 101 group: tr("validation rules highway milestone"); … … 151 151 152 152 /* 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")] { 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")] { 154 154 throwWarning: tr("{0} is not a valid reference", "{1.tag}"); 155 155 group: tr("validation rules nat_ref in France"); … … 159 159 160 160 /* 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")] { 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")] { 162 162 throwWarning: tr("{0} is not a valid reference", "{1.tag}"); 163 163 group: tr("validation rules nat_ref in France"); … … 167 167 168 168 /* 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")] { 169 way.link_road[nat_ref][nat_ref!~/^75Periph_Paris_[0-9]{2}_(1[0-9]|[1-9])$/][operator="VILLE DE PARIS"][inside("FR")] { 170 170 throwWarning: tr("{0} is not a valid reference (Paris)", "{1.tag}"); 171 171 group: tr("validation rules nat_ref in France"); … … 174 174 } 175 175 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")] { 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 177 throwWarning: tr("{0} is not a valid reference", "{1.tag}"); 178 178 group: tr("validation rules nat_ref in France"); … … 181 181 } 182 182 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")] { 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")] { 184 184 throwWarning: tr("{0} is not a valid reference", "{1.tag}"); 185 185 group: tr("validation rules nat_ref in France");
