Changeset 15930 in josm


Ignore:
Timestamp:
2020-02-25T21:34:48+01:00 (5 years ago)
Author:
Klumbumbus
Message:

fix #18767 - Add navigationaid=als|papi|vasi combo to aeroway=navigationaid preset, add own icons for papi and vasi, icons self created, PD and CC0 licensed (inspired by https://en.wikipedia.org/wiki/File:Comparison_visual_landing_systems.svg), warn about navigationaid=approach_light and navigationaid="ALS (Approach lighting system)"

Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/data/defaultpresets.xml

    r15919 r15930  
    27872787            <link wiki="Tag:aeroway=navigationaid" />
    27882788            <key key="aeroway" value="navigationaid" />
     2789            <combo key="navigationaid" text="Type" values_searchable="true">
     2790                <list_entry value="als" icon="presets/transport/airport/navigationaid.svg" short_description="Approach lighting system" />
     2791                <list_entry value="papi" icon="presets/transport/airport/papi.svg" short_description="Precision approach path indicator" />
     2792                <list_entry value="vasi" icon="presets/transport/airport/vasi.svg" short_description="Visual approach slope indicator" />
     2793            </combo>
    27892794        </item> <!-- Navigation aid -->
    27902795        <item name="Windsock" icon="presets/transport/airport/windsock.svg" type="node" preset_name_label="true">
  • trunk/data/validator/deprecated.mapcss

    r15867 r15930  
    19361936  fixChangeKey: "car => motorcar";
    19371937}
     1938
     1939/* #18767 */
     1940*[navigationaid=approach_light],
     1941*[navigationaid="ALS (Approach lighting system)"] {
     1942  throwWarning: tr("{0} is deprecated", "{0.tag}");
     1943  suggestAlternative: "navigationaid=als";
     1944  group: tr("deprecated tagging");
     1945  fixAdd: "navigationaid=als";
     1946}
  • trunk/styles/standard/elemstyles.mapcss

    r15829 r15930  
    39143914    set icon_z17;
    39153915}
     3916node[aeroway=navigationaid][navigationaid=papi] {
     3917    icon-image: "presets/transport/airport/papi.svg";
     3918    set icon_z17;
     3919}
     3920node[aeroway=navigationaid][navigationaid=vasi] {
     3921    icon-image: "presets/transport/airport/vasi.svg";
     3922    set icon_z17;
     3923}
    39163924node[aeroway=windsock] {
    39173925    icon-image: "presets/transport/airport/windsock.svg";
Note: See TracChangeset for help on using the changeset viewer.