Changeset 8701 in josm
- Timestamp:
- 2015-08-28T22:43:26+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/numeric.mapcss
r8700 r8701 81 81 assertNoMatch: "way maxwidth=7 ft"; 82 82 } 83 *[maxweight][maxweight !~ /^(([0-9]+\.?[0-9]*( (t|kg|lbs))?)|([0-9]+\'[0-9]+\.?[0-9]*\"))$/] { 84 throwWarning: tr("{0}: meters is default; period is separator; if units, put space then unit", "maxweight"); 85 assertMatch: "way maxweight=something"; 86 assertMatch: "way maxweight=-5"; 87 assertNoMatch: "way maxweight=2"; 88 assertNoMatch: "way maxweight=6'6\""; 89 assertNoMatch: "way maxweight=2.5"; 90 assertNoMatch: "way maxweight=7 kg"; 91 } 83 92 way[maxspeed][maxspeed !~ /^(signals|none|unposted|variable|walk|[1-9][0-9]*( [a-z]+)?|[A-Z][A-Z]:(urban|rural|living_street|motorway))$/], 84 93 way[maxspeed:forward][maxspeed:forward !~ /^(signals|none|unposted|variable|walk|[1-9][0-9]*( [a-z]+)?|[A-Z][A-Z]:(urban|rural|living_street|motorway))$/],
Note:
See TracChangeset
for help on using the changeset viewer.