Changeset 7737 in josm for trunk/data


Ignore:
Timestamp:
2014-11-19T23:10:12+01:00 (10 years ago)
Author:
Klumbumbus
Message:

Add validator warnings for linear waterway=* features on nodes. Deprecate waterway=water_point,waterway=waste_disposal and watermay=mooring in favor of amenity=water_point, amenity=waste_disposal and mooring=yes.

Location:
trunk/data/validator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/validator/deprecated.mapcss

    r7707 r7737  
    344344  throwWarning: tr("{0}={1} is unspecific. Please replace ''{1}'' by ''left'', ''right'' or ''both''.", "{0.key}", "{0.value}");
    345345}
     346
     347*[waterway=water_point],
     348*[waterway=waste_disposal] {
     349  throwWarning: tr("{0} is deprecated", "{0.tag}");
     350  fixChangeKey: "waterway => amenity";
     351}
     352*[waterway=mooring] {
     353  throwWarning: tr("{0} is deprecated", "{0.tag}");
     354  fixRemove: "waterway";
     355  fixAdd: "mooring=yes";
     356}
  • trunk/data/validator/geometry.mapcss

    r7735 r7737  
    33node[bridge?],
    44node[sidewalk],
     5node[waterway=river],
     6node[waterway=riverbank],
     7node[waterway=canal],
     8node[waterway=wadi],
     9node[waterway=stream],
     10node[waterway=ditch],
    511node[natural=coastline],
    612node[natural=ridge],
Note: See TracChangeset for help on using the changeset viewer.