<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">Hi Gerd,</div><div dir="ltr"><br></div><div dir="ltr">Thx for your answer. I tried this before and it worked for the routes (relations) tagged by myself. </div><div dir="ltr"><br></div><div dir="ltr">The problem is that most other relations dont have members with role „Start“ (if they have any). </div><div dir="ltr"><br></div><div dir="ltr">My idea was that mkgmap could set a POI for the Route (Relation). Something like addPOI2routes. It should be set at the first member of the relation. If it is a way the same process like in addpoi2lines could be used.</div><div dir="ltr"><br></div><div dir="ltr">I found a similar discussion at</div><div dir="ltr"><br></div><div dir="ltr"><a href="http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2013q4/019188.html">http://www.mkgmap.org.uk/pipermail/mkgmap-dev/2013q4/019188.html</a></div><div dir="ltr"><br></div><div dir="ltr">No idea what was the conclusion on that. </div><div dir="ltr"><br></div><div dir="ltr">Thx</div><div dir="ltr"><br></div><div dir="ltr">Andreas</div><div dir="ltr"><br></div><div dir="ltr"><br></div><div dir="ltr">Am 17.11.2018 um 18:06 schrieb Gerd Petermann <<a href="mailto:gpetermann_muenchen@hotmail.com">gpetermann_muenchen@hotmail.com</a>>:<br><br></div><blockquote type="cite"><div dir="ltr"><span>Hi Andreas,</span><br><span></span><br><span>sorry, the first post slipped my mind. I didn't try it but I think it should be possible to add a rule to the relations</span><br><span>file with something like</span><br><span>type=route & route=mtb {</span><br><span> apply role=start{</span><br><span> set tmp:mtb_route=true;</span><br><span> }</span><br><span>}</span><br><span></span><br><span>Together with --add-pois-to-lines you should find a node with the tag tmp:mtb_route=true</span><br><span>Now you need some more logic like this</span><br><span>tmp:mtb_route=true & (mkgmap:line2poi=true & mkgmap:line2poitype=start | mkgmap:line2poi!=true) [...]</span><br><span>in the points file.</span><br><span></span><br><span>Gerd</span><br><span></span><br><span>________________________________________</span><br><span>Von: mkgmap-dev <<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mkgmap-dev-bounces@lists.mkgmap.org.uk</a>> im Auftrag von <a href="mailto:andreas.schmidt.hetschbach@t-online.de">andreas.schmidt.hetschbach@t-online.de</a> <<a href="mailto:andreas.schmidt.hetschbach@t-online.de">andreas.schmidt.hetschbach@t-online.de</a>></span><br><span>Gesendet: Samstag, 17. November 2018 14:47</span><br><span>An: Development list for mkgmap</span><br><span>Betreff: Re: [mkgmap-dev] Add a POI to the start of a relation (route:mtb)</span><br><span></span><br><span>…no answer to that…</span><br><span>Propably this is not an issue for developers, is there a Group/list to which this issue fits better?</span><br><span></span><br><span>Thx</span><br><span></span><br><span>Andreas</span><br><span></span><br><span>Gesendet von Mail<<a href="https://go.microsoft.com/fwlink/?LinkId=550986">https://go.microsoft.com/fwlink/?LinkId=550986</a>> für Windows 10</span><br><span></span><br><span>Von: <a href="mailto:andreas.schmidt.hetschbach@t-online.de">andreas.schmidt.hetschbach@t-online.de</a><<a href="mailto:andreas.schmidt.hetschbach@t-online.de">mailto:andreas.schmidt.hetschbach@t-online.de</a>></span><br><span>Gesendet: Montag, 12. November 2018 09:10</span><br><span>An: mkgmap-dev<<a href="mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk">mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk</a>>; Development list for mkgmap<<a href="mailto:mkgmap-dev@lists.mkgmap.org.uk">mailto:mkgmap-dev@lists.mkgmap.org.uk</a>></span><br><span>Betreff: [mkgmap-dev] Add a POI to the start of a relation (route:mtb)</span><br><span></span><br><span>Hi all,</span><br><span></span><br><span>I would like to add something like a start-flag to mtb-routes containing all the Information of this relation available in OSM (like ascent, descent, distance). I tried addpoi2lines and restrict this to a special member of the relation (like role=start). This works, but the nodes aren`t tagged this way.</span><br><span></span><br><span>Is there a chance to restrict the addpoi2lines to the FIRST member-node of the relation? This would</span><br><span></span><br><span></span><br><span> * Restrict the creation of a POI to only one way of the relation</span><br><span> * Restrict the creation to the start of the relation, assuming the relation is created in the Right order.</span><br><span></span><br><span>Thx for any help,</span><br><span></span><br><span>Andreas</span><br><span></span><br><span>Gesendet von Mail<<a href="https://go.microsoft.com/fwlink/?LinkId=550986">https://go.microsoft.com/fwlink/?LinkId=550986</a>> für Windows 10</span><br><span></span><br><span></span><br></div></blockquote></body></html>