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 */
|
---|
4 | way[!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 */
|
---|
10 | node: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 |
|
---|
16 | way[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.