Ticket #17371: combinationmapcss.2.patch

File combinationmapcss.2.patch, 1.9 KB (added by abalosc1, 7 years ago)

updated some to be info level warnings. removed place without name

  • data/validator/combinations.mapcss

    From 4eaa8f0b6af9d4dfdc60dbb2dfc6c5faef32f2ca Mon Sep 17 00:00:00 2001
    From: Clarisse Abalos <clarisse.abalos@radiantsolutions.com>
    Date: Mon, 25 Feb 2019 15:20:13 -0500
    Subject: [PATCH] add keepright combinations
    
    ---
     data/validator/combinations.mapcss | 29 ++++++++++++++++++++++++++++-
     1 file changed, 28 insertions(+), 1 deletion(-)
    
    diff --git a/data/validator/combinations.mapcss b/data/validator/combinations.mapcss
    index f10674b..c56a5a3 100644
    a b relation[route=ski ][!piste:type][type=route],  
    131131*[aeroway=terminal][!building],
    132132*[power=generator][!generator:source],
    133133*[amenity=social_facility][!social_facility],
    134 *[amenity=place_of_worship][!denomination],
    135134*[amenity=place_of_worship][!religion] {
    136135  throwWarning: tr("{0} without {1}", "{0.tag}", "{1.key}");
    137136  group: tr("missing tag");
    way[highway][lanes][!lanes:forward][!lanes:backward][oneway!=yes][oneway!=-1][ju  
    546545node[emergency=fire_hydrant][fire_hydrant:count][fire_hydrant:count!=1] {
    547546  throwOther: tr("{0} together with {1}. Tag each hydrant separately.", "{0.tag}", "{1.tag}");
    548547}
     548 
     549/* Keep Right Point of interest without name - 110 */
     550
     551*[!name][amenity=place_of_worship],
     552*[!name][amenity=pub],
     553*[!name][amenity=restaurant],
     554*[!name][amenity=school],
     555*[!name][amenity=university],
     556*[!name][amenity=hospital],
     557*[!name][amenity=library],
     558*[!name][amenity=theatre],
     559*[!name][amenity=courthouse],
     560*[!name][amenity=bank],
     561*[!name][amenity=cinema],
     562*[!name][amenity=pharmacy],
     563*[!name][amenity=cafe],
     564*[!name][amenity=fast_food],
     565*[!name][amenity=fuel] {
     566    throwWarning: tr("{0} without {1}", "{1.tag}", "{0.key}");
     567    group: tr("missing tag");
     568}
     569
     570*[!ele][natural=peak],
     571*[!ele][mountain_pass=yes],
     572*[!denomination][amenity=place_of_worship] {
     573    throwOther: tr("{0} without {1}", "{1.tag}", "{0.key}");
     574    group: tr("missing tag");
     575}