Hi,
poutnikl here, thanks for compliments, :-),
But I have ( for now??) bad news. There are 2 related major problems,
causing your idea not being currently possible at profile level:
1/ Profiles are only able to distinguish route classes (i/n/r/let). The
route names nor numbers are not available. So the only option is to
penalize routes of other than desired class.
Fortunately, national or international route network is not so dense to
create route confusion.
2/ Brouter routing files .rd5 do not contain relation tags, i.e. neither
route names.
The Brouter route tags of OSM ways is an exception, being a Brouter "dirty
trick". It translates these relation tags during rd5 file creation as
pseudo-way tags. They are evaluated by profiles as ordinary way tags, but
do not exist in original OSM data.
----------
Dne 4. června 2018 11:56:44 AndreasTUHU <
gral...@gmail.com> napsal:
> <
https://github.com/poutnikl/Brouter-profiles/blob/master/HikeProfiles/Hiking-SAC2-VSHRP.brf>
>
> will be good for me after some modification.
> The name can be Hiking-SAC2-VVSHRP (very very strong hiking route
> preference :)
>
> I need to distinguish the National Blue Trail from the other trails.
> I think I have to modify this part of the .bfr file, but I am not sure
> about it.
>
> assign any_hiking_route or route=hiking or route_hiking_iwn=yes
> or route_hiking_nwn=yes or route_hiking_rwn=yes
> or route_hiking_lwn=yes or route_hiking_=yes
> or route_foot_=yes or route_foot_nwn=yes
> or route_foot_rwn=yes route_foot_lwn=yes
>
> If understand well, Brouter identifies the hiking routes with the
> network=nwn/lwn/rwn tag on the relation.
> The Blue Trail relation has these unique OSM tags:
> name=Országos Kéktúra
> ref=OKT
>
> Can somebody help me adding these tags to the assign block?
>
> Thank you in advance,
> Andreas
>
> --
> You received this message because you are subscribed to the Google Groups
> "Osmand" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
osmand+un...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.