Changeset 7932 in josm for trunk/data
- Timestamp:
- 2015-01-07T01:01:35+01:00 (10 years ago)
- Location:
- trunk/data/validator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/combinations.mapcss
r7929 r7932 156 156 } 157 157 158 node[amenity =~ /^(restaurant|cafe|fast_food)$/][!name] {158 node[amenity =~ /^(restaurant|cafe|fast_food)$/][!name][noname!=yes] { 159 159 throwOther: tr("restaurant without name"); 160 160 assertMatch: "node amenity=restaurant"; 161 assertNoMatch: "node amenity=restaurant noname=yes"; 161 162 assertNoMatch: "node amenity=restaurant name=Foobar"; 162 163 } -
trunk/data/validator/highway.mapcss
r7926 r7932 44 44 } 45 45 46 way[highway=unclassified][!name] {46 way[highway=unclassified][!name][noname!=yes] { 47 47 throwOther: tr("Unnamed unclassified highway"); 48 48 assertMatch: "way highway=unclassified"; 49 assertNoMatch: "way highway=unclassified noname=yes"; 49 50 assertNoMatch: "way highway=unclassified name=Foo"; 50 51 }
Note:
See TracChangeset
for help on using the changeset viewer.