Changes between Version 106 and Version 107 of Rules/FranceSpecificRules


Ignore:
Timestamp:
2026-11-09T18:43:23+01:00 (10 days ago)
Author:
Penegal
Comment:

Added check for maxweight

Legend:

Unmodified
Added
Removed
Modified
  • Rules/FranceSpecificRules

    v106 v107  
    291291}
    292292
     293/* maxweight is invalid in France, use maxweightrating instead
     294see https://forum.openstreetmap.fr/t/proposition-d-edition-automatisee-migration-de-maxweight-en-maxweightrating-pour-la-france/35439*/
     295way[highway]["maxweight"][inside("FR")],
     296way[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}
    293304}}}