<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Interesting idea Gerd but those roads are also arterial connections to get in or out of the city so for commuting cyclists essential.</p>
<p>A benefit to have such hook is that I can copy the name of the major highway to the parallel cycleway if it lacks a name. This is for address search essential, since the major highway is often not routable in my maps.
<br>
</p>
<p><br>
</p>
<p>Another benefit could be that I can force the router to route on those parallel and often obligatory cycleways and give a high penalty (lesser road_speed or road_class)  for the major highway sections. In OSM those highways often lacks a tag bicycle=no or
 bicycle=use_sidepath where in reality the parallel cycleways are obligatory.</p>
<p><br>
</p>
<p><br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Van:</b> mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> namens Dave Swarthout <daveswarthout@gmail.com><br>
<b>Verzonden:</b> donderdag 16 maart 2017 03:40:10<br>
<b>Aan:</b> Development list for mkgmap<br>
<b>Onderwerp:</b> Re: [mkgmap-dev] Parallel major roads to cycleways</font>
<div> </div>
</div>
<div>
<div dir="ltr">There is a fledgling effort underway here in Chiang Mai to do a similar thing. This effort centers around the desirability of a route for bicycling. It deals with scenic vs dangerous roads for cycling and the 3 point system it uses might be insufficient for
 your needs but it might be adapted. Worth a look at any rate.
<div><br>
</div>
<div><a href="https://wiki.openstreetmap.org/wiki/WikiProject_Thailand#Bicycling_tagging_.28currently_for_Chiang_Mai_only.29">https://wiki.openstreetmap.org/wiki/WikiProject_Thailand#Bicycling_tagging_.28currently_for_Chiang_Mai_only.29</a><br>
</div>
<div><br>
</div>
<div>Dave</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Mar 16, 2017 at 5:06 PM, Gerd Petermann <span dir="ltr">
<<a href="mailto:GPetermann_muenchen@hotmail.com" target="_blank">GPetermann_muenchen@hotmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi,<br>
<br>
I just want to share an idea which might be interesting for cycling maps:<br>
In Germany and probably also Austria) many major roads have a parallel cycleway close to it, often only separated by a patch of grass or natural=tree_row.<br>
Example: A way with bicycle=designated :<br>
<a href="http://www.openstreetmap.org/way/243499929" rel="noreferrer" target="_blank">http://www.openstreetmap.org/<wbr>way/243499929</a><br>
runs next to highway=primary B213<br>
<a href="http://www.openstreetmap.org/way/328470949" rel="noreferrer" target="_blank">http://www.openstreetmap.org/<wbr>way/328470949</a><br>
<br>
I think nearly no cyclist likes to use those ways -- they are just a bit safer but still lots of cars are running with 100 km/h next to you --<br>
so I think it would be good to have a way to separate them from other ways where no major road is close.<br>
<br>
A possible way would be this:<br>
Simiar to the new ResidentialHook which sets the mkgmap:residential tag we might implement a<br>
hook which collects major roads and calculates an area around it (maybe 20m on both sides).<br>
Each way (maybe only those with highway=* ) could be checked against those areas in a way that a rule could<br>
decide to "dislike" a way which is mostly within such an area when the map is for cyclists.<br>
I guess bridges and tunnels (or more generally the layer tag) needs special handling here.<br>
<br>
Questions:<br>
1) Do you think this would good to have?<br>
2) If yes, what kind of information would be needed in the style?<br>
<br>
Gerd<br>
<br>
<br>
______________________________<wbr>_________________<br>
mkgmap-dev mailing list<br>
<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mkgmap-dev@lists.mkgmap.org.uk</a><br>
<a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" rel="noreferrer" target="_blank">http://www.mkgmap.org.uk/<wbr>mailman/listinfo/mkgmap-dev</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">Dave Swarthout<br>
Homer, Alaska<br>
Chiang Mai, Thailand<br>
Travel Blog at <a href="http://dswarthout.blogspot.com" target="_blank">http://dswarthout.blogspot.com</a></div>
</div>
</div>
</div>
</body>
</html>