[[TranslatedPages]] = JOSM Validator Rules = [[JOSMImage(dialogs/validator,middle,margin-right=20,48,link=)]] The JOSM [wikitr:/Help/Dialog/Validator validator] ([wikitr:/Help/Validator/MapCSSTagChecker Tag checker]) can be customized with different rules based on [wikitr:/Help/Styles/MapCSSImplementation MapCSS]. == Choose Rules == There are base rules (e.g. [source:/trunk/resources/data/validator/geometry.mapcss Geometry] or [source:/trunk/resources/data/validator/highway.mapcss Highways]) that cover dedicated features each. They can be combined with add-on rules that cover more special topics: {{{#!comment For following macro, [[Styles]], the first argument is a language code which needs to be adjusted in translation and the second is the type, "rules" (for Rules), which should remain unchanged. The rest are the names of the table's header which should be translated. See https://josm.openstreetmap.de/wiki/WikiMacros#Styles-macro }}} [[Styles(en|rules|short description|author|description|version|More details)]] To add more rules to your list, open the [wikitr:/Help/Preferences/Validator Validator Preferences]: Edit -> Preferences -> [[JOSMImage(preferences/validator,top,15,link=)]] Validator -> Tag Checker Rules (2nd tab)'' == Create new rules == If you want to add your rules to this list use one of the two options: * Simply create a page in this wiki with your rule, e.g. [wikitr:/Rules/MyRuleName]. This is similar to [wikitr:/Styles#Makeyourstyleavailabletootherusers Styles] and [wikitr:/Presets#Createnewpresets Presets]. See there for more information about this topic. * Externally hosted rule URLs can be entered when editing the [wiki:/RulesSource RulesSource page]. If your rule applies to a limited area, use [wikitr:/Help/Styles/MapCSSImplementation#Territoryselector Territory selectors], to limit the execution to the area. **Note**: The [/jenkins/job/JOSM-Integration/ JOSM-Integration test] will run on all rules and report problems. === Rules managed in JOSM wiki === JOSM wiki based Rules is the preferred method. [[TitleIndexTr(Rules/)]] ---- Back to [wikitr:/Help main help]