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

Last change on this file since 34360 was 33998, checked in by donvip, 18 months ago

see #josm15761 - fix remaining issues

File size: 701 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        suggestAlternative: "Delete the object or use the plug-in to add a POI tag!";
7}
8
9/* rules for wrong assigned ways or nodes */
10node:unconnected[area], node:unconnected[highway]{
11        throwWarning: tr("You assigned properties to a node which should only be assigned to ways!");
12        fixRemove: "area";
13        fixRemove: "highway";
14}
15
16way[door], way[entrance]{
17        throwWarning: tr("You assigned properties to a way which should only be assigned to nodes!");
18        fixRemove: "door";
19        fixRemove: "entrance";
20}
Note: See TracBrowser for help on using the repository browser.