| | 293 | /* maxweight is invalid in France, use maxweightrating instead |
| | 294 | see https://forum.openstreetmap.fr/t/proposition-d-edition-automatisee-migration-de-maxweight-en-maxweightrating-pour-la-france/35439*/ |
| | 295 | way[highway]["maxweight"][inside("FR")], |
| | 296 | way[highway][/maxweight:(?!signed)(.*)/][inside("FR")] { |
| | 297 | throwWarning: "maxweight tags are invalid on highways in France, use maxweightrating tags instead."; |
| | 298 | -osmoseTags: list("highway"); |
| | 299 | -osmoseItemClassLevel: "9019/9019007/2"; |
| | 300 | -osmoseDetail: "Maximum weight road signs in France are about vehicle permitted weight, i.e. maxweightrating, so maxweight should never be used on a highway."; |
| | 301 | -osmoseFix: "Retag highway to only use maxweightrating tags, not maxweight tags."; |
| | 302 | -osmoseTrap: "maxweight:signed is the exception: it should not be removed or retagged."; |
| | 303 | } |