| 15 | | There are base rules (e.g. [source:trunk/data/validator/geometry.mapcss Geometry] or [source:trunk/data/validator/highway.mapcss Highways]) that cover dedicated features each. They can be combined with add-on rules that cover more special topics: |
| | 8 | 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: |
| | 9 | |
| | 10 | {{{#!comment |
| | 11 | 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. |
| | 12 | The rest are the names of the table's header which should be translated. |
| | 13 | See https://josm.openstreetmap.de/wiki/WikiMacros#Styles-macro |
| | 14 | }}} |
| 21 | | == Rules managed in JOSM wiki == |
| 22 | | [[TitleIndex(Rules/)]] |
| | 20 | == Create new rules == |
| | 21 | If you want to add your rules to this list use one of the two options: |
| | 22 | * 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. |
| | 23 | * Externally hosted rule URLs can be entered when editing the [wiki:/RulesSource RulesSource page]. |
| | 24 | If your rule applies to a limited area, use [wikitr:/Help/Styles/MapCSSImplementation#Territoryselector Territory selectors], to limit the execution to the area. |
| | 25 | |
| | 26 | **Note**: The [/jenkins/job/JOSM-Integration/ JOSM-Integration test] will run on all rules and report problems. |
| | 27 | |
| | 28 | === Rules managed in JOSM wiki === |
| | 29 | JOSM wiki based Rules is the preferred method. |
| | 30 | |
| | 31 | [[TitleIndexTr(Rules/)]] |