wiki:Rules/SlovakiaSpecificRules

Version 1 (modified by Filip009, 3 years ago) ( diff )

Slovakia rules

meta {

title: "Slovakia specific rules"; version: "1_2022-03-27"; description: "Rules implementing guideposts and route marker rules in Slovak Republic and some other common mistakes or forggetable things."; icon: "slovakia-flag-icon-64.png"; author: "Filip009";

}

/* operator tag may not be empty? */

*[tourism=information][information=guidepost][!operator][inside("SK")]{ throwWarning: tr("Please use operator tag on guidepost."); }

/* name tag may not be empty? */

*[tourism=information][information=guidepost][!name][!noname][inside("SK")]{ throwWarning: tr("Please use name tag on guidepost. (If there is not name on guidepost, use noname=yes instead!)"); }

/* activity tag may not be empty? */

*[tourism=information][information=guidepost][!hiking][!bicycle][!ski][!horse][inside("SK")]{ throwWarning: tr("Please use activity tag on guidepost."); }

/* route_marker activity tag may not be empty? */

*[tourism=information][information=route_marker][!hiking][!bicycle][!ski][!horse][inside("SK")]{ throwWarning: tr("Please use activity tag on route_marker."); }

/* tracktype */

*[highway=track][!tracktype]{ throwWarning: tr("Please use tracktype on track."); }

/* bridge without layer */

*[bridge][!layer]{ throwWarning: tr("Are you sure bridge is not crossing anything?"); fixChangeKey: "layer"; }

/* tunnel without layer */

*[bridge][!layer]{ throwWarning: tr("Are you sure tunnel is not crossing anything?"); fixChangeKey: "layer"; }

/* shelter without shelter_type */

*[amenity=shelter][!shelter_type]{ throwWarning: tr("Please use shelter_type on shelter."); }

/* boundary has been changed (TODO vylepšiť, pracuje iba s keď je na way pridaný bod a je označená ako boundary) */

*[boundary]{ throwWarning: tr("Are you sure you want to change that boundary?"); }

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.