
Hi Gerd Brilliant , many thanks ! I use 0x6412 which Garmin has earmarked for its 'trails' . Great stuff! Nick On 18/08/2017 13:35, Gerd Petermann [via GIS] wrote:
Hi Nick,
not sure what result you need, but this rule in relations sets the tag route_node and you can evaluate it in the points file
type=route & (route=bicycle | route = hiking | route=foot) { apply role=start { add route_node=start } apply role=end { add route_node=end } }
Does that help? Gerd ________________________________________ Von: mkgmap-dev <[hidden email] </user/SendEmail.jtp?type=node&node=5900883&i=0>> im Auftrag von nwillink <[hidden email] </user/SendEmail.jtp?type=node&node=5900883&i=1>> Gesendet: Freitag, 18. August 2017 11:00:21 An: [hidden email] </user/SendEmail.jtp?type=node&node=5900883&i=2> Betreff: [mkgmap-dev] How to identify beginning and end of a route?
Hi
I read the following:
Matching member roles by regular expression Currently, apply role=value is for fixed strings.
I'm not quite sure what 'fixed strings ' means but perhaps it means that the unique properties of individual members of a relation cannot be parsed.
This is a shame as it would be great to mark the start and end of cycling / hiking routes.
In osm we can mark the start of a route using role="start" ,ie
<member type="node" ref="454189725" role="start"/> <tag k="name" v="Otter Valley Walk"/> <tag k="network" v="rwn"/> <tag k="osmc:symbol" v="blue:green:yellow_pointer"/> <tag k="ref" v="OVW"/> <tag k="roundtrip" v="no"/> <tag k="route" v="foot"/> <tag k="type" v="route"/> </relation>
However, I've not been able to capture this node.
I wonder if anyone has an answer?
r
Nick
-- View this message in context: http://gis.19327.n8.nabble.com/How-to-identify-beginning-and-end-of-a-route-... Sent from the Mkgmap Development mailing list archive at Nabble.com. _______________________________________________ mkgmap-dev mailing list [hidden email] </user/SendEmail.jtp?type=node&node=5900883&i=3> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev _______________________________________________ mkgmap-dev mailing list [hidden email] </user/SendEmail.jtp?type=node&node=5900883&i=4> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
------------------------------------------------------------------------ If you reply to this email, your message will be added to the discussion below: http://gis.19327.n8.nabble.com/How-to-identify-beginning-and-end-of-a-route-...
To unsubscribe from How to identify beginning and end of a route?, click here <http://gis.19327.n8.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=5900869&code=b3NtQHBpbm5zLmNvLnVrfDU5MDA4Njl8MTM1NTM3MTE1MQ==>. NAML <http://gis.19327.n8.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
-- View this message in context: http://gis.19327.n8.nabble.com/How-to-identify-beginning-and-end-of-a-route-... Sent from the Mkgmap Development mailing list archive at Nabble.com.