| | 1 | meta |
| | 2 | { |
| | 3 | title: "Slovakia specific rules"; |
| | 4 | version: "1_2022-03-27"; |
| | 5 | description: "Rules implementing guideposts and route marker rules in Slovak Republic and some other common mistakes or forggetable things."; |
| | 6 | icon: "slovakia-flag-icon-64.png"; |
| | 7 | author: "Filip009"; |
| | 8 | } |
| | 9 | |
| | 10 | |
| | 11 | /* |
| | 12 | operator tag may not be empty? |
| | 13 | */ |
| | 14 | |
| | 15 | *[tourism=information][information=guidepost][!operator][inside("SK")]{ |
| | 16 | throwWarning: tr("Please use operator tag on guidepost."); |
| | 17 | } |
| | 18 | |
| | 19 | |
| | 20 | /* |
| | 21 | name tag may not be empty? |
| | 22 | */ |
| | 23 | |
| | 24 | *[tourism=information][information=guidepost][!name][!noname][inside("SK")]{ |
| | 25 | throwWarning: tr("Please use name tag on guidepost. (If there is not name on guidepost, use noname=yes instead!)"); |
| | 26 | } |
| | 27 | |
| | 28 | |
| | 29 | /* |
| | 30 | activity tag may not be empty? |
| | 31 | */ |
| | 32 | |
| | 33 | *[tourism=information][information=guidepost][!hiking][!bicycle][!ski][!horse][inside("SK")]{ |
| | 34 | throwWarning: tr("Please use activity tag on guidepost."); |
| | 35 | } |
| | 36 | |
| | 37 | |
| | 38 | /* |
| | 39 | route_marker |
| | 40 | activity tag may not be empty? |
| | 41 | */ |
| | 42 | |
| | 43 | *[tourism=information][information=route_marker][!hiking][!bicycle][!ski][!horse][inside("SK")]{ |
| | 44 | throwWarning: tr("Please use activity tag on route_marker."); |
| | 45 | } |
| | 46 | |
| | 47 | |
| | 48 | /* |
| | 49 | tracktype |
| | 50 | */ |
| | 51 | |
| | 52 | *[highway=track][!tracktype]{ |
| | 53 | throwWarning: tr("Please use tracktype on track."); |
| | 54 | } |
| | 55 | |
| | 56 | |
| | 57 | /* |
| | 58 | bridge without layer |
| | 59 | */ |
| | 60 | |
| | 61 | *[bridge][!layer]{ |
| | 62 | throwWarning: tr("Are you sure bridge is not crossing anything?"); |
| | 63 | fixChangeKey: "layer"; |
| | 64 | } |
| | 65 | |
| | 66 | |
| | 67 | /* |
| | 68 | tunnel without layer |
| | 69 | */ |
| | 70 | |
| | 71 | *[bridge][!layer]{ |
| | 72 | throwWarning: tr("Are you sure tunnel is not crossing anything?"); |
| | 73 | fixChangeKey: "layer"; |
| | 74 | } |
| | 75 | |
| | 76 | |
| | 77 | /* |
| | 78 | shelter without shelter_type |
| | 79 | */ |
| | 80 | |
| | 81 | *[amenity=shelter][!shelter_type]{ |
| | 82 | throwWarning: tr("Please use shelter_type on shelter."); |
| | 83 | } |
| | 84 | |
| | 85 | |
| | 86 | /* |
| | 87 | boundary has been changed |
| | 88 | (TODO vylepšiť, pracuje iba s keď je na way pridaný bod a je označená ako boundary) |
| | 89 | */ |
| | 90 | |
| | 91 | *[boundary]{ |
| | 92 | throwWarning: tr("Are you sure you want to change that boundary?"); |
| | 93 | } |