Changeset 19267 in josm for trunk/resources


Ignore:
Timestamp:
2024-12-10T17:52:19+01:00 (3 days ago)
Author:
taylor.smock
Message:

Fix #22035: Add preset amenity=driver_training (patch by SteveLz, modified)

Modifications are as follows:

  • Add similar but different tag links
  • Add rendering for amenity=driver_training when it is a node

amenity=driver_training is different from amenity=driving_school in that
amenity=driver_training is where the student driver can physically drive a
vehicle for practice. amenity=driving_school may also teach theoretical driving
practices and may have physical training aids.

Location:
trunk/resources
Files:
2 edited

Legend:

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

    r19261 r19267  
    47544754            <reference ref="school_common"/>
    47554755            <reference ref="link_contact_address" />
     4756             <preset_link preset_name="Driver Training" text="Similar but different tags:" />
    47564757        </item> <!-- Driving School -->
     4758        <item name="Driver Training" icon="presets/education/driving_school.svg" type="node,closedway,multipolygon" preset_name_label="true">
     4759            <link wiki="Tag:amenity=driver_training" />
     4760            <space />
     4761            <key key="amenity" value="driver_training" />
     4762            <reference ref="name_operator_oh_wheelchair" />
     4763            <combo key="license_classes" text="License Classes" values="A;A1;B;BE;C,A;A1;B;B1;C;C1;D;D1;BE;CE;C1E;DE;D1E" />
     4764            <reference ref="link_contact_address" />
     4765            <preset_link preset_name="Driving School" text="Similar but different tags:" />
     4766        </item> <!-- Driver Training -->
    47574767        <item name="Language school" icon="presets/education/language_school.svg" type="node,closedway,multipolygon" preset_name_label="true">
    47584768            <link wiki="Tag:amenity=language_school" />
  • trunk/resources/styles/standard/elemstyles.mapcss

    r19256 r19267  
    33383338area[amenity=language_school],
    33393339area[amenity=music_school],
    3340 area[amenity=driving_school] {
     3340area[amenity=driving_school],
     3341area[amenity=driver_training] {
    33413342    fill-color: amenity_light#f7efb7;
    33423343}
     
    34653466    set icon_z17;
    34663467}
    3467 node[amenity=driving_school] {
     3468node[amenity=driving_school],
     3469node[amenity=driver_training] {
    34683470    icon-image: "presets/education/driving_school.svg";
    34693471    set icon_z17;
Note: See TracChangeset for help on using the changeset viewer.