Changeset 7872 in josm for trunk/data
- Timestamp:
- 2014-12-22T23:17:15+01:00 (10 years ago)
- Location:
- trunk/data/validator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/combinations.mapcss
r7819 r7872 202 202 } 203 203 204 /* any other *_name tag but not a name, see #10837 */205 *[/_name$/][!name] {204 /* any other *_name tag (except old_name, loc_name and uic_name) but not a name , see #10837 */ 205 *[/_name$/][!name][!old_name][!loc_name][!uic_name] { 206 206 throwWarning: tr("alternative name without {0}", "{1.key}"); 207 207 } -
trunk/data/validator/numeric.mapcss
r6861 r7872 140 140 throwWarning: tr("{0} must be a numeric value", "{0.key}"); 141 141 } 142 143 /* lanes* must be an integer positive number only, see #10837 */ 144 way[highway][lanes][lanes !~ /^[1-9]([0-9]*)$/], 145 way[highway]["lanes:backward"]["lanes:backward" !~ /^[1-9]([0-9]*)$/], 146 way[highway]["lanes:forward"]["lanes:forward" !~ /^[1-9]([0-9]*)$/] { 147 throwError: tr("{0} must be a positive integer number", "{1.key}"); 148 assertMatch: "way lanes=-1"; 149 assertMatch: "way lanes=5.5"; 150 assertMatch: "way lanes=1;2"; 151 assertMatch: "way lanes:forward=-1"; 152 assertMatch: "way lanes:fobackward=-1"; 153 assertNoMatch: "way lanes=1"; 154 }
Note:
See TracChangeset
for help on using the changeset viewer.