﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
9586	Add route relations to presets	simon04	team	"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:
{{{
#!patch
diff --git a/data/defaultpresets.xml b/data/defaultpresets.xml
index 32ab0ad..db5dbeb 100755
--- a/data/defaultpresets.xml
+++ b/data/defaultpresets.xml
@@ -7117,6 +7117,27 @@ Note that for a match, at least one positive and no negative is required.
                 <role key=""backward_stop"" text=""backward halt point"" requisite=""optional"" type=""node"" />
             </roles>
         </item>
+        <group name=""Routes"">
+            <item name=""MTB route"" icon=""presets/path.png"" type=""relation"">
+                <link href=""http://wiki.openstreetmap.org/wiki/Mountain_biking"" />
+                <label text=""Edit MTB route"" />
+                <space />
+                <key key=""type"" value=""route"" />
+                <key key=""route"" value=""mtb"" />
+                <reference ref=""name_ref"" />
+                <optional>
+                    <text key=""distance"" text=""Distance (km)"" />
+                    <text key=""ascent"" text=""Ascent (m)"" />
+                    <text key=""descent"" text=""Descent (m)"" />
+                    <check key=""roundtrip"" text=""Roundtrip"" />
+                    <text key=""symbol"" text=""Symbol description"" />
+                    <text key=""description"" text=""Description"" />
+                </optional>
+                <roles>
+                    <role key="""" text=""route segment"" requisite=""required"" type=""way"" />
+                </roles>
+            </item>
+        </group> <!-- Routes -->
         <item name=""Route Network"" icon=""presets/path.png"" type=""relation"">
             <link href=""http://wiki.openstreetmap.org/wiki/Relations/Proposed/Network"" />
             <label text=""Edit Route Network"" />
}}}

To avoid many untranslated strings, let's wait for the `14.02` release …

As always, nice patches are welcome :-)"	enhancement	closed	normal	14.02	Internal preset		fixed	low_hanging_fruit	
