Changeset 16346 in osm


Ignore:
Timestamp:
2009-07-05T19:50:37+02:00 (15 years ago)
Author:
stoecker
Message:

some more cleanups

Location:
applications/editors/josm/plugins/validator
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/validator/ignoretags.cfg

    r16319 r16346  
    1212S:au.gov.abs:
    1313S:qroti:
    14 S:is_in:
     14S:is_in
    1515S:wikipedia
     16S:source_ref:
    1617;
    1718; Ignore valid and semi-valid keys that equal...
     
    2627E:addr:state
    2728E:import_uuid
     29E:image
    2830E:url
     31E:website
    2932E:postal_code
     33E:source:boundary
     34E:hour_on
     35E:hour_off
     36E:tower:type
     37E:rcn_ref
     38E:place_name
    3039;
    3140; Ignore valid and semi-valid keys that end with...
     
    4049;
    4150K:highway=secondary_link
     51K:oneway=-1
     52;
     53; traffic_calming Tags
     54;
     55K:traffic_calming=yes
     56K:traffic_calming=bump
     57K:traffic_calming=chicane
     58K:traffic_calming=cushion
     59K:traffic_calming=hump
     60K:traffic_calming=rumble_strip
     61K:traffic_calming=table
     62K:traffic_calming=choker
    4263;
    4364; Aeroway Key/Value Pairs
    4465;
     66K:aeroway=apron
     67K:aeroway=hanger
     68K:aeroway=runway
    4569K:aeroway=taxiway
    46 K:aeroway=runway
    4770K:aeroway=terminal
    48 K:aeroway=hanger
    4971;
    5072; Amenity Key/Value Pairs
    5173;
    5274K:amenity=bbq
     75;
     76; Cycleway Tags
     77;
     78K:cycleway=track
     79;
     80; Man_made Tags
     81;
     82T:man_made=pipeline|type=water
     83T:man_made=pipeline|type=oil
     84T:man_made=pipeline|type=gas
     85T:man_made=pipeline|type=sewage
     86T:man_made=pipeline|location=underground
     87T:man_made=pipeline|location=underwater
     88T:man_made=pipeline|location=overground
     89;
     90; Military Tags
     91;
     92K:military=airfield
     93K:military=bunker
     94K:military=barracks
     95K:military=danger_area
     96K:military=range
     97K:military=naval_base
    5398;
    5499; Surface Key/Value Pairs
     
    59104; Religious Key/Value Pairs
    60105;
     106T:religion=christian|denomination=anglican
    61107T:religion=muslim|denomination=alaouite
    62108T:religion=jewish|denomination=alternative
     109T:religion=christian|denomination=apostolic
    63110T:religion=jewish|denomination=ashkenazi
     111T:religion=christian|denomination=baptist
    64112T:religion=christian|denomination=catholic
    65113T:religion=christian|denomination=christian_community
     
    121169K:shop=mall
    122170;
     171; Sports Tags
     172;
     173K:sport=boxing
     174K:sport=netball
     175;
    123176; Type Key/Value Pairs
    124177;
  • applications/editors/josm/plugins/validator/src/org/openstreetmap/josm/plugins/validator/tests/UntaggedWay.java

    r14121 r16346  
    7171                if( !tags.containsKey("name") && !tags.containsKey("ref") )
    7272                {
     73                    boolean isRoundabout = false;
    7374                    boolean hasName = false;
    7475                    for( String key : w.keySet())
     
    7778                        if( hasName )
    7879                            break;
     80                        if(key.equals("junction"))
     81                        {
     82                            isRoundabout = w.get("junction").equals("roundabout");
     83                            break;
     84                        }
    7985                    }
    8086
    81                     if( !hasName)
     87                    if( !hasName && !isRoundabout)
    8288                        errors.add( new TestError(this, Severity.WARNING, tr("Unnamed ways"), UNNAMED_WAY, w) );
     89                    else if(isRoundabout)
     90                        errors.add( new TestError(this, Severity.WARNING, tr("Unnamed Junction"), UNNAMED_WAY, w) );
    8391                }
    8492            }
Note: See TracChangeset for help on using the changeset viewer.