[mkgmap-dev] Add a POI to the start of a relation (route:mtb)
From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat Nov 17 17:06:39 GMT 2018
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 relations file with something like type=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=true Now you need some more logic like this tmp:mtb_route=true & (mkgmap:line2poi=true & mkgmap:line2poitype=start | mkgmap:line2poi!=true) [...] in the points file. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von andreas.schmidt.hetschbach at t-online.de <andreas.schmidt.hetschbach at t-online.de> Gesendet: Samstag, 17. November 2018 14:47 An: Development list for mkgmap Betreff: 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? Thx Andreas Gesendet von Mail<https://go.microsoft.com/fwlink/?LinkId=550986> für Windows 10 Von: andreas.schmidt.hetschbach at t-online.de<mailto:andreas.schmidt.hetschbach at t-online.de> Gesendet: Montag, 12. November 2018 09:10 An: mkgmap-dev<mailto:mkgmap-dev-bounces at lists.mkgmap.org.uk>; Development list for mkgmap<mailto:mkgmap-dev at 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, Andreas Gesendet von Mail<https://go.microsoft.com/fwlink/?LinkId=550986> für Windows 10
- Previous message: [mkgmap-dev] Add a POI to the start of a relation (route:mtb)
- Next message: [mkgmap-dev] Add a POI to the start of a relation (route:mtb)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list