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


Ignore:
Timestamp:
2024-08-06T21:54:55+02:00 (17 months ago)
Author:
taylor.smock
Message:

Add/ignore documented popular tags

Add

Ignored tags:

Note:
Most gate barriers were changed to either be a node or a way, as it allows for
people to micromap.

Location:
trunk/resources/data/validator
Files:
3 edited

Legend:

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

    r19025 r19169  
    25302530  suggestAlternative: "{1.key}";
    25312531}
     2532/* From the canvec import */
     2533*[natural=landform][landform=esker] {
     2534  throwWarning: tr("{0} should be replaced by {1}", "{1.tag}", "geological=esker";
     2535  group: tr("deprecated tagging");
     2536  suggestAlternative: "natural=ridge or geological=esker";
     2537}
     2538*[natural=landform][landform=moraine] {
     2539  throwWarning: tr("{0} should be replaced by {1}", "{1.tag}", "geological=moraine";
     2540  group: tr("deprecated tagging");
     2541  suggestAlternative: "geological=moraine";
     2542}
     2543*[natural=landform][landform=beach] {
     2544  throwWarning: tr("{0} should be replaced by {1}", "{1.tag}", "natural=beach";
     2545  group: tr("deprecated tagging");
     2546  suggestAlternative: "natural=beach";
     2547}
     2548*[natural=landform][landform=tundra_polygon] {
     2549  throwWarning: tr("{0} should be replaced by {1}", "{1.tag}", "natural=tundra";
     2550  group: tr("deprecated tagging");
     2551  suggestAlternative: "natural=tundra or natural=fell";
     2552}
    25322553
    25332554/* When tags are deprecated they should be added to ignoretags.cfg too. */
  • trunk/resources/data/validator/ignoretags.cfg

    r19027 r19169  
    802802; orchard=meadow_orchard seems to be more of a boolean value, "also happens to be a meadow". Don't know how we want to handle it.
    803803K:orchard=meadow_orchard
     804K:meadow=meadow_orchard
    804805; boundary=religious_administration is not well documented (2023-09-21)
    805806K:boundary=religious_administration
     
    815816K:road_marking=solid_stop_line
    816817K:service=irrigation
     818; canvec import
     819K:natural=landform
     820K:landform=esker
     821K:landform=moraine
     822K:landform=beach
     823K:landform=tundra_polygon
     824; This seems to be a region specific tag.
     825K:valley=balka
    817826
    818827; These tags should probably have better software support, but maybe they can be in the appropriate section in this file.
  • trunk/resources/data/validator/unnecessary.mapcss

    r19028 r19169  
    6868
    6969/* see ticket #7639 -- Warn when a node has the same tags as its parent way. */
    70 way >:sameTags node:tagged {
     70/* But don't warn on barrier tags -- a common mapping method will have a barrier on the routable way and then the micromapped barrier */
     71way[!barrier] >:sameTags node:tagged {
    7172  throwWarning: tr("Nodes duplicating parent way tags");
    7273}
Note: See TracChangeset for help on using the changeset viewer.