wiki:Rules/SlovakiaSpecificRules
meta
{
  title: "Slovakia specific rules";
  version: "6_2022-07-25";
  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";
  link: "https://wiki.openstreetmap.org/wiki/WikiProject_Slovakia";
}

/*
* 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?");
fixAdd: "layer=1";
}

/*
* tunnel without layer
*/
*[tunnel][!layer]{
throwWarning: tr("Are you sure tunnel is not crossing anything?");
fixAdd: "layer=-1";
}

/*
* 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?");
}

Rules_SlovakiaSpecificRules.validator.mapcss, Rules_SlovakiaSpecificRules.zip

Last modified 2 years ago Last modified on 2022-07-25T20:31:19+02:00

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.