<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Tekst zonder opmaak Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Arial",sans-serif;
mso-fareast-language:EN-US;}
span.TekstzonderopmaakChar
{mso-style-name:"Tekst zonder opmaak Char";
mso-style-priority:99;
mso-style-link:"Tekst zonder opmaak";
font-family:"Arial",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="NL" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoPlainText"><span lang="EN-GB">Hi<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">I did some more testing on using the add-pois-to-lines and mkgmap:from-node: and got a little confused.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">As far as I understand is the classic implementation of add-pois-to-lines to create a poi for every node on the line.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">By checking for example mkgmap:line2poitype = mid you decide to use it or not.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Nice improvement on performance is the mentioned options to not create useless poi's and the idea to do it for start,mid,end,tagged or all<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">The manual states that all values of the line are copied to the node.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">When testing for highway=turning circle it worked even too well as also the node-tags highway = turning_circle was overwritten by the highway = track value of the way it was part of.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Then Gerd started a 'branch' (if that’s the correct word) with the mkgmap:from-node: feature, and also this worked perfectly<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Yesterday I started a new usage: There is a node barrier = gate on a highway = path where the barrier does not have access tags.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">In my style the default for barriers without an access tag is to not allow access (why would they otherwise be added) and highways without access tags to do allow access (that’s where highways for)<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">But as sometimes forgotten by taggers to finetune access, I'd like to check if the barrier is on a highway with an official bike/hike route as set in the relation file.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">In that case I like to add foot = yes or bicycle = yes. Always worked for the highways but because not set on the barrier-node the routing breaks.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">I expected to be able to catch the barrier with<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Osmid() = 2486838092<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> Check, catched but no more tags then barrier = gate<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Current implementation r4521 (not the branch)<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> barrier = gate & highway = path & route = foot {echotagss 'all'}<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> but that failed (add-pois-to-lines ~ true)<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Then switched to the new feature hopefully coming up in a future version (branch mkgmap-r4504.node)<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> mkgmap:from-node:barrier = gate {echotagss 'all'}<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> but that failed as well<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Strange because in the turning_circle situations I even got 2 poi's. One for the node and one for being part of a highway.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">My example where routing broke is a barrier = gate on a highway = path.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">In this case only the osm() node seems to be created and not the "add-pois-to-lines node".<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">On the other hand (strange?) the highway = path does contain the tag: mkgmap:way-has-pois=true to indicate that the highway has barriers<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Finally ...<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Gerd launched the idea to create the tag mkgmap:copied-as-poi=true<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">If there are two pois created "the osm node barrier = gate" and the "add-pois-to-lines node" version, I only can use the "add-pois-to-line version" because that one gives me access to the line where it was derived
from.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">But this also means that when processing the "osm node version" it must be ignored only if later on, another one comes along. How do you know?<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">If a single stand alone barrier comes along, you do like to use it the same way as it is always has be done<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><b><span lang="EN-GB">Questions </span></b><b><span lang="EN-GB" style="font-family:"Segoe UI Emoji",sans-serif">😊</span></b><b><span lang="EN-GB"><o:p></o:p></span></b></p>
<p class="MsoPlainText"><span lang="EN-GB">Can I expect to have the barrier = gate nodes always to created twice if attached to a highway and add-pois-to-line = true?<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Can I catch it with the future functionality we started for the turning circle as well?<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Do we best extend the mkgmap:copied-as-poi=true to be available both from the osm node version of the poi as well as the created poi?<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">I'm happy do more testing<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Hopefully you guys can still handle my stories.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Kind regards, Joris<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><b><span lang="EN-GB">Test area<o:p></o:p></span></b></p>
<p class="MsoPlainText"><span lang="EN-GB">Node: https://www.openstreetmap.org/node/2486838092<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"> (already updated to foot=yes, but not important for the test)<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Highway https://www.openstreetmap.org/way/241008394<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Walking route: https://www.openstreetmap.org/relation/3251904<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><img width="1118" height="620" style="width:11.6406in;height:6.4531in" id="Afbeelding_x0020_1" src="cid:image003.jpg@01D63E3D.3514EFA0"></span><span lang="EN-GB"><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">To be sure it was not a baecamp problem<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">When only adding mkgmap:foot=yes to the node barrier=gate its oke<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><img width="744" height="437" style="width:7.7447in;height:4.552in" id="Afbeelding_x0020_2" src="cid:image004.jpg@01D63E3D.3514EFA0"></span><span lang="EN-GB"><o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText">-----Oorspronkelijk bericht-----<o:p></o:p></p>
<p class="MsoPlainText">Van: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> Namens Mike Baggaley<o:p></o:p></p>
<p class="MsoPlainText">Verzonden: dinsdag 9 juni 2020 00:14<o:p></o:p></p>
<p class="MsoPlainText">Aan: 'Development list for mkgmap' <mkgmap-dev@lists.mkgmap.org.uk><o:p></o:p></p>
<p class="MsoPlainText"><span lang="EN-GB">Onderwerp: [mkgmap-dev] add-pois-to-lines documentation<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Hi Gerd, please find attached a proposed patch to the documentation for the add-pois-to-lines option as requested.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Cheers,<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Mike<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">>I've implemented the suggested improvements with r4507. Please suggest<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">improvements for the documentation changes.<o:p></o:p></span></p>
</div>
</body>
</html>