Changes between Version 6 and Version 7 of Rules/ValidatingBuildingsInHOTTMProjects
- Timestamp:
- 2023-04-05T12:05:25+02:00 (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Rules/ValidatingBuildingsInHOTTMProjects
v6 v7 3 3 meta 4 4 { 5 title: "Validating buildings in HOT TM projects";5 title: "Validating tasks in HOT TM projects"; 6 6 version: "[[revision]]_[[date]]"; 7 description: "Few rules for checking mistakes on buildings that are usually made by beginners using ID Editor.";7 description: "Few rules for checking mistakes mostly made by beginners using ID Editor."; 8 8 icon: "HOT_TM_logo.svg"; 9 9 author: "Patrik_B"; 10 link: "http://bit.ly/3zzivTi"; 10 11 } 11 12 12 13 13 14 /* 14 * building with layer tag. It won't flagbuilding=roof15 Building with layer tag with exception for building=roof 15 16 */ 16 17 *[building][building!=roof][layer]{ … … 21 22 22 23 /* 23 * building with different tag then yes24 Building with different tag then yes 24 25 */ 25 26 way[building][building!=yes]{ … … 31 32 32 33 /* 33 * node with building tag34 Node with building tag 34 35 */ 35 36 node[building]{ … … 40 41 41 42 /* 42 * bridge without layer tag43 Bridge without layer tag 43 44 */ 44 45 *[bridge][!layer]{ … … 49 50 50 51 /* 51 * tunnel without layer tag. Added thanks to Filip00952 Tunnel without layer tag. Added thanks to Filip009 52 53 */ 53 54 *[tunnel][!layer]{ … … 56 57 group: tr("_Fix"); 57 58 } 59 60 /* 61 Highway with layer tag with exception for tunnel and bridge. Added thanks to martien-176 62 */ 63 *[highway][tunnel!=yes][bridge!=yes][layer]{ 64 throwWarning: tr("Highway has layer tag"); 65 fixRemove: "layer"; 66 group: tr("_Fix"); 67 } 68 69 /* 70 Waterway with layer tag. Added thanks to martien-176 71 */ 72 *[waterway][layer]{ 73 throwWarning: tr("Waterway has layer tag"); 74 fixRemove: "layer"; 75 group: tr("_Fix"); 76 } 58 77 }}}
