route_name(s) on different lines

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

route_name(s) on different lines

demon.box

This is my file relations:

# Route
type=route & (route=hiking | route=bicycle) {
 apply {
  set route='${route}';
  set route_ref='$(route_ref), ${ref}' | '${ref}';
  set route_name='$(route_name), ${name}' | '${name}'
 }
}

that makes a string like this:

route_ref      3,4
route_name  Path name 3, Path name 4

I ask you: is it possible display every route name on a different line?
I mean like this:

Path name 3
Path name 4

Thanks.

--enrico


_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
Reply | Threaded
Open this post in threaded view
|

Re: route_name(s) on different lines

ligfietser
Yes, it is possible.
If you use a typ file you can make those lines invisible (transparent bitmap) and only display the names.
For example:
ncn_from_relation=yes  {name '${ncn_name}'} [0x... resolution 20 continue]
rcn_from_relation=yes  {name '${rcn_name}'} [0x... resolution 21 continue]
lcn_from_relation=yes  {name '${lcn_name}'} [0x... resolution 22 continue]

The route names are only displayed in Mapsource or Basecamp, not on your gps.


> I ask you: is it possible display every route name on a different
> line?
> I mean like this:
>
> Path name 3
> Path name 4
>
> Thanks.
>
> --enrico
_______________________________________________
mkgmap-dev mailing list
[hidden email]
http://lists.mkgmap.org.uk/mailman/listinfo/mkgmap-dev