Hi Gerd,
Thx for your answer. I tried this before and it worked for the routes (relations) tagged by myself.
The problem is that most other relations dont have members with role „Start“ (if they have any).
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.
I found a similar discussion at
No idea what was the conclusion on that.
Thx
Andreas
Hi Andreas,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 relationsfile with something liketype=route & route=mtb { apply role=start{ set tmp:mtb_route=true; }}Together with --add-pois-to-lines you should find a node with the tag tmp:mtb_route=trueNow you need some more logic like thistmp:mtb_route=true & (mkgmap:line2poi=true & mkgmap:line2poitype=start | mkgmap:line2poi!=true) [...]in the points file.Gerd________________________________________Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von andreas.schmidt.hetschbach@t-online.de <andreas.schmidt.hetschbach@t-online.de>Gesendet: Samstag, 17. November 2018 14:47An: Development list for mkgmapBetreff: Re: [mkgmap-dev] Add a POI to the start of a relation (route:mtb)…no answer to that…Propably this is not an issue for developers, is there a Group/list to which this issue fits better?ThxAndreasGesendet von Mail<https://go.microsoft.com/fwlink/?LinkId=550986> für Windows 10Von: andreas.schmidt.hetschbach@t-online.de<mailto:andreas.schmidt.hetschbach@t-online.de>Gesendet: Montag, 12. November 2018 09:10An: mkgmap-dev<mailto:mkgmap-dev-bounces@lists.mkgmap.org.uk>; Development list for mkgmap<mailto:mkgmap-dev@lists.mkgmap.org.uk>Betreff: [mkgmap-dev] Add a POI to the start of a relation (route:mtb)Hi all,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.Is there a chance to restrict the addpoi2lines to the FIRST member-node of the relation? This would * Restrict the creation of a POI to only one way of the relation * Restrict the creation to the start of the relation, assuming the relation is created in the Right order.Thx for any help,AndreasGesendet von Mail<https://go.microsoft.com/fwlink/?LinkId=550986> für Windows 10