| | 1 | meta |
| | 2 | { |
| | 3 | title: "Validating buildings in HOT TM projects"; |
| | 4 | version: "23-11-2022"; |
| | 5 | description: "Few rules for checking mistakes on buildings that are usually made by beginners using ID Editor."; |
| | 6 | author: "Patrik_B"; |
| | 7 | } |
| | 8 | |
| | 9 | |
| | 10 | /* |
| | 11 | * building with layer tag |
| | 12 | */ |
| | 13 | *[building][layer]{ |
| | 14 | throwWarning: tr("Building has layer tag"); |
| | 15 | fixRemove: "layer"; |
| | 16 | group: tr("_Fix"); |
| | 17 | } |
| | 18 | |
| | 19 | /* |
| | 20 | * building with different tag then yes |
| | 21 | */ |
| | 22 | *[building][building!=yes]{ |
| | 23 | throwWarning: tr("Building has different tag then yes"); |
| | 24 | fixRemove: "building"; |
| | 25 | fixAdd: "building=yes"; |
| | 26 | group: tr("_Fix"); |
| | 27 | } |