Version 13 (modified by 6 years ago) ( diff ) | ,
---|
France specific rules
meta { title: "France specific rules"; version: "1.106_2025-06-21"; description: "Rules, which are limited to France only."; author: "PanierAvide"; icon: "Flag_of_France.svg"; link: "https://josm.openstreetmap.de/wiki/Rules/FranceSpecificRules"; min-josm-version: "14481"; /* due to osmose attributs */ baselanguage: "en"; } meta[lang=fr] { title: "Règles pour la France"; description: "Règles de validation spécifiques à la France"; } way[railway=rail][!gauge][inside("FR")] { throwWarning: tr("Missing tag gauge on rail"); suggestAlternative: "gauge"; -osmoseItemClassLevel: "2160/21600/3"; -osmoseTags: list("tag", "railway"); -osmoseAssertMatchWithContext: list("way railway=rail", "inside=FR"); -osmoseAssertNoMatchWithContext: list("way railway=rail gauge=1435", "inside=FR"); -osmoseAssertNoMatchWithContext: list("way railway=disused", "inside=FR"); } *[name=~/(?i)co.?voiturage/][amenity!=car_pooling][!carpool][inside("FR")] { throwWarning: tr("Missing tag carpool on area"); -osmoseItemClassLevel: "2080/20806/3"; -osmoseTags: list("parking", "amenity", "fix:chair"); fixAdd: "carpool=designated"; fixAdd: "amenity=car_pooling"; -osmoseAssertMatchWithContext: list("node name='Aire de Covoiturage' amenity=parking", "inside=FR"); -osmoseAssertMatchWithContext: list("way name='Aire de covoiturage' amenity=car_sharing", "inside=FR"); -osmoseAssertNoMatchWithContext: list("way name='Aire de covoiturage' amenity=car_pooling", "inside=FR"); -osmoseAssertNoMatchWithContext: list("way name='Aire de covoiturage' amenity=parking carpool=designated", "inside=FR"); } *[amenity=fuel][fuel:octane_95=yes][!fuel:e10][inside("FR")] { throwWarning: tr("Does this station still sell SP95, or has it been replaced by the SP95-E10?"); -osmoseItemClassLevel: "4061/40612/2"; -osmoseTags: list("parking", "amenity", "fix:chair"); suggestAlternative: "fuel:e10=yes/no"; } /* #12914 -- Discourage contributors to use operator=ERDF in France. */ *[operator=ERDF][inside("FR")] { throwWarning: tr("{0} is deprecated", "{0.tag}"); suggestAlternative: "operator=Enedis"; group: tr("deprecated tagging"); fixAdd: "operator=Enedis"; } /* #18552 - Add validation rules for French telecom references */ *[ref:FR:ARCEP ][telecom!=connection_point], *[ref:FR:ARCEP ][telecom:medium!=fibre], *[ref:FR:Orange ][telecom:medium!=fibre], *[ref:FR:SFR ][telecom:medium!=fibre], *[ref:FR:PTT ][telecom:medium!=copper] { throwWarning: tr("{0} without {1}", "{0.key}", "{1.tag}"); group: tr("missing tag"); }
Rules_FranceSpecificRules.validator.mapcss, Rules_FranceSpecificRules.zip
Attachments (1)
- Flag_of_France.svg (249 bytes ) - added by 6 years ago.
Download all attachments as: .zip
Note:
See TracWiki
for help on using the wiki.