Changeset 19222 in josm


Ignore:
Timestamp:
2024-09-13T12:47:56+02:00 (3 months ago)
Author:
taylor.smock
Message:

Add/ignore popular tags

Ignore:

  • admin_type:PH: Highly localized to the Philippines
  • residential:condominium: Deprecated -- wiki suggests residential=apartments + condo=*
  • sidewalk: This is replaced by sidewalk:both, but is still valid tagging.

Add:

  • managed (to wetland, wood, fell, and heath)
  • sidewalk:{both|left|right}: We already had validator rules for these, this just adds them to presets. Note that sidewalk and sidewalk:both are similar, but sidewalk=separate is unspecific as to the side of the sidewalk.
Location:
trunk/resources/data
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/resources/data/defaultpresets.xml

    r19212 r19222  
    533533        </optional>
    534534    </chunk>
     535    <chunk id="managed">
     536        <optional>
     537            <combo key="managed" text="Managed" values="no,yes,grazing,undergrowth,mowing,scientific" values_context="Key:managed" />
     538        </optional>
     539    </chunk>
    535540    <chunk id="substance">
    536541        <combo key="substance" text="Substance" values="water,hot_water,steam,sewage,gas,oil" values_sort="false" values_searchable="true" />
     
    936941                <text key="width" text="Width (meters)" />
    937942                <combo key="bus_bay" text="Bus bay" values="both,left,right" />
    938                 <combo key="sidewalk" text="Sidewalk" values="both,left,right,no,separate" values_context="sidewalk" />
     943                <combo key="sidewalk:both" text="Sidewalk (both)" values="yes,no,separate" values_context="sidewalk" />
     944                <combo key="sidewalk:left" text="Sidewalk (left)" values="yes,no,separate" values_context="sidewalk" />
     945                <combo key="sidewalk:right" text="Sidewalk (right)" values="yes,no,separate" values_context="sidewalk" />
    939946                <checkgroup columns="3">
    940947                    <check key="dual_carriageway" text="Divided highway" disable_off="true" />
     
    24052412            <combo key="wetland" text="Type" values="bog,fen,mangrove,marsh,reedbed,saltern,saltmarsh,string_bog,swamp,tidalflat,wet_meadow" values_searchable="true" />
    24062413            <check key="seasonal" text="Seasonal" disable_off="true" />
     2414            <reference ref="managed" />
    24072415        </item> <!-- Wetland -->
    24082416        <item name="Mud" icon="presets/landuse/mud.svg" type="closedway,multipolygon" preset_name_label="true">
     
    92879295            <text key="name" text="Name" />
    92889296            <reference ref="leaf" />
     9297            <reference ref="managed" />
    92899298        </item> <!-- Wood -->
    92909299        <item name="Forest" icon="presets/landmark/forest.svg" type="closedway,multipolygon" preset_name_label="true">
     
    93409349            <key key="natural" value="fell" />
    93419350            <text key="name" text="Name" />
     9351            <reference ref="managed" />
    93429352        </item> <!-- Fell -->
    93439353        <item name="Scrub" icon="presets/landuse/scrub.svg" type="closedway,multipolygon" preset_name_label="true">
     
    93599369            <key key="natural" value="heath" />
    93609370            <text key="name" text="Name" />
     9371            <reference ref="managed" />
    93619372        </item> <!-- Heath -->
    93629373        <item name="Sand" icon="presets/landuse/sand.svg" type="closedway,multipolygon" preset_name_label="true">
  • trunk/resources/data/validator/deprecated.mapcss

    r19212 r19222  
    25782578  suggestAlternative: "oneway:bicycle=no + cycleway:right=* + cycleway:left=* + cycleway:right:oneway=-1";
    25792579}
     2580*[residential=condominium] {
     2581  throwWarning: tr("{0} is deprecated", "{0.tag}");
     2582  group: tr("deprecated tagging");
     2583  suggestAlternative: "residential=apartments + condo=*"
     2584}
    25802585
    25812586/* When tags are deprecated they should be added to ignoretags.cfg too. */
  • trunk/resources/data/validator/ignoretags.cfg

    r19212 r19222  
    169169E:genus:de
    170170E:heritage:operator
     171E:admin_type:PH
     172E:sidewalk
    171173;
    172174; Ignore valid and semi-valid keys that end with...
     
    753755E:ref:gnis
    754756E:tiger:PLACENS
     757K:residential=condominium
    755758;
    756759; Tags not yet decided (to remove from this section when added or moved up when deprecated)
Note: See TracChangeset for help on using the changeset viewer.