Help - Search - Members - Calendar
Full Version: Garmin Custom Map Directional Polyline
HCS Snowmobile Forums > Snowmobile Forums > Other Snowmobile Forums > GPS
rws
Here's a screenshot from a Garmin 276c showing directional trails. I created a 32x13 pixel arrow in a graphics program...saved file as bmp...used the Add/Edit Image feature of genTYP to custom TYP the polylines.



BMP arrow file shown at 800%

YaMon
That is very cool, how do you get your trails to show up in 3 different colors?
rws
QUOTE(YaMon @ Nov 12 2007, 08:37 AM) *
That is very cool, how do you get your trails to show up in 3 different colors?


I used genTYP ...you can also do the same with cGPSmapper on the command line with a TYP text file.
YaMon
QUOTE(YaMon @ Nov 12 2007, 08:37 AM) *
That is very cool, how do you get your trails to show up in 3 different colors?


So did you have to make 3 separate maps, one for each color section and then merge them, or is there a way to color each section of trail in genTYP? I can’t figure it out. Any help you could give me would be appreciated.

I would like to take the map and up load it with a purple trail and then have the trail/route that we want to stay on in yellow or some other color. Just wondering how I can do this. My Garmin won’t hold a route more than 250 points, and the route we want to take is 225 miles long (4000 + points).

Thanks for all you do in this section, your input and time has helped tremendously.
rws
QUOTE(YaMon @ Nov 13 2007, 10:14 AM) *
So did you have to make 3 separate maps, one for each color section and then merge them, or is there a way to color each section of trail in genTYP? I can’t figure it out. Any help you could give me would be appreciated.

I would like to take the map and up load it with a purple trail and then have the trail/route that we want to stay on in yellow or some other color. Just wondering how I can do this. My Garmin won’t hold a route more than 250 points, and the route we want to take is 225 miles long (4000 + points).

Thanks for all you do in this section, your input and time has helped tremendously.


To make a custom map:
You make a single map...assign different line types to the polylines (trails) in GPSMapEdit...then use genTYP to modify each polyline assigning a color, line and or border width as desired.

If you want to work with tracks (not maps) in Mapsource you can assign colors to each individual track using Track Properties. In my Garmin 276c I can also change track colors in the field...I would assume other Garmin color units can do the same.
YaMon
QUOTE(rws @ Nov 13 2007, 10:49 AM) *
To make a custom map:
You make a single map...assign different line types to the polylines (trails) in GPSMapEdit...then use genTYP to modify each polyline assigning a color, line and or border width as desired.

If you want to work with tracks (not maps) in Mapsource you can assign colors to each individual track using Track Properties. In my Garmin 276c I can also change track colors in the field...I would assume other Garmin color units can do the same.


Don't you have to start out with tracks first and then convert them to maps? I made a couple of maps using tracks the way you describe in your tutorial. I have changed the color of the tracks in Mapsource but then when I convert the track to a map, it always changes each track to the same color on the final map. What am I missing. Is it when I select all the poly lines and convert them to a road, is that what makes them all the same color?
rws
QUOTE(YaMon @ Nov 13 2007, 11:03 AM) *
Don't you have to start out with tracks first and then convert them to maps? I made a couple of maps using tracks the way you describe in your tutorial. I have changed the color of the tracks in Mapsource but then when I convert the track to a map, it always changes each track to the same color on the final map. What am I missing. Is it when I select all the poly lines and convert them to a road, is that what makes them all the same color?


select all polylines you want the same color and assign a line type...then select all polylines you want a different color for and assign a different line type...etc...etc for each color you want. You want a different line type for each color. You then modify each polyline type in genTYP to the color, line/border width.
YaMon
QUOTE(rws @ Nov 13 2007, 11:15 AM) *
select all polylines you want the same color and assign a line type...then select all polylines you want a different color for and assign a different line type...etc...etc for each color you want. You want a different line type for each color. You then modify each polyline type in genTYP to the color, line/border width.


Ahh, now it makes sense. I will try that. Thank you again. This is really cool.
YaMon
QUOTE(YaMon @ Nov 13 2007, 11:20 AM) *
Ahh, now it makes sense. I will try that. Thank you again. This is really cool.

OK, after several hours,(not admitting how many) I have a couple of questions.

What is the best way to pick all but one track out of all the tracks (de-select) so that I can make them all but one a certain type of highway, then select the one remaining track to make a different type of highway. When I select all tracks I guess I would like to de-select one, any easy way to do this?


How the heck did you figure out how to use GeyTyp? It is like a woman, can't figure any of it out and I can't find a manual for help.
You are really smart to have figured it out.

All I want to do is to take the two diferent types of polylines (Highways) and make them different colors say purple and cyan. Now they are showing up a shade of red (because they are highways) that blends in with the mapsource highway's which are red also.

Can you tell me how to do it, or is there another way that would be easier?

Thank you again for your time rws!
rws
QUOTE(YaMon @ Nov 15 2007, 01:37 PM) *
OK, after several hours,(not admitting how many) I have a couple of questions.

What is the best way to pick all but one track out of all the tracks (de-select) so that I can make them all but one a certain type of highway, then select the one remaining track to make a different type of highway. When I select all tracks I guess I would like to de-select one, any easy way to do this?
How the heck did you figure out how to use GeyTyp? It is like a woman, can't figure any of it out and I can't find a manual for help.
You are really smart to have figured it out.

All I want to do is to take the two diferent types of polylines (Highways) and make them different colors say purple and cyan. Now they are showing up a shade of red (because they are highways) that blends in with the mapsource highway's which are red also.

Can you tell me how to do it, or is there another way that would be easier?

Thank you again for your time rws!


In GPSMapEdit
If you have only one polyline that will be different the easiest would be select all...assign a polyline type to all...then right click the single polyline that will be a different color...Modify...Type...assign a different type to it.

Now you use genTYP...select TYPE Element:...pick line select Element Name:...put in what you want or just hit spacebar for no name Type list:...select the polyline type you assigned to your first batch of polylines Solid color: enter hex color code for foreground color then a , and hex color code for background color or type in NONE for transparent. Line width: and Border width:...type in a number for how wide in pixels you want the line and border to be.

cypherman has a DOC with help for genTYP on his website...also the cGPSMapper manual has a section on custom types.


rws
QUOTE(YaMon @ Nov 15 2007, 01:37 PM) *
OK, after several hours,(not admitting how many) I have a couple of questions.

What is the best way to pick all but one track out of all the tracks (de-select) so that I can make them all but one a certain type of highway, then select the one remaining track to make a different type of highway. When I select all tracks I guess I would like to de-select one, any easy way to do this?
How the heck did you figure out how to use GeyTyp? It is like a woman, can't figure any of it out and I can't find a manual for help.
You are really smart to have figured it out.

All I want to do is to take the two diferent types of polylines (Highways) and make them different colors say purple and cyan. Now they are showing up a shade of red (because they are highways) that blends in with the mapsource highway's which are red also.

Can you tell me how to do it, or is there another way that would be easier?

Thank you again for your time rws!


I ran out of time editng my previous post here is a competed version

In GPSMapEdit
If you have only one polyline that will be different the easiest would be select all...assign a polyline type to all...then right click the single polyline that will be a different color...Modify...Type...assign a different type to it.

Now you use genTYP...Product CODE: will always be 1 and Family ID: will be a unique number not already used in any of your installed maps (check numbers of your installed maps with MapSetToolKit) ...select TYPE Element:...pick line select Element Name:...put in what you want or just hit spacebar for no name Type list:...select the polyline type you assigned to your first batch of polylines Solid color: enter hex color code for foreground color...a comma... then a hex color code for background color or type in NONE for transparent. Line width: and Border width:...type in a number for how wide in pixels you want the line and border to be. Hit Add...Then do the same process again for your remaining polyline. Checkmark Compile TYP: entr path to cGPSMapper...Hit Start...this create your TYP file that will be used in MapSetToolKit to install your map in Mapsource.

cypherman has a DOC with help for genTYP on his website...also the cGPSMapper manual has a section on custom types
YaMon
QUOTE(rws @ Nov 15 2007, 07:08 PM) *
I ran out of time editng my previous post here is a competed version

In GPSMapEdit
If you have only one polyline that will be different the easiest would be select all...assign a polyline type to all...then right click the single polyline that will be a different color...Modify...Type...assign a different type to it.

Now you use genTYP...Product CODE: will always be 1 and Family ID: will be a unique number not already used in any of your installed maps (check numbers of your installed maps with MapSetToolKit) ...select TYPE Element:...pick line select Element Name:...put in what you want or just hit spacebar for no name Type list:...select the polyline type you assigned to your first batch of polylines Solid color: enter hex color code for foreground color...a comma... then a hex color code for background color or type in NONE for transparent. Line width: and Border width:...type in a number for how wide in pixels you want the line and border to be. Hit Add...Then do the same process again for your remaining polyline. Checkmark Compile TYP: entr path to cGPSMapper...Hit Start...this create your TYP file that will be used in MapSetToolKit to install your map in Mapsource.

cypherman has a DOC with help for genTYP on his website...also the cGPSMapper manual has a section on custom types


OK I got it. But I need a little help with the line and border width. What values do you suggest and can they be edited with the text editor and then redone through Mapset Toolkit?
I like they way you made you map of North Dakota, white trail with red border.

I owe you a few cold ones, this is kinda fun, but frustrating at the same time. smashpc.gif Thanks again
rws
QUOTE(YaMon @ Nov 15 2007, 10:08 PM) *
OK I got it. But I need a little help with the line and border width. What values do you suggest and can they be edited with the text editor and then redone through Mapset Toolkit?
I like they way you made you map of North Dakota, white trail with red border.

I owe you a few cold ones, this is kinda fun, but frustrating at the same time. smashpc.gif Thanks again



For doing trails I generally use 3 for line width and 1 for border width...white trail with red border would have hex code: ffffff,ff0000

Yes..the .txt file can be easily edited with an editor and then recomplied in MapSetToolKit.
YaMon
QUOTE(YaMon @ Nov 15 2007, 10:08 PM) *
OK I got it. But I need a little help with the line and border width. What values do you suggest and can they be edited with the text editor and then redone through Mapset Toolkit?
I like they way you made you map of North Dakota, white trail with red border.

I owe you a few cold ones, this is kinda fun, but frustrating at the same time. smashpc.gif Thanks again


You must be a programmer, especially if you are online at 2:45 am.

One last question, I hope.

I was able to make 2 types of trails/roads but of course the trail that I want to be on top is not so I can't see most of it because the other one is blocking it. Is there a way to specifiy which trail/road is on top? Which program do I do it in? I have tried it in Mapsource and you would think they would have a way to take the selected trail and move it to the top of the other one when you have overlapping trails. Thanks again!
rws
QUOTE(YaMon @ Nov 16 2007, 09:00 AM) *
You must be a programmer, especially if you are online at 2:45 am.

One last question, I hope.

I was able to make 2 types of trails/roads but of course the trail that I want to be on top is not so I can't see most of it because the other one is blocking it. Is there a way to specifiy which trail/road is on top? Which program do I do it in? I have tried it in Mapsource and you would think they would have a way to take the selected trail and move it to the top of the other one when you have overlapping trails. Thanks again!


I'm a wheat, edible bean and sunflower farmer...

Try changing the polyline types...ie assign 0x16 Trail/Track to the trails in the background and assign 0x01 Major Highway Thick to the trails you want on top.
YaMon
QUOTE(rws @ Nov 16 2007, 09:57 AM) *
I'm a wheat, edible bean and sunflower farmer...

Try changing the polyline types...ie assign 0x16 Trail/Track to the trails in the background and assign 0x01 Major Highway Thick to the trails you want on top.


You must drink a lot of coffee then. I am guessing that you have already harvested this years crops then. Now it must be maintenance and play time.

I knew you would have an answer. Thanks!
YaMon
QUOTE(rws @ Nov 16 2007, 09:57 AM) *
I'm a wheat, edible bean and sunflower farmer...

Try changing the polyline types...ie assign 0x16 Trail/Track to the trails in the background and assign 0x01 Major Highway Thick to the trails you want on top.


I tried changing the line types, the 0x16 is still showing up on top of the 0x01 trail. I decided to make my 0x01 trail on a separate transparent map. How can I layer the maps so the one shows up on top of the other. My Garmin Highway map is on the bottom must be automatic, then I have 2 transparent maps where do I tell it which to load 2nd then 3rd?
rws
QUOTE(YaMon @ Nov 19 2007, 10:16 AM) *
I tried changing the line types, the 0x16 is still showing up on top of the 0x01 trail. I decided to make my 0x01 trail on a separate transparent map. How can I layer the maps so the one shows up on top of the other. My Garmin Highway map is on the bottom must be automatic, then I have 2 transparent maps where do I tell it which to load 2nd then 3rd?


I'm surprised that didn't work. Another option is the DrawPriorty=XX value in the Header [IMG ID] Read page 14 in the cGPSMapper manual for discription on how to use it. And if all else fails delete the polylines for the underlying track that shares the same path as the one you want to show.
YaMon
QUOTE(rws @ Nov 19 2007, 01:17 PM) *
I'm surprised that didn't work. Another option is the DrawPriorty=XX value in the Header [IMG ID] Read page 14 in the cGPSMapper manual for discription on how to use it. And if all else fails delete the polylines for the underlying track that shares the same path as the one you want to show.


I started to delete the polylines that share the same path. The problem is that it covers about 225 miles and shares so many other crossing and partial trails I would have to split and rename about 40 - 50 trails. That is why I thought I could just make another transparent map and lay it over the other 2. I guess that is not an option, sounded too easy. Thanks again for all your help. I think I now have this down, now to make some good notes so I can do it after I make some new tracks after the snow shows up.
rws
QUOTE(YaMon @ Nov 19 2007, 01:27 PM) *
I started to delete the polylines that share the same path. The problem is that it covers about 225 miles and shares so many other crossing and partial trails I would have to split and rename about 40 - 50 trails. That is why I thought I could just make another transparent map and lay it over the other 2. I guess that is not an option, sounded too easy. Thanks again for all your help. I think I now have this down, now to make some good notes so I can do it after I make some new tracks after the snow shows up.


I did a test with two maps with overlapping polylines using the DrawPriority=xx option and it does work. I assigned DrawPrioriy=1 to the map I wanted in the background and DrawPriority=2 to the map I wanted on top. This option can be added to your maps under Map Properties...Extras tab...click Add...Key enter DrawPriority...Value enter number
rws
QUOTE(rws @ Nov 19 2007, 08:03 PM) *
I did a test with two maps with overlapping polylines using the DrawPriority=xx option and it does work. I assigned DrawPrioriy=1 to the map I wanted in the background and DrawPriority=2 to the map I wanted on top. This option can be added to your maps under Map Properties...Extras tab...click Add...Key enter DrawPriority...Value enter number


Screenshot from GPS test maps showing reversal of top map using DrawPriority=



YaMon
QUOTE(rws @ Nov 19 2007, 08:03 PM) *
I did a test with two maps with overlapping polylines using the DrawPriority=xx option and it does work. I assigned DrawPrioriy=1 to the map I wanted in the background and DrawPriority=2 to the map I wanted on top. This option can be added to your maps under Map Properties...Extras tab...click Add...Key enter DrawPriority...Value enter number


I actually was looking at this in the manual last night and realized that I did not use it correctly and I was going to test it today. You beat me to it. Although I don't know if I would have figured out how to apply it. Thanks!
YaMon
RWS,

How do you keep track of your Family ID's (FID's) and your Product Codes? Through my trial and error it appears that these somehow have to be kept together by maps if you ever need to recompile. Or do you just start from scratch each time you want to make a change?
rws
QUOTE(YaMon @ Nov 20 2007, 11:18 AM) *
RWS,

How do you keep track of your Family ID's (FID's) and your Product Codes? Through my trial and error it appears that these somehow have to be kept together by maps if you ever need to recompile. Or do you just start from scratch each time you want to make a change?


I produce each map in its own directory so all files for each map are kept together. You can check your installed maps FID and Product Code (which is always 1 if you install your map in the Family group) easily in MapSetToolKit. For maps that haven't been installed just check the numbers by opening the TYP .txt file in an editor. Or keep a notebook with the pertinent information for each of your maps.
YaMon
QUOTE(rws @ Nov 19 2007, 08:03 PM) *
I did a test with two maps with overlapping polylines using the DrawPriority=xx option and it does work. I assigned DrawPrioriy=1 to the map I wanted in the background and DrawPriority=2 to the map I wanted on top. This option can be added to your maps under Map Properties...Extras tab...click Add...Key enter DrawPriority...Value enter number


rws,
I tried using the DrawPriority under the Extras tab and I was not sure what value to enter for the "key", this is what I got but I have a section of my trail that is not on top. Does this look right?

; Generated by GPSMapEdit 1.0.38.3

[IMG ID]
ID=12345678
Name=TOYSAR 08-All
Preprocess=N
TreSize=511
TreMargin=0.00000
RgnLimit=1024
Transparent=Y
POIIndex=N
Copyright=Team TOYSAR
0x01=DrawPriority=2
0x16=DrawPrioriy=1
Levels=5
Level0=24
Level1=21
Level2=18
Level3=17
Level4=16
Zoom0=0
Zoom1=1
Zoom2=2
Zoom3=3
Zoom4=4
[END-IMG ID]
rws
QUOTE(YaMon @ Nov 24 2007, 09:08 PM) *
rws,
I tried using the DrawPriority under the Extras tab and I was not sure what value to enter for the "key", this is what I got but I have a section of my trail that is not on top. Does this look right?

; Generated by GPSMapEdit 1.0.38.3

[IMG ID]
ID=12345678
Name=TOYSAR 08-All
Preprocess=N
TreSize=511
TreMargin=0.00000
RgnLimit=1024
Transparent=Y
POIIndex=N
Copyright=Team TOYSAR
0x01=DrawPriority=2
0x16=DrawPrioriy=1
Levels=5
Level0=24
Level1=21
Level2=18
Level3=17
Level4=16
Zoom0=0
Zoom1=1
Zoom2=2
Zoom3=3
Zoom4=4
[END-IMG ID]


You need to make two maps...one with all the trails you want in the background (less the trail you want on top) and then one with just the trail you want on top. For map number one (background map) "Key" type in DrawPriority "Value" type in 1 For map number two (the trail you want on top) "Key" DrawPriority "Value" 2

First Map (background)

[IMG ID]
ID=must be a unique number
Name=TOYSAR 08-All
Preprocess=N
TreSize=511
TreMargin=0.00000
RgnLimit=1024
Transparent=Y
POIIndex=N
Copyright=Team TOYSAR
DrawPrioriy=1
Levels=5
Level0=24
Level1=21
Level2=18
Level3=17
Level4=16
Zoom0=0
Zoom1=1
Zoom2=2
Zoom3=3
Zoom4=4
[END-IMG ID]


Second Map (the one you want on top)
[IMG ID]
ID=must be a unique number
Name=TOYSAR 08-All
Preprocess=N
TreSize=511
TreMargin=0.00000
RgnLimit=1024
Transparent=Y
POIIndex=N
Copyright=Team TOYSAR
DrawPriority=2
Levels=5
Level0=24
Level1=21
Level2=18
Level3=17
Level4=16
Zoom0=0
Zoom1=1
Zoom2=2
Zoom3=3
Zoom4=4
[END-IMG ID]

YaMon
[quote name='rws' date='Nov 24 2007, 09:57 PM' post='3267093']
You need to make two maps...one with all the trails you want in the background (less the trail you want on top) and then one with just the trail you want on top. For map number one (background map) "Key" type in DrawPriority "Value" type in 1 For map number two (the trail you want on top) "Key" DrawPriority "Value" 2

Got it! Thanks!
littleguy
Thanks for the info,I'm going to try it tonight.

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.