Changeset 17950 in josm for trunk


Ignore:
Timestamp:
2021-07-05T22:34:56+02:00 (3 years ago)
Author:
Klumbumbus
Message:

fix #20959 - Add landuse=education (icon black/white version of college/universitiy icon, transformed by LeTopographeFou), deprecate landuse=school, allow users to set different colors for landuse=retail and landuse=commercial

Location:
trunk/resources
Files:
1 added
4 edited

Legend:

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

    r17949 r17950  
    84498449            <combo key="residential" text="Type" values="apartments,rural,urban" values_context="landuse type" />
    84508450        </item> <!-- Residential Area -->
     8451        <item name="Education" icon="presets/education/education.svg" type="closedway,multipolygon" preset_name_label="true">
     8452            <link wiki="Tag:landuse=education" />
     8453            <space />
     8454            <key key="landuse" value="education" />
     8455            <reference ref="optional_name" />
     8456        </item> <!-- Education -->
    84518457        <item name="Retail" icon="presets/shop/mall.svg" type="closedway,multipolygon" preset_name_label="true">
    84528458            <link wiki="Tag:landuse=retail" />
  • trunk/resources/data/validator/deprecated.mapcss

    r17944 r17950  
    965965  suggestAlternative: "amenity=school";
    966966  suggestAlternative: "amenity=university";
     967  suggestAlternative: "landuse=education";
    967968  group: tr("deprecated tagging");
    968969}
     
    22732274}
    22742275
     2276/* #20959 */
     2277*[landuse=school] {
     2278  throwWarning: tr("{0} is deprecated", "{0.tag}");
     2279  suggestAlternative: "amenity=college";
     2280  suggestAlternative: "amenity=school";
     2281  suggestAlternative: "amenity=university";
     2282  suggestAlternative: "landuse=education";
     2283  group: tr("deprecated tagging");
     2284}
     2285
    22752286/* When tags are deprecated they should be added to ignoretags.cfg too. */
  • trunk/resources/data/validator/ignoretags.cfg

    r17942 r17950  
    695695E:service:bicycle:chaintool
    696696E:building:roof:shape
     697K:landuse=school
    697698;
    698699; Tags not yet decided (to remove from this section when added or moved up when deprecated)
  • trunk/resources/styles/standard/elemstyles.mapcss

    r17933 r17950  
    38833883    fill-color: farmyard#f0f0f0;
    38843884}
    3885 area[landuse=retail],
     3885area[landuse=education] {
     3886    fill-color: education#f7efb7;
     3887}
     3888area[landuse=retail] {
     3889    fill-color: retail#ffc4ee;
     3890}
    38863891area[landuse=commercial] {
    3887     fill-color: retail#ffc4ee;
     3892    fill-color: commercial#ffc4ee;
    38883893}
    38893894area[landuse=industrial] {
Note: See TracChangeset for help on using the changeset viewer.