Ignore:
Timestamp:
2018-01-04T11:05:03+01:00 (7 years ago)
Author:
rebeccas95
Message:

Update indoorhelper plugin to support the Simple Indoor Tagging scheme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/indoorhelper/data/indoorhelper.validator.mapcss

    r32122 r33974  
    22
    33/* rule which checks if every way and every POI has a level-tag */
    4 way[!indoor:level], node:unconnected[!indoor:level]{
     4way[!level], node:unconnected[!level]{
    55        throwWarning: tr("This object has no level tag.");
    6         fixAdd: "indoor:level=*";
     6        fixAdd: tr("level=*");
    77        suggestAlternative: "Delete the object or use the plug-in to add a POI tag!";
    88}
    99
    1010/* rules for wrong assigned ways or nodes */
    11 node:unconnected[indoor:area], node:unconnected[indoor:highway]{
     11node:unconnected[area], node:unconnected[highway]{
    1212        throwWarning: tr("You assigned properties to a node which should only be assigned to ways!");
    13         fixRemove: "indoor:area";
    14         fixRemove: "indoor:highway";
     13        fixRemove: "area";
     14        fixRemove: "highway";
    1515}
    1616
    17 way[indoor:door], way[indoor:entrance]{
     17way[door], way[entrance]{
    1818        throwWarning: tr("You assigned properties to a way which should only be assigned to nodes!");
    19         fixRemove: "indoor:door";
    20         fixRemove: "indoor:entrance";
     19        fixRemove: "door";
     20        fixRemove: "entrance";
    2121}
    22 
    23 
    24 
    25 
    26 
    27 
    28 
    29 
Note: See TracChangeset for help on using the changeset viewer.