Changes between Initial Version and Version 1 of Presets/IsSidepath


Ignore:
Timestamp:
2021-04-25T15:25:12+02:00 (5 years ago)
Author:
skyper
Comment:

Quick and "dirty" preset for the proposed tags

Legend:

Unmodified
Added
Removed
Modified
  • Presets/IsSidepath

    v1 v1  
     1= is_sidepath
     2\\
     3
     4Preset for the proposed `is_sidepath=yes` and its subkeys.
     5\\ \\
     6
     7== Supported Tags
     8=== Main tag
     9* [osmwiki:Proposed_features/Key:is_sidepath is_sidepath=yes]
     10
     11=== Secondary tags
     12* `is_sidepath:of=*`
     13* `is_sidepath:of:name=*`
     14* `is_sidepath:of:ref=*`
     15
     16==  Help needed
     17* Please, feel free to enhance and update the preset.
     18* Due to #11392 translation is still only possible within the source code.
     19* Still needs some nice icons as vector graphic.
     20
     21== Preset Code
     22
     23{{{
     24#!preset
     25<?xml version="1.0" encoding="UTF-8"?>
     26<presets xmlns="http://josm.openstreetmap.de/tagging-preset-1.0"
     27  link="https://josm.openstreetmap.de/wiki/Presets/IsSidepath"
     28  shortdescription="is_sidepath"
     29  description="Preset for the proposed `is_sidepath=yes` and its subkeys"
     30  author="skyper"
     31  version="0.1.[[revision]]_[[date]]">
     32
     33  <!-- FIXME, icons still missing -->
     34  <item name="is_sidepath" preset_name_label="true" type="way">
     35      <link wiki="Proposed_features/Key:is_sidepath" />
     36      <space />
     37      <label text="Tags to describe the relationship between the major road and its side paths." />
     38      <space />
     39      <check key="is_sidepath" text="Is side path?" disable_off="true" default="on" match="key" />
     40      <combo key="is_sidepath:of" text="Highway type of the major road" values="trunk,trunk_link,primary,primary_link,secondary,secondary_link,tertiary,tertiary_link,unclassified,residential,service" values_searchable="true" values_sort="false" match="key" />
     41      <text key="is_sidepath:of:name" text="Name of the major road" alternative_autocomplete_keys="is_sidepath:of:name,name" match="key" />
     42      <text key="is_sidepath:of:ref" text="Reference of the major road" alternative_autocomplete_keys="is_sidepath:of:ref,ref" match="key" />
     43  </item> <!-- is_sidepath -->
     44
     45</presets>
     46}}}