source: subversion/applications/editors/josm/plugins/indoorhelper/data/indoorhelper.validator.mapcss @ 33974

Last change on this file since 33974 was 33974, checked in by rebeccas95, 20 months ago

Update indoorhelper plugin to support the Simple Indoor Tagging scheme

File size: 725 bytes
Line 
1/* Validator file to check the indoor data for errors */
2
3/* rule which checks if every way and every POI has a level-tag */
4way[!level], node:unconnected[!level]{
5        throwWarning: tr("This object has no level tag.");
6        fixAdd: tr("level=*");
7        suggestAlternative: "Delete the object or use the plug-in to add a POI tag!";
8}
9
10/* rules for wrong assigned ways or nodes */
11node:unconnected[area], node:unconnected[highway]{
12        throwWarning: tr("You assigned properties to a node which should only be assigned to ways!");
13        fixRemove: "area";
14        fixRemove: "highway";
15}
16
17way[door], way[entrance]{
18        throwWarning: tr("You assigned properties to a way which should only be assigned to nodes!");
19        fixRemove: "door";
20        fixRemove: "entrance";
21}
Note: See TracBrowser for help on using the repository browser.