Changeset 11153 in josm for trunk/data


Ignore:
Timestamp:
2016-10-22T01:23:55+02:00 (3 years ago)
Author:
Klumbumbus
Message:
  • add display_values and values_sort=false for Route network values (iwn,nwn,...)
  • warn about missing sport key on pitches
  • see #13804 - group unnecessary tag warnings
  • add own colors for sport=multi|running|athletics to avoid false positive validator warning in stadiums (inner style equals MP style)
  • fix #13824 - adjust sport=equestrian|horse_racing presets
Location:
trunk/data
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r11150 r11153  
    3030    </chunk>
    3131    <chunk id="riding_surface">
    32         <combo key="leisure" text="Type" values="pitch,sports_centre,stadium,track" values_context="riding" />
     32        <combo key="leisure" text="Type" values="horse_riding,pitch,sports_centre,stadium,track" values_context="riding" />
    3333        <combo key="surface" text="Surface" values="grass,sand,clay,dirt,fine_gravel,ground,mud,unpaved,compacted" />
    3434    </chunk>
     
    99749974                <key key="route" value="bicycle"/>
    99759975                <text key="name" text="Name" />
    9976                 <combo key="network" text="Network" values="icn,ncn,rcn,lcn" />
     9976                <combo key="network" text="Network" values="icn,ncn,rcn,lcn" display_values="international,national,regional,local" values_sort="false" />
    99779977                <optional>
    99789978                    <reference ref="route_hikebike_optionals" />
     
    1002110021                <key key="route" value="hiking"/>
    1002210022                <text key="name" text="Name" />
    10023                 <combo key="network" text="Network" values="iwn,nwn,rwn,lwn" />
     10023                <combo key="network" text="Network" values="iwn,nwn,rwn,lwn" display_values="international,national,regional,local" values_sort="false"/>
    1002410024                <optional>
    1002510025                    <reference ref="route_hikebike_optionals" />
     
    1003710037                <key key="route" value="foot"/>
    1003810038                <text key="name" text="Name" />
    10039                 <combo key="network" text="Network" values="rwn,lwn" />
     10039                <combo key="network" text="Network" values="rwn,lwn" display_values="regional,local" values_sort="false" />
    1004010040                <optional>
    1004110041                    <reference ref="route_hikebike_optionals" />
     
    1005310053                <key key="route" value="horse"/>
    1005410054                <text key="name" text="Name" />
    10055                 <combo key="network" text="Network" values="ihn,nhn,rhn,lhn" />
     10055                <combo key="network" text="Network" values="ihn,nhn,rhn,lhn" display_values="international,national,regional,local" values_sort="false" />
    1005610056                <optional>
    1005710057                    <reference ref="route_hikebike_optionals" />
  • trunk/data/validator/combinations.mapcss

    r11146 r11153  
    129129relation[route=ski][!piste:type][type=route],
    130130*[tourism=information][!information],
     131*[leisure=pitch][!sport],
    131132*[aeroway=terminal][!building],
    132133*[power=generator][!generator:source],
  • trunk/data/validator/unnecessary.mapcss

    r11146 r11153  
    77  /* see #9365 - Useless tag layer=0 */
    88  throwWarning: tr("{0} is unnecessary", "{0.tag}");
     9  group: tr("unnecessary tag");
    910  fixRemove: "{0.key}";
    1011  assertMatch: "way layer=0";
     
    2021area:closed[shop    ][area?] {
    2122  throwWarning: tr("{0} is unnecessary for {1}", "{2.key}", "{1.key}");
     23  group: tr("unnecessary tag");
    2224  fixRemove: "{2.key}";
    2325}
Note: See TracChangeset for help on using the changeset viewer.