<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 Ticker,<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">Thank you very much for your interest.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">Because I test pedestrian IS_IN another pedestrian I do not want to accidentally test the way against itself<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">So I first must be sure I test a way against a square and nothing else. So i set the jbmsquare if it is an area<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">highway = pedestrian & (mkgmap:mp_created = true | is_closed() = true) {set jbmsquare = true}<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">highway = pedestrian & jbmsquare != true & is_in(highway,pedestrian, any) = true [0x10d0c resolution 24 continue]<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 use continue because if the processed element would have been a square in stead of a street it should get a polygon fill color in the polygons file later on as well.<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">I’m very pleased with the results sofar.<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">Actually none of the red marked lines is completely within the area, they all go out somewhere. The green ‘dreifaltigkeitsplatz’ is even 95% outside the square but still be considered inside (which is correct from
mkgmap point of view and the method ‘any’ )<o:p></o:p></span></p>
<p class="MsoPlainText"><span lang="EN-GB">So ‘only’ the blue marked viktualienmarkt-way is not considered inside where I think it is, just as the others.<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"><img width="1008" height="554" style="width:10.4947in;height:5.7708in" id="Afbeelding_x0020_1" src="cid:image001.jpg@01D62D0B.81F92F90"></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 style="mso-fareast-language:NL">-----Oorspronkelijk bericht-----<br>
Van: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> Namens Ticker Berkin<br>
Verzonden: maandag 18 mei 2020 10:20<br>
Aan: Development list for mkgmap <mkgmap-dev@lists.mkgmap.org.uk><br>
Onderwerp: Re: [mkgmap-dev] Explanation of the is_in function</span></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Hi Joris<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">couple of questions:<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">1/ what is jbmsquare and how is it set<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">2/ what does the rule 'continue' into. It looks like the red lines that have gone are entirely within the pedestrian area, but the blue one isn't.<o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">Ticker <o:p></o:p></p>
<p class="MsoPlainText"><o:p> </o:p></p>
<p class="MsoPlainText">On Mon, 2020-05-18 at 07:07 +0000, Joris Bo wrote:<o:p></o:p></p>
<p class="MsoPlainText">> Hi<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> When testing the IS_IN function I get very nice results ! Thank you
<o:p></o:p></p>
<p class="MsoPlainText">> very much for this improvement.<o:p></o:p></p>
<p class="MsoPlainText">> Could somebody help me to explain why a certain pedestrian is not
<o:p></o:p></p>
<p class="MsoPlainText">> catched by the rules?<o:p></o:p></p>
<p class="MsoPlainText">> Also not a big deal, I’m already happy wit the current results, it is
<o:p></o:p></p>
<p class="MsoPlainText">> just for understanding.<o:p></o:p></p>
<p class="MsoPlainText">> I am using pedestrian streets without an outline if crossing
<o:p></o:p></p>
<p class="MsoPlainText">> pedestrian areas. 95% works perfectly but some seem to fool me.<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Before<o:p></o:p></p>
<p class="MsoPlainText">> (The red lines are nicely replaced in the after situation, but the
<o:p></o:p></p>
<p class="MsoPlainText">> blue one is not)<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> highway = pedestrian & jbmsquare != true & is_in(highway,pedestrian,<o:p></o:p></p>
<p class="MsoPlainText">> any) = true [0x10d0c resolution 24 continue]<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> area: München Viktualienmarkt: <o:p></o:p></p>
<p class="MsoPlainText">> <a href="https://www.openstreetmap.org/#map=19/48.13504/11.57637">
<span style="color:windowtext;text-decoration:none">https://www.openstreetmap.org/#map=19/48.13504/11.57637</span></a><o:p></o:p></p>
<p class="MsoPlainText">> pedestrian : <a href="https://www.openstreetmap.org/way/240014256">
<span style="color:windowtext;text-decoration:none">https://www.openstreetmap.org/way/240014256</span></a><o:p></o:p></p>
<p class="MsoPlainText">> square: <a href="https://www.openstreetmap.org/relation/7431621#map=19/48.1351">
<span style="color:windowtext;text-decoration:none">https://www.openstreetmap.org/relation/7431621#map=19/48.1351</span></a><o:p></o:p></p>
<p class="MsoPlainText">> 2/11.57670<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> After<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Met vriendelijke groet,<o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> Joris Bo<o:p></o:p></p>
<p class="MsoPlainText">> <a href="mailto:jorisbo@hotmail.com"><span style="color:windowtext;text-decoration:none">jorisbo@hotmail.com</span></a><o:p></o:p></p>
<p class="MsoPlainText">> <o:p></o:p></p>
<p class="MsoPlainText">> _______________________________________________<o:p></o:p></p>
<p class="MsoPlainText">> mkgmap-dev mailing list<o:p></o:p></p>
<p class="MsoPlainText">> <a href="mailto:mkgmap-dev@lists.mkgmap.org.uk"><span style="color:windowtext;text-decoration:none">mkgmap-dev@lists.mkgmap.org.uk</span></a><o:p></o:p></p>
<p class="MsoPlainText">> <a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev">
<span style="color:windowtext;text-decoration:none">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</span></a><o:p></o:p></p>
<p class="MsoPlainText">_______________________________________________<o:p></o:p></p>
<p class="MsoPlainText">mkgmap-dev mailing list<o:p></o:p></p>
<p class="MsoPlainText"><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk"><span style="color:windowtext;text-decoration:none">mkgmap-dev@lists.mkgmap.org.uk</span></a><o:p></o:p></p>
<p class="MsoPlainText"><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev"><span style="color:windowtext;text-decoration:none">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</span></a><o:p></o:p></p>
</div>
</body>
</html>