Changeset 6641 in josm


Ignore:
Timestamp:
2014-01-06T13:08:14+01:00 (6 years ago)
Author:
simon04
Message:

Validator: type=site without site is perfectly valid (side is optional and seldom used)

Location:
trunk/data
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r6640 r6641  
    68926892        </item>
    68936893        <item name="Site" type="relation">
    6894             <link href="http://wiki.openstreetmap.org/wiki/Relations=Site"
    6895                   ru.href="http://wiki.openstreetmap.org/wiki/RU:Relations=Site" />
     6894            <link href="http://wiki.openstreetmap.org/wiki/Relation:site"
     6895                  ru.href="http://wiki.openstreetmap.org/wiki/RU:Relation:site" />
    68966896            <label text="Edit Site" />
    68976897            <space />
  • trunk/data/validator/relation.mapcss

    r6538 r6641  
    1313relation[type=restriction][!restriction],
    1414relation[type=boundary][!boundary],
    15 relation[type=site][!site],
    1615relation[type=public_transport][!public_transport],
    1716relation[type=waterway][!waterway],
     
    2625  assertMatch: "relation type=boundary";
    2726  assertNoMatch: "relation type=boundary boundary=administrative";
    28   assertMatch: "relation type=site";
    2927  assertNoMatch: "relation type=site site=administrative";
    3028  assertMatch: "relation type=public_transport";
Note: See TracChangeset for help on using the changeset viewer.