Changeset 8045 in josm


Ignore:
Timestamp:
2015-02-11T00:55:31+01:00 (10 years ago)
Author:
Klumbumbus
Message:

fix #6363 - downgrade "Style for inner way equals multipolygon" validator warning to info level as this is no data error. Make the message more clear. Use own fill color for some landuses.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/validation/tests/MultipolygonTest.java

    r7583 r8045  
    237237                            l.add(r);
    238238                            l.add(wInner);
    239                             addError(r, new TestError(this, Severity.WARNING, tr("Style for inner way equals multipolygon"),
     239                            addError(r, new TestError(this, Severity.OTHER, tr("With the currently used mappaint style the style for inner way equals the multipolygon style"),
    240240                                    INNER_STYLE_MISMATCH, l, Collections.singletonList(wInner)));
    241241                        }
  • trunk/styles/standard/elemstyles.mapcss

    r8040 r8045  
    29712971}
    29722972area[landuse=farm],
    2973 area[landuse=farmland],
    2974 area[landuse=meadow],
     2973area[landuse=farmland] {
     2974    fill-color: farmland#b8e0b1;
     2975}
     2976area[landuse=meadow] {
     2977    fill-color: meadow#b1e0b6;
     2978}
    29752979area[landuse=vineyard],
    29762980area[landuse=orchard] {
     
    29902994    fill-color: forest#b1efc8;
    29912995}
    2992 area[landuse=allotments],
     2996area[landuse=allotments] {
     2997    fill-color: allotments#5dbf80;
     2998}
    29932999area[landuse=greenhouse_horticulture],
    2994 area[landuse=plant_nursery],
     3000area[landuse=plant_nursery] {
     3001    fill-color: green#b1e0c2;
     3002}
    29953003area[landuse=grass] {
    2996     fill-color: green#b1e0c2;
     3004    fill-color: grass#97ca96;
    29973005}
    29983006area[landuse=residential] {
Note: See TracChangeset for help on using the changeset viewer.