Changes between Version 32 and Version 33 of Rules/FranceSpecificRules
- Timestamp:
- 2020-04-06T08:58:49+02:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Rules/FranceSpecificRules
v32 v33 151 151 152 152 /* tag nat_ref is well formed */ 153 way.link_road[nat_ref][operator!="VILLE DE PARIS"][nat_ref!~/([1-9][0-9]|0[1-9])[ANP]9[0-9]{3}[0-9] [0-9]*[a-z]*(|CD)_(1[0-9]|[1-9])$/][inside("FR")] {153 way.link_road[nat_ref][operator!="VILLE DE PARIS"][nat_ref!~/([1-9][0-9]|0[1-9])[ANP]9[0-9]{3}[0-9]?[0-9][a-z]*(|CD)_(1[0-9]|[1-9])$/][inside("FR")] { 154 154 throwWarning: tr("{0} is not a valid reference", "{1.tag}"); 155 155 group: tr("validation rules nat_ref in France"); 156 156 -osmoseTags: list("ref", "highway"); 157 157 -osmoseAssertNoMatchWithContext: list("way highway=motorway_link nat_ref=80A901645CD_6 operator=SANEF", "inside=FR"); 158 } 159 160 /* tag nat_ref is well formed on roundabout*/ 161 way.major_road[nat_ref][junction=roundabout][nat_ref!~/([1-9][0-9]|0[1-9])[ANP]9[0-9]{3}[0-9]?[0-9][a-z]*(|CD)_(1[0-9]|[1-9])$/][inside("FR")] { 162 throwWarning: tr("{0} is not a valid reference", "{1.tag}"); 163 group: tr("validation rules nat_ref in France"); 164 -osmoseTags: list("ref", "highway"); 165 -osmoseAssertNoMatchWithContext: list("way highway=primary junction=roundabout nat_ref=80A901645_6 operator=DIRN", "inside=FR"); 158 166 } 159 167 … … 166 174 } 167 175 168 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]*[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][a-z]*(|CD)_(1[0-9]|[1-9])$/][inside("FR")] { 169 177 throwWarning: tr("{0} is not a valid reference", "{1.tag}"); 170 178 group: tr("validation rules nat_ref in France"); … … 173 181 } 174 182 175 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]*[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][a-z]*(|CD)_(1[0-9]|[1-9])$/][inside("FR")] { 176 184 throwWarning: tr("{0} is not a valid reference", "{1.tag}"); 177 185 group: tr("validation rules nat_ref in France");
