Changes between Version 36 and Version 37 of Rules/FranceSpecificRules
- Timestamp:
- 2020-04-08T10:35:05+02:00 (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Rules/FranceSpecificRules
v36 v37 137 137 } 138 138 139 way.major_road[nat_ref:backward][operator][inside("FR")] { 139 way.major_road["nat_ref:backward"][operator][inside("FR")] { 140 140 throwWarning: tr("{0} must be a link road ", "{1.tag}"); 141 141 group: tr("validation rules nat_ref in France"); … … 144 144 } 145 145 146 way.major_road[nat_ref:forward][operator][inside("FR")] { 146 way.major_road["nat_ref:forward"][operator][inside("FR")] { 147 147 throwWarning: tr("{0} must be a link road", "{1.tag}"); 148 148 group: tr("validation rules nat_ref in France"); … … 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]|B1|B2)(|[A-Z]|[a-z])(|CD)_(1[0-9]|[1-9])$/][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][ junction=roundabout][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])$/][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][ operator="VILLE DE PARIS"][nat_ref!~/75Periph_Paris_[0-9]{2}_(1[0-9]|[1-9])$/][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"); … … 194 194 } 195 195 196 way[highway][nat_ref:forward][!operator][inside("FR")] { 196 way[highway]["nat_ref:forward"][!operator][inside("FR")] { 197 197 throwWarning: tr("Missing tag operator with nat_ref"); 198 198 group: tr("validation rules nat_ref in France"); … … 200 200 } 201 201 202 way[highway][nat_ref:backward][!operator][inside("FR")] { 202 way[highway]["nat_ref:backward"][!operator][inside("FR")] { 203 203 throwWarning: tr("Missing tag operator with nat_ref"); 204 204 group: tr("validation rules nat_ref in France"); … … 206 206 } 207 207 208 way.link_road[nat_ref:forward][oneway=~/^(yes|1|-1)$/][inside("FR")] { 208 way.link_road["nat_ref:forward"][oneway=~/^(yes|1|-1)$/][inside("FR")] { 209 209 throwWarning: tr("{0} no tag forward if oneway", "{2.tag}"); 210 210 group: tr("validation rules nat_ref in France"); … … 212 212 } 213 213 214 way.link_road[nat_ref:backward][oneway=~/^(yes|1|-1)$/][inside("FR")] { 214 way.link_road["nat_ref:backward"][oneway=~/^(yes|1|-1)$/][inside("FR")] { 215 215 throwWarning: tr("{0} no tag backward if oneway", "{2.tag}"); 216 216 group: tr("validation rules nat_ref in France");
