Changeset 18552 in josm for trunk/resources/data/validator


Ignore:
Timestamp:
2022-09-08T15:27:14+02:00 (2 years ago)
Author:
taylor.smock
Message:

Fix #21396: Add/ignore popular tags

  • Ignores
    • maxspeed:type
  • Ignores in TODO section (now sorted)
    • advertising=board
    • amenity=loading_dock
    • amenity=parcel_locker
    • amenity=payment_terminal
    • barrier=sliding_gate
    • boundary=forest_compartment
    • craft=grinding_mill
    • emergency=access_point
    • healthcare:speciality=general
    • hedge=hedge_bank
    • historic=bomb_crater
    • indoor=area
    • leisure=sports_hall
    • man_made=courtyard
    • man_made=gantry
    • military=trench
    • natural=crevasse
    • path=crossing
    • railway=proposed
    • road_marking=solid_stop_line
    • oneway (F::oneway/S:oneway:), but indicates that this might need better software support
  • Issues:
    • Suggest paving_stones:length/paving_stones:width for paving_stones:30
    • Indicate type="turnlanes:turns" is deprecated
  • Preset updates
    • Modify lit to be more than yes/no
    • Add rock to surfaces
    • Add none to religions (other_religions)
    • Add locked (text="Usually locked" -- there is probably better wording for this)
    • Add pavilion to building
    • Add shop as a possible value for entrance
    • Add product as an optional key for man_made=works. With all currently documented values.
    • Add fuel to possible values for vending
Location:
trunk/resources/data/validator
Files:
3 edited

Legend:

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

    r18545 r18552  
    24002400}
    24012401
     2402/* Replaced by type=connectivity */
     2403*[type="turnlanes:turns"] {
     2404  throwWarning: tr("{0} is deprecated", "{0.tag}");
     2405  suggestAlternative: "type=connectivity";
     2406  group: tr("deprecated tagging");
     2407}
     2408
    24022409/* When tags are deprecated they should be added to ignoretags.cfg too. */
  • trunk/resources/data/validator/highway.mapcss

    r18523 r18552  
    208208  assertNoMatch: "way highway=trunk";
    209209}
     210
     211/* #21396 comment 39 */
     212*[surface=~/^paving_stones:(\d+)$/] {
     213  throwWarning: tr("{0} with trailing number", "paving_stones");
     214  group: tr("questionable value (ending with a number)");
     215  suggestAlternative: "paving_stones:length";
     216  suggestAlternative: "paving_stones:width";
     217}
  • trunk/resources/data/validator/ignoretags.cfg

    r18545 r18552  
    104104E:interval
    105105E:maxspeed
     106E:maxspeed:type
    106107E:maxstay
    107108E:maxweight:signed
     
    732733E:voltage-low
    733734E:toilet
     735K:type=turnlanes:turns
     736K:surface=paving_stones:30
    734737;
    735738; Tags not yet decided (to remove from this section when added or moved up when deprecated)
    736 ; see josm tickets: 17770 15309 15774 16315 16658 16793 19982
    737 ;
    738 K:service=irrigation
    739 K:man_made=tunnel
     739; see josm tickets: 17770 15309 15774 16315 16658 16793 19982 21396
     740;
     741K:advertising=board
    740742K:amenity=childcare
    741 K:landuse=logging
    742 K:indoor=wall
    743 K:indoor=room
    744 K:indoor=corridor
    745 K:highway=corridor
     743K:amenity=loading_dock
     744K:amenity=parcel_locker
     745K:amenity=payment_terminal
     746K:barrier=sliding_gate
     747K:boundary=forest_compartment
     748K:craft=grinding_mill
    746749K:crossing=zebra
     750K:emergency=access_point
     751K:golf=cartpath
     752K:healthcare:speciality=general
    747753K:healthcare=alternative
     754K:healthcare=centre
     755K:healthcare=clinic
    748756K:healthcare=dentist
    749757K:healthcare=doctor
    750758K:healthcare=hospital
    751759K:healthcare=pharmacy
    752 K:healthcare=clinic
    753 K:healthcare=centre
    754760K:healthcare=physiotherapist
    755761K:healthcare=yes
    756 K:golf=cartpath
     762K:hedge=hedge_bank
     763K:highway=corridor
     764K:historic=bomb_crater
     765K:indoor=area
     766K:indoor=corridor
     767K:indoor=room
     768K:indoor=wall
     769K:landuse=logging
     770; See #21964/#21907 for WIP patch for leisure=sports_hall
     771K:leisure=sports_hall
     772K:man_made=courtyard
     773K:man_made=gantry
     774K:man_made=tunnel
    757775K:man_made=water_tap
     776K:military=trench
     777K:natural=crevasse
     778K:path=crossing
     779K:railway=proposed
    758780K:railway=tram_crossing
    759781K:railway=tram_level_crossing
     782K:road_marking=solid_stop_line
     783K:service=irrigation
     784
     785; These tags should probably have better software support, but maybe they can be in the appropriate section in this file.
     786; Examples: oneway:moped and cycleway:right:oneway.
     787F::oneway
     788S:oneway:
Note: See TracChangeset for help on using the changeset viewer.