wiki:Rules/ValidatingBuildingsInHOTTMProjects

Version 3 (modified by Patrik_B, 3 years ago) ( diff )

added exception for layer check if building = roof

meta
{
  title: "Validating buildings in HOT TM projects";
  version: "1.25_2025-09-26";
  description: "Few rules for checking mistakes on buildings that are usually made by beginners using ID Editor.";
  icon: "HOT_TM_logo.svg";
  author: "Patrik_B";
}


/*
* building with layer tag, except building=roof
*/
*[building!=roof][layer]{
throwWarning: tr("Building has layer tag");
fixRemove: "layer";
group: tr("_Fix");
}

/*
* building with different tag then yes
*/
*[building][building!=yes]{
throwWarning: tr("Building has different tag then yes");
fixRemove: "building";
fixAdd: "building=yes";
group: tr("_Fix");
}

Rules_ValidatingBuildingsInHOTTMProjects.validator.mapcss, Rules_ValidatingBuildingsInHOTTMProjects.zip

Attachments (1)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.