Modify ↓
#9586 closed enhancement (fixed)
Add route relations to presets
Reported by: | simon04 | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 14.02 |
Component: | Internal preset | Version: | |
Keywords: | low_hanging_fruit | Cc: |
Description
To improve the route mapping experience as well as the validator, I would like to add all known route relations from http://wiki.openstreetmap.org/wiki/Key:route to the internal presets.
As a start:
-
data/defaultpresets.xml
diff --git a/data/defaultpresets.xml b/data/defaultpresets.xml index 32ab0ad..db5dbeb 100755
a b Note that for a match, at least one positive and no negative is required. 7117 7117 <role key="backward_stop" text="backward halt point" requisite="optional" type="node" /> 7118 7118 </roles> 7119 7119 </item> 7120 <group name="Routes"> 7121 <item name="MTB route" icon="presets/path.png" type="relation"> 7122 <link href="http://wiki.openstreetmap.org/wiki/Mountain_biking" /> 7123 <label text="Edit MTB route" /> 7124 <space /> 7125 <key key="type" value="route" /> 7126 <key key="route" value="mtb" /> 7127 <reference ref="name_ref" /> 7128 <optional> 7129 <text key="distance" text="Distance (km)" /> 7130 <text key="ascent" text="Ascent (m)" /> 7131 <text key="descent" text="Descent (m)" /> 7132 <check key="roundtrip" text="Roundtrip" /> 7133 <text key="symbol" text="Symbol description" /> 7134 <text key="description" text="Description" /> 7135 </optional> 7136 <roles> 7137 <role key="" text="route segment" requisite="required" type="way" /> 7138 </roles> 7139 </item> 7140 </group> <!-- Routes --> 7120 7141 <item name="Route Network" icon="presets/path.png" type="relation"> 7121 7142 <link href="http://wiki.openstreetmap.org/wiki/Relations/Proposed/Network" /> 7122 7143 <label text="Edit Route Network" />
To avoid many untranslated strings, let's wait for the 14.02
release …
As always, nice patches are welcome :-)
Attachments (0)
Change History (7)
comment:1 by , 11 years ago
comment:6 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
In 6810/josm: