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]> im Auftrag von nwillink <[hidden email]>
Gesendet: Freitag, 18. August 2017 11:00:21
An: [hidden email]
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-tp5900869.html
Sent from the Mkgmap Development mailing list archive at Nabble.com.
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
[hidden email]
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-tp5900869p5900883.html
To unsubscribe from How to identify beginning and end of a route?, click here.
NAML



View this message in context: Re: How to identify beginning and end of a route?
Sent from the Mkgmap Development mailing list archive at Nabble.com.