Tanveer Singh (tanveer1...@gmail.com) wrote:

> On Tue, May 11, 2010 at 3:52 PM, Tanveer Singh <tanveer1...@gmail.com>wrote:
>
>>
>>
>>> There is no easy way...? I was hoping there is one. We are also planning
>> to have a 50 vehicle event, and we will give garmin GPS units with
>> gmapsupp.img created with the track as part of map.
>> I know we can load track, but garmin allows loading of 500 point track
>> only. If there was a way of loading 100,000 point track, things would be
>> simple, but since there isn't it would be great to have a red colored line
>> on the map which the driver has to follow.
>>
>> I may have found a way by using a style file. Basically add a
> highway=rally_track and then garmin style. Now the problem is where do I
> find a key with garmin style codes!
>
These are somewhat device dependent.  The easiest way would be for you  
to create a map in JOSM with 22 ways.  Give each way a different  
tag/key combination (e.g. highway=way1, highway=way2 etc).

Then create a mkgmap style that just defines 22 rules in the lines  
file, one for each way, and assign a different Garmin code to each way:
highway=way1 [0x01 resolution 23]
highway=way2 [0x02 resolution 23]
...etc
highway=way22 [0x1b resolution 23]

Note that only Garmin types 0x01 to 0x13, 0x16, 0x1a & 0x1b are  
routable, giving you 22 different ways to worry about.  Many will look  
identical.

Now create a gmapsupp.img and take a look at how each line type renders.

You can find a full list of Garmin types here:
http://www.mail-archive.com/mkgmap-...@lists.mkgmap.org.uk/msg01125.html (but  
note that it doesn't explain what they actually render as)

-- 
Charlie


_______________________________________________
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk

Reply via email to