<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">(Still problems with attachments. Now with link)</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class=""></div></div></div></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Hi Ticker,</div><div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">I want to ask for relevant swimmings, one after another, and after every rule exclude further swimmings inside aleady matched areas.</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">In the end the style should dismiss e.g. leisure=swimming_pools which lay in a (leisure=stadium & sport=swimming) already matched:</div><div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-kerning: none" class="">1.<span class="Apple-tab-span" style="white-space:pre"> </span>leisure=stadium & sport=swimming {name '${name} (stadium swim)‘ | '(stadium swim)'} [0x2d09 resolution 24]</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-kerning: none" class=""><span class="Apple-tab-span" style="white-space:pre">       </span>sport=swimming & is_in(leisure,stadium,in_or_on)=true & is_in(sport,swimming,in_or_on)=true {delete sport}</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-kerning: none" class="">2.<span class="Apple-tab-span" style="white-space:pre">   </span>leisure=water_park & sport=swimming {name '${name} (waterpark swim)‘ | '(waterpark swim)'} [0x2d09 resolution 24]</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-kerning: none" class=""><span class="Apple-tab-span" style="white-space:pre">        </span>sport=swimming & is_in(leisure, water_park,in_or_on)=true & is_in(sport,swimming,in_or_on)=true {delete sport}</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-kerning: none" class="">3.<span class="Apple-tab-span" style="white-space:pre">       </span>leisure=swimming_pool & sport=swimming {name '${name} (pool swim)‘ | ‚(pool swim)'} [0x2d09 resolution 24]</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-kerning: none" class=""><span class="Apple-tab-span" style="white-space:pre">     </span>sport=swimming & is_in(leisure, swimming_pool,in_or_on)=true & is_in(sport,swimming,in_or_on)=true {delete sport}</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">4.<span class="Apple-tab-span" style="white-space:pre">        </span>…</div><div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">With the above ruleset I have correct results for nodes so far, but not for polygons.</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">The <span style="font-kerning: none" class="">is_in-rule seems to lack the epression of is_n</span>(leisure=stadium & sport=swimming), instead matches a polygons own swimming as well - what I don´t want.</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">But I´ve got no clue how to write it.</div><div style="margin: 0px; font-stretch: normal; line-height: normal; min-height: 14px;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">In swim.osm the surrounding left stadium has swimming, the right one not. Inside both stadium, water_park and sports_centre as area and poi. (See <a href="http://files.mkgmap.org.uk/detail/500" class="">http://files.mkgmap.org.uk/detail/500</a> for the following screenshots)</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Above ruleset gives this: 1-result.jpg</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">In left stadium pois for stadium/swim (area, area inside, poi inside), nothing else: correct.</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">In right stadium pois for all swim inside except for the areas: wrong.</div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><br class=""></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">What I expect is this: 2-expected.jpg</div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class="">Left as before, but In the right pois for all swim inside including areas.</div><div class=""><br class=""></div></div><div class="">Hope I made it clearer</div><div class="">Jan</div><div class=""><br class=""></div></div></div><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""></div><div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 21.02.2021 um 13:01 schrieb Ticker Berkin <<a href="mailto:rwb-mkgmap@jagit.co.uk" class="">rwb-mkgmap@jagit.co.uk</a>>:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi Jan<br class=""><br class="">I'm slightly confused as to what you are trying to do here when you say<br class="">it works for nodes but not polygons.<br class=""><br class="">After you've output a POI from the first rule what are you trying to<br class="">do?<br class=""><br class="">Ticker<br class=""><br class="">On Sun, 2021-02-21 at 10:42 +0100, jan meisters wrote:<br class=""><blockquote type="cite" class="">Hi Gerd,<br class=""><br class="">my first impression didn´t get trough further test.<br class=""><br class="">This works for nodes, but not for polygons:<br class=""><span class="Apple-tab-span" style="white-space:pre">      </span>leisure=stadium & sport=swimming [0x2d09 resolution 24]<br class=""><span class="Apple-tab-span" style="white-space:pre">    </span>sport=swimming & is_in(leisure,stadium,in_or_on)=true &<br class="">is_in(sport,swimming,in_or_on)=true {delete sport}<br class=""><br class="">It matches it´s own swimming tag as well, not only when stadium is<br class="">given.<br class="">Tried various spellings/brackets, but I can´t get it to work for<br class="">stadium and swimming as a combination only.<br class="">I guess we don´t have a syntax for this?<br class=""><br class="">Attached a small example.<br class=""><br class="">Jan<br class=""><br class=""><br class=""><blockquote type="cite" class="">Am 16.02.2021 um 18:28 schrieb jan meisters <<a href="mailto:jan_m23@gmx.net" class="">jan_m23@gmx.net</a>>:<br class=""><br class="">Hi Gerd,<br class=""><br class="">so easy - that works!<br class="">Thanks for helping me out<br class="">Jan<br class=""><br class=""><blockquote type="cite" class="">Am 16.02.2021 um 17:44 schrieb Gerd Petermann <<br class=""><a href="mailto:gpetermann_muenchen@hotmail.com" class="">gpetermann_muenchen@hotmail.com</a>>:<br class=""><br class="">Hi Jan,<br class=""><br class="">is_in(leisure,park,...) & is_in(sport,swimming,...)<br class="">should work.<br class=""><br class="">Gerd<br class=""><br class="">________________________________________<br class="">Von: mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" class="">mkgmap-dev-bounces@lists.mkgmap.org.uk</a>> im<br class="">Auftrag von jan meisters <<a href="mailto:jan_m23@gmx.net" class="">jan_m23@gmx.net</a>><br class="">Gesendet: Dienstag, 16. Februar 2021 17:31<br class="">An: Development list for mkgmap<br class="">Betreff: Re: [mkgmap-dev] is_in with own Tags?<br class=""><br class="">Hi Joris,<br class=""><br class="">thanks for stating - I guessed something like that.<br class=""><br class="">What I want is to is_in for a tag-combination, e.g. leisure=park<br class="">& sport=swimming.<br class="">I have a poi-rule for park&swimming first and further want to<br class="">exclude swimmings inside matching polygons.<br class=""><br class="">Do I have another option to define the combination so that it can<br class="">be seen by is_in?<br class=""><br class="">Thanks<br class="">Jan<br class=""><br class=""><blockquote type="cite" class="">Am 16.02.2021 um 14:48 schrieb Joris Bo <<a href="mailto:jorisbo@hotmail.com" class="">jorisbo@hotmail.com</a>>:<br class=""><br class="">Hi Jan<br class=""><br class="">As far as i understood this function really checks the polygons<br class="">around the poi to check if the poi-coordinates are located<br class="">within the polygon specified.<br class="">It can not check variables because they don't have an outline.<br class=""><br class=""><br class=""><br class="">Met vriendelijke groeten,<br class=""><br class="">Joris Bo<br class=""><a href="mailto:jorisbo@hotmail.com" class="">jorisbo@hotmail.com</a><br class=""><br class="">-----Oorspronkelijk bericht-----<br class="">Van: mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk" class="">mkgmap-dev-bounces@lists.mkgmap.org.uk</a>> Namens<br class="">jan meisters<br class="">Verzonden: dinsdag 16 februari 2021 14:12<br class="">Aan: Development list for mkgmap <<br class=""><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" class="">mkgmap-dev@lists.mkgmap.org.uk</a>><br class="">Onderwerp: [mkgmap-dev] is_in with own Tags?<br class=""><br class="">Hi all,<br class=""><br class="">I try to use is_in to fetch pois inside own invented tags,<br class="">e.g.:<br class=""><br class="">    leisure=park {add processed=yes} [0x2c06 resolution 24<br class="">continue with_actions]<br class="">    leisure=swimming_pool & is_in(processed,yes,in_or_on)=true<br class="">{delete leisure}<br class=""><br class="">This fails, however „is_in(leisure,park,in_or_on)=true“ works<br class="">in the example.<br class="">Could someone explain where I´m wrong?<br class=""><br class="">Thanks<br class="">Jan<br class="">_______________________________________________<br class="">mkgmap-dev mailing list<br class=""><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" class="">mkgmap-dev@lists.mkgmap.org.uk</a><br class=""><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" class="">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br class="">_______________________________________________<br class="">mkgmap-dev mailing list<br class="">mkgmap-dev@lists.mkgmap.org.uk<br class="">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br class=""></blockquote><br class="">_______________________________________________<br class="">mkgmap-dev mailing list<br class=""><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" class="">mkgmap-dev@lists.mkgmap.org.uk</a><br class=""><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" class="">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br class="">_______________________________________________<br class="">mkgmap-dev mailing list<br class=""><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" class="">mkgmap-dev@lists.mkgmap.org.uk</a><br class="">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev<br class=""></blockquote><br class="">_______________________________________________<br class="">mkgmap-dev mailing list<br class=""><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" class="">mkgmap-dev@lists.mkgmap.org.uk</a><br class=""><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" class="">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br class=""></blockquote><br class="">_______________________________________________<br class="">mkgmap-dev mailing list<br class=""><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" class="">mkgmap-dev@lists.mkgmap.org.uk</a><br class=""><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" class="">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a><br class=""></blockquote>_______________________________________________<br class="">mkgmap-dev mailing list<br class=""><a href="mailto:mkgmap-dev@lists.mkgmap.org.uk" class="">mkgmap-dev@lists.mkgmap.org.uk</a><br class=""><a href="http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev" class="">http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev</a></div></div></blockquote></div><br class=""></div></div></body></html>