Changeset 18519 in josm for trunk/resources


Ignore:
Timestamp:
2022-07-14T16:33:31+02:00 (2 years ago)
Author:
taylor.smock
Message:

Fix #21630: Drop the "Riverbank" template (patch by zelonewolf)

TagInfo(1) shows that usage of waterway=riverbank has cratered over
the past year. As of writing, the total number of objects with
waterway=riverbank is less than 5,000 objects, and due to the significant
drop in usage, can be considered to be deprecated instead of
in use.

(1) taginfo:tags/waterway=riverbank#chronology

Location:
trunk/resources/data
Files:
3 edited

Legend:

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

    r18504 r18519  
    22062206            <link wiki="Tag:natural=water" />
    22072207            <space />
    2208             <label text="A body of standing water, such as a lake or pond." />
     2208            <label text="A body of water, such as a lake, pond or river." />
    22092209            <space />
    22102210            <key key="natural" value="water" />
     
    22262226            </combo>
    22272227            <check key="salt" text="Salt Water" disable_off="true" />
    2228             <check key="intermittent" text="Intermittent (contains not permanently water)" disable_off="true" />
     2228            <check key="intermittent" text="Intermittent (does not permanently contain water)" disable_off="true" />
    22292229            <check key="tidal" text="In the tidal range" disable_off="true" />
    22302230            <text key="ele" text="Elevation (meters)" length="10" />
     
    22402240            <text key="name" text="Name" />
    22412241        </item> <!-- Coastline -->
    2242         <item name="Riverbank" icon="presets/nautical/waterway_riverbank.svg" type="closedway,multipolygon" preset_name_label="true">
    2243             <link wiki="Tag:waterway=riverbank" />
    2244             <space />
    2245             <key key="waterway" value="riverbank" />
    2246             <text key="name" text="Name" />
    2247             <check key="intermittent" text="Intermittent (contains not permanently water)" disable_off="true" />
    2248             <check key="tidal" text="In the tidal range" disable_off="true" />
    2249         </item> <!-- Riverbank -->
    22502242        <separator/>
    22512243        <item name="Wetland" icon="presets/landuse/wetland.svg" type="closedway,multipolygon" preset_name_label="true">
  • trunk/resources/data/validator/deprecated.mapcss

    r18405 r18519  
    20882088}
    20892089
     2090/* #21630 */
     2091*[waterway=riverbank][!natural][!water],
     2092*[waterway=riverbank][natural=water][!water],
     2093*[waterway=riverbank][!natural][water=river],
     2094*[waterway=riverbank][natural=water][water=river] {
     2095  throwWarning: tr("{0} is deprecated", "{0.tag}");
     2096  suggestAlternative: "natural=water + water=river";
     2097  group: tr("deprecated tagging");
     2098  fixAdd: "natural=water";
     2099  fixAdd: "water=river";
     2100  fixRemove: "waterway";
     2101  assertMatch: "way waterway=riverbank";
     2102  assertMatch: "way waterway=riverbank natural=water";
     2103  assertMatch: "way waterway=riverbank water=river";
     2104  assertMatch: "way waterway=riverbank natural=water water=river";
     2105  assertNoMatch: "way waterway=riverbank natural=shingle";
     2106  assertNoMatch: "way waterway=riverbank water=lake";
     2107  assertNoMatch: "way waterway=riverbank natural=water water=lake";
     2108  assertNoMatch: "way waterway=riverbank natural=shingle water=river";
     2109}
     2110*[waterway=riverbank][natural][natural!=water],
     2111*[waterway=riverbank][water][water!=river] {
     2112  throwWarning: tr("{0} is deprecated", "{0.tag}");
     2113  suggestAlternative: "natural=water + water=river";
     2114  group: tr("deprecated tagging");
     2115  assertMatch: "way waterway=riverbank natural=shingle";
     2116  assertMatch: "way waterway=riverbank water=lake";
     2117  assertNoMatch: "way waterway=riverbank";
     2118  assertNoMatch: "way waterway=riverbank natural=water";
     2119  assertNoMatch: "way waterway=riverbank water=river";
     2120  assertNoMatch: "way waterway=riverbank natural=water water=river";
     2121}
     2122
    20902123node[amenity=bench][capacity][!seats],
    20912124way[amenity=bench][capacity][!seats] {
  • trunk/resources/data/validator/ignoretags.cfg

    r18505 r18519  
    690690E:exit_to
    691691K:water=riverbank
     692K:waterway=riverbank
    692693K:stream=intermittent
    693694K:shop=lamps
Note: See TracChangeset for help on using the changeset viewer.