Search:
Login
Preferences
Help/Guide
About Trac
Register
Forgot your password?
Wiki
Timeline
Changelog
Browse Source
View Tickets
New Ticket
Roadmap
Builds
Sonar
Search
Context Navigation
+0
Start Page
Index
History
Editing Rules/FranceSpecificRules
Adjust edit area height:
8
12
16
20
24
28
32
36
40
Edit side-by-side
= France specific rules = {{{ #!rule meta { title: "France specific rules"; version: "1.[[revision]]_[[date]]"; 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"; } /* see ticket #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"; } }}}
Note:
See
WikiFormatting
and
TracWiki
for help on editing wiki content.
Change information
Your email or username:
E-mail address and name can be saved in the
Preferences
Comment about this change (optional):
Attachments
(1)
Flag_of_France.svg
(
249 bytes
) - added by
simon04
6 years ago
.
Download all attachments as:
.zip
Note:
See
TracWiki
for help on using the wiki.