Changeset 14940 in josm for trunk/data/validator/numeric.mapcss
- Timestamp:
- 2019-03-29T22:00:16+01:00 (7 years ago)
- File:
-
- 1 edited
-
trunk/data/validator/numeric.mapcss (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/data/validator/numeric.mapcss
r14728 r14940 345 345 } 346 346 347 /* #17530 */ 348 *[ele][ele =~ /^-?[0-9]+\.[0-9][0-9][0-9]+$/] { 349 throwWarning: tr("{0}", "{0.tag}"); 350 group: tr("Unnecessary amount of decimal places"); 351 fixAdd: concat("ele=", round(tag("ele")*100)/100); 352 assertNoMatch: "node ele=12"; 353 assertNoMatch: "node ele=1.12"; 354 assertMatch: "node ele=12.123"; 355 assertMatch: "node ele=12.1234"; 356 assertMatch: "node ele=-12.6789"; 357 assertNoMatch: "node ele=12.123 m"; 358 assertNoMatch: "node ele=high"; 359 } 360 347 361 /* #15774 */ 348 362 node[fire_hydrant:pressure="#"] {
Note:
See TracChangeset
for help on using the changeset viewer.
