Loading a relation of numerous unconnected sections to my GPSr

I am walking parts of The Chiltern Way and, as I progress, adding members in JOSM to relation 23309. I should like to view this relation as a tracklog on my Legend HCx so that I can more easily fill in the missing parts. I cannot combine the ways in JOSM because there are numerous breaks. I can create a .gpx file but the sections are too numerous to transfer from Garmin MapSource or BaseCamp to my Legend. Ideally, I should like to combine the sections into one record, which I can do with my MapInfo software and, I daresay, QGIS (although I do not know how to do it in that particular software). However, it seems that once combined, the resulting record is not recognised as a polyline for me to be able export it as a .gpx file. I wonder if anyone can suggest a method that would get such a relation into internal memory on my Legend? I am not sure where to post this question. so I shall place it on the JOSM development list, too.

Bob Hawkins wrote:
I wonder if anyone can suggest a method that would get such a relation into internal memory on my Legend?
This might not be exactly what you want, but you can append a relation name (or something else) to a way name by following the instructions here: http://wiki.openstreetmap.org/wiki/Mkgmap/help/style_rules#apply The example's written for bus routes, but it works for me after a minor tweak for hiking route names too. In "relations" I have: # type=route & (route=foot|route=hiking|'route=foot;bicycle;horse'|'route=bicycle;horse;foot'|route=multiaccess|route='foot;horse'|route=bicycle) { add ref='${name}'; # if ref is missing, use name apply_once { set route_ref='$(route_ref),${ref}' | '${ref}'; set route=hiking; } } # (you might want a shorter list of route types I suspect0 And in "lines": # route=hiking {name '${name} (${route_ref})'} #

Andy, I thank you for your help. I saved relation 23309 as an .osm file, copied your relation details just as you presented them into the standard mkgmap relations file, created a new lines file with just what you presented plus a Garmin polyline code and resolution, created an appropriate .typ file and ran a mkgmap batch file based just upon those elements to create a gmapsupp.img. It worked perfectly! My requirement came just as I was wondering from other things I was reading how relations were incorporated with other mapsets into something that could be loaded to a GPSr. I could not have done it by myself, and I am constantly surprised at how few answers result from users' enquiries yet how often, too, just one answer is sufficient. Yet another piece of knowledge under my belt; OSM learning and achievement is never-ending thanks to people like you! Incidentally, when I type 'SomeoneElse' as an OSM user, it is not recognised. How do I find you? With regards, Bob
participants (2)
-
Bob Hawkins
-
SomeoneElse