GPSFileDepot Forums

General Category => Map Making Support => Topic started by: infoscrounger on June 22, 2011, 01:51:45 PM

Title: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: infoscrounger on June 22, 2011, 01:51:45 PM
Hello everyone,

I'm currently attempting to upload custom symbols & maps onto my Garmin 60CSx handheld. I use the cGPSmapper software with MapEdit to build the maps themselves, then transfer them with MapToolKit and Image2GPS. I've started playing around with custom TYP files (created using TYP Wiz - http://pinns.co.uk/osm/ostyp.html), and have managed to create the symbols that I want (24-bit 16x16 bitmap file). I've even gotten them to show up in MapEdit (when I select the appropriate map skin) and in MapSource, but when I attempt to upload them to my Garmin nothing shows up. I transfer both the .mp file and the .typ file. I use the same family name and product code, as well as the correct code page as indicated by TYP Wiz. It just seems to be this last step that's killing me here.

If anybody is familiar with this process & software and could lend a hand, it would be most appreciated.

Thank you in advance for your help
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: Boyd on June 22, 2011, 07:23:16 PM
.mp files cannot be displayed by any GPS. They are the source files that you feed to the cgpsmapper compiler. After you compile the map you will have an .img file. Combine that with your .typ file and send to the GPS. Simplest way to do that is probably to use the free Sendmap20 that is available at cgpsmapper.com.
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: jbensman on June 22, 2011, 07:59:22 PM
Use mapsource to send the map to your GPS
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: Boyd on June 23, 2011, 06:35:26 AM
If you have correctly installed them in Mapsource, then jbensman is correct, just send the map to your GPS. Correctly installing a .typ file in Mapsource involves a number of steps however.

BTW, thanks for the link to Typ Wiz and those other Garmin utilities. Very cool stuff that I hadn't seen before. :)
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: infoscrounger on June 23, 2011, 08:24:34 AM
Quote from: Boyd on June 22, 2011, 07:23:16 PM
.mp files cannot be displayed by any GPS. They are the source files that you feed to the cgpsmapper compiler. After you compile the map you will have an .img file. Combine that with your .typ file and send to the GPS. Simplest way to do that is probably to use the free Sendmap20 that is available at cgpsmapper.com.

Sorry, I meant .img file. Just use the .mp to build it all up :) I've been able to get the .typ file to transfer over to the garmin and the custom line types work just fine, however, the custom points do not. Neither the custom symbols I've made, nor the ones that come with TYP Wiz work. I've even incorporated my symbol directly into the .typ file TYP Wiz came with to avoid building my own separate from the rest. The symbols I design show up in mapedit and in MapSource, just not on the garmin itself.


Two points I've considered that might be giving me trouble. First, I'm using old Garmin 60CSx handhelds. Is it possible that these are simply too old to process custom symbols in this way? Second being the software I use to transfer the .img and .typ files, Image2GPS. I believe I have everything all set up correctly, and I must, as I'm getting the custom line types to transfer just fine... it's just these points that are disagreeing with me. Perhaps SendMap can do a better job?

I don't want to use MapSource if it all possible, as I'm trying to make the transfer process as painless as possible (I'm designing maps for other people to upload, other people who aren't the most technical of individuals).
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: maps4gps on June 23, 2011, 09:42:59 AM
As Boyd suggested, try SendMap.  Be sure to select the .typ file along with with .img files.
The older units have a limited color pallet.  I do not remember how old is old, and it would be highly unlikely that your lines and polygons used valid colors while the points symbolds did not.
Another possibility might be that the allowable size dimensions may not include 16x16 - I have not made any custom point types and what may work as a POI symbol amy not do so as a point feature.
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: infoscrounger on June 23, 2011, 09:52:23 AM
Quote from: maps4gps on June 23, 2011, 09:42:59 AM
As Boyd suggested, try SendMap.  Be sure to select the .typ file along with with .img files.
The older units have a limited color pallet.  I do not remember how old is old, and it would be highly unlikely that your lines and polygons used valid colors while the points symbolds did not.
Another possibility might be that the allowable size dimensions may not include 16x16 - I have not made any custom point types and what may work as a POI symbol amy not do so as a point feature.

Well, the custom waypoints that the garmins themselves use are 16x16 pixel, 24-bit BMP files. TYP Wiz comes with some custom symbols which it says are specifically designed for this... I'll try Sendmap though, thanks kindly :)
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: Boyd on June 23, 2011, 12:16:34 PM
I would also try to open that .typ file in the online editor here: http://ati.land.cz/gps/typdecomp/editor.cgi. This is a great tool for working with .typ files and completely eliminates the need for cgpsmapper - natively reads and writes the binary files with no compilation necessary.

If the symbols don't look right in the online editor, then I'd say there's a problem with your file. I wouldn't expect the 60csx to be incompatible with a valid .typ file - I have used them a lot on mine. I'm not familiar with the software you use, so I don't know what issues it might have. Is there some kind of forum or e-mail address for support?

I work pretty extensively with custom types in my own maps, so I will be trying out typ wiz myself before long. :)
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: infoscrounger on June 24, 2011, 08:56:08 AM
Thanks again Boyd, I'll give that online editor a shot. I've also pulled down SendMap so I'll give this a shot.

As for my other software, it's a motley array of AutoCAD, OziExplorer and GPSeismic that produce the shape files & reference map that MapEdit uses to build the .mp and .img files, then MapToolKit to convert the files, then Image2GPS to transfer. No support for what I'm doing for any of the first pieces of software and as for the rest... well.. I think that's you guys :)
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: infoscrounger on June 24, 2011, 10:09:17 AM
Quote from: Boyd on June 23, 2011, 12:16:34 PM
I would also try to open that .typ file in the online editor here: http://ati.land.cz/gps/typdecomp/editor.cgi. This is a great tool for working with .typ files and completely eliminates the need for cgpsmapper - natively reads and writes the binary files with no compilation necessary.

If the symbols don't look right in the online editor, then I'd say there's a problem with your file. I wouldn't expect the 60csx to be incompatible with a valid .typ file - I have used them a lot on mine. I'm not familiar with the software you use, so I don't know what issues it might have. Is there some kind of forum or e-mail address for support?

I work pretty extensively with custom types in my own maps, so I will be trying out typ wiz myself before long. :)

Ahhhhh frustration is setting in now... haha.  I used the online editor, uploaded the .typ file, it loaded up just fine, showing my custom symbols on the website. I uploaded it and the .img file onto the garmin with the SendMap software and once again the custom lines showed up, the custom points did not. That's just not making any sense to me. Why would half of the .typ information work but not the other half?

Help please!
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: Boyd on June 24, 2011, 10:30:47 AM
Sorry, no idea offhand. Do you have another Garmin GPS you can try this on?
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: infoscrounger on June 24, 2011, 10:54:56 AM
Already tried it on the 3 we have here in the office. I'll keep tinkering. Thanks for your help Boyd
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: eaparks on June 24, 2011, 05:50:39 PM
I'll had several things to take a lot at and/or try.  Some of these you may have already done and some may have no affect at all but I've been through some of the same learning curves your mentioning.

16 x 16 is a good size for the 60CSx.  20 x 20 and up to 24 x 24 is a good size for the higher resolution screens like the Oregons.  16 x 16 a little small on Oregons and 24 x 24 is to big on the 60CSx.

Try 8 bit instead of 24 bit for the 60CSx.  Try 199 dpi not 200 or 96, etc.  Layers in a symbol can cause real havoc that sometimes is hard to detect.  If you copy and paste an image from online to make into a symbol you very likely have layering in the image and don't know it.  If you make a color change, especially if changing some pixels to yellow, and you don't see the true bright yellow in your symbol you will definitely have an image with layers in it.

Layering can be a real can of worms to get rid of all the layers if not familiar with it.  The simplest way to get only the top layer with the image you want is to open the symbol in MS Paint, copy and paste the image into a new file in MS Paint and you will only have the single layer of the image.

IrFranView is one of the better simple graphics editing programs that is intuitive, and is free.  Is much easier to use than Adobe's, Gimp, or some of the other full fledged graphics program.

Will try to add more suggestions, if none of this solves the problem.

edit:  I'll feel sure you have checked but thought I'd mention it anyway; your map points are set in your GPS to appear at a fairly zoomed out zoom level aren't they?
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: infoscrounger on June 29, 2011, 09:04:24 AM
Hi eaparks. I'll try the 8-bit instead of 24, and lower the dpi too. Thanks for suggesting that.

And as for depth, yes, they're set to show up at a zoomed out level. I have them set to the same layers as the lines I'm bringing in. The custom linetypes show up just fine, it's just these points that don't. Let me try the couple things you suggested and see if that does it.
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: Boyd on June 29, 2011, 09:22:17 AM
I've come across another type-related problem. I am using Garmin Mobile PC on an HP Slate 500 and it works great with my maps, EXCEPT for one major problem. All bitmapped custom types have rendering issues, but IN DAYTIME MODE ONLY! They all work fine in night mode.

I've banged my head against the wall on this for over a week now and have come to the conclusion that it's just a bug in Mobile PC. If I load Garmin's own US Topo 100k, I see the same issue using Garmin's own default types. If you look at wetland areas (0x51), the standard bitmapped symbol is also messed up.

If I use bitmapped line types, some of them work and others don't - with no consistency. I've tried everything I can think of - different type editors plus handwritten code in a text editor, 8 bit colors, all the different transparency and color modes. It just won't render the types right in day mode. However, custom types without bitmaps work just fine in both day and night. I finally just made a new bitmap-free .typ file and that works ok but doesn't give me quite the look I want.

Sorry for the OT rant, but it just goes to show that custom types may not always do what you want. Have you tried looking at your map in night mode on the GPS?
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: infoscrounger on June 29, 2011, 10:20:07 AM
Hi Boyd. No I haven't tried night mode, but that's really not what I want. I need it to work for daytime.

I figure I must be missing a step somewhere so here's EXACTLY what I'm doing.

1. Open TYPWiz. Tweak symbols the way I want. Save .txt file & .typ file of the modified set (with FID set as 34211, PID = 1, Code = 1252).
2. Open MapEdit, load mapskin of the .txt file I just made.
3. In MapEdit, create map the way I usually do with shape files, but assign point shape to the custom symbol I want.
4. Save that map as a .mp (ie. 11536000.mp)
5. Copy that .mp file, then turn that copy into a text file (ie. 11536000.txt)
6. Export map through cGPSmapper to get my .img file.
7. Copy all of these files to my C drive, into a custom garmin folder (so I have my .mp, .txt, and .img of the map, plus the .txt & .typ of the modified .typ file).
8. Open MapToolKit, select the correct path, add the image. Set the FID to 34211 (auto sets PID = 1) and the Code to 1252. Use shortened mapset name (1153600 <- 7 digits not 8, think 8 screws the formatting up)
9. Convert this, MapToolKit spits out the other files.
10. Copy EVERYTHING back into the folder I want to store it in.
11. Use Image2GPS or SendMap to wipe my Garmin then transfer the converted files + the custom .typ file I designed in the first place.

12. Look at Garmin. See custom polylines, but not custom points. Begin cursing and throwing Garmin around the room.

Am I perhaps missing a step? This method works perfectly for the maps I've been building without .typ's... so all I should have to do is upload the .txt as a skin in MapEdit, then upload the .typ file to the Garmin along with the map, no?

Thanks again guys, I really appreciate your help.
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: Boyd on June 29, 2011, 01:09:18 PM
I don't use GPSMapedit with custom types. I've found that they often don't look like I expect in that program, and also don't look like they would on the GPS. I don't really see anything wrong with what you're doing, but you seem to be taking some extra steps I don't understand.

Why would you convert the .mp file to a .txt file? cgpsmapper uses .mp files as source. In the end, as far as the gps itself is concerned, all you need is an .img file and a .typ file. If you go to all the trouble of using mapsetoolkit, then you have installed your map into mapsource. In that case, you don't need Sendmap or img2gps. Just select the part of the map that you want and use Mapsource to send it to the GPS.

You missed my point with the question about night mode. It is another way to debug what you're doing. If the symbols work correctly in night but not in day (like the problem I described), then it's probably an issue with the way that the 60csx processes .typ files.
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: jbensman on June 29, 2011, 01:13:52 PM
Quote from: infoscrounger on June 24, 2011, 10:54:56 AM
Already tried it on the 3 we have here in the office. I'll keep tinkering. Thanks for your help Boyd

Are they all the 60csx?  The problem could be limittions of the 60csx.  I would try it on a more modern GPS (CO, OR, DA, 62, etc)
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: infoscrounger on June 29, 2011, 01:39:59 PM
jbensman: They're all 60CSx's. Those are the ones we use in the field, so any solution I come up with needs to work for those models specifically.

Boyd: Just tried the night mode, nope, they're not there either.

As for the text file... haha, I don't know. I'm not the guy that did the original research on this topic (and no, he's not available). That's just in the write-up that he gave me.

Two things:
1. What program do you use to compile all your shape files? That's why I use MapEdit. Yes, what appears in MapEdit is different from what I get on the Garmin, but at least it gives me a rough idea of what I'm looking at.

2. When I use MapToolkit to install the map into MapSource I'm unable to transfer it to the Garmin. I switch to the custom mapset, I can see it on my MapSource screen, but then when I go Transfer -> Send to Device... it gives me the error message 'To transfer data to your device, select maps or creat waypoints, routes or tracks." I can see the custom map directly in front of me on the screen here but nothing will transfer to the Garmin. So that's why I'm using SendMap or Image2GPS, since MapSource won't do it.
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: maps4gps on June 29, 2011, 07:30:43 PM
When using MapSource, did you select some quads/tiles to send?  They will be listed in the window on the left side. 
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: eaparks on June 29, 2011, 08:48:28 PM
infoscrounger:  I'll be glad to troubleshoot your file if you'd like.  PM me and I'll send you my email address to send the .mp file to if your interested.  Also I would want to take a look at the .bmp and/or .png file for the problem points. 
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: infoscrounger on June 30, 2011, 08:12:12 AM
Hi maps4gps:

I don't see anything showing up. I've got the 4 tabs: Maps, Waypoints, Routes, and Tracks. I presume the map would be under map... but there's nothing there. It's only on my drop-down menu in the top left corner where I can select the mapset I've designed.
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: maps4gps on June 30, 2011, 08:26:17 AM
Take a look at this tutorial: http://www.gpsfiledepot.com/tutorials/how-to-load-maps-on-my-garmin-gps-unit/
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: infoscrounger on June 30, 2011, 09:59:10 AM
Quote from: maps4gps on June 30, 2011, 08:26:17 AM
Take a loot at this tutorial: http://www.gpsfiledepot.com/tutorials/how-to-load-maps-on-my-garmin-gps-unit/

Thanks for that link. I followed it step by step, I WAS able to grab the map and send it to the Garmin... but once again, only the polylines transfered, not the points.
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: Pinter on July 01, 2011, 02:40:54 AM
If Mapedit shows your pois then they are included in the img. You can also use img2typ at http://pinns.co.uk/osm/img2typ.html to check if the poi is listed in the img, no need to go the  mp route.
If it hasn't been listed then the problem lies with the redering of the img
If it is included, more than likely, then its is still possible for your GPS unit NOT to show certain pois, however strange this may sound.
Unfortunately some Garmin handhelds and nuvis ignore certain types ie (0x Number) EVENTHOUGH they show up in Mapsource or BaseCamp. Try fooling it by using types reserved for places & cities , ie 0xD00 etc . Check cgpsmapper manual for default type list
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: leszekp on July 03, 2011, 12:26:45 PM
Try using MapSet Toolkit to install the maps and TYP file into MapSource/BaseCamp, then upload the maps to your Garmin. SendMap has been hit-and-miss for custom TYP files for me, but the MapSet Toolkit approach had always been successful for me.
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: infoscrounger on July 07, 2011, 08:21:57 AM
Pinter:

I've uploading my .typ to the viewers before and it does show them. I will, however, try to assign it to a normal point. I'd just been assigning it to the basic point 01 from the .typ but I'll try.

leszekp:

I've tried the MapSource transfer option. I get the same issue as before. The polylines transfer over, but not the points.

Thanks everybody for your help and suggestions :)
Title: Re: Creating custom maps with custom symbols - MapEdit/cGPSmapper
Post by: maps4gps on July 07, 2011, 09:24:06 AM
Quote
I'd just been assigning it to the basic point 01 from the .typ but I'll try.
I am not sure there is such a feature as a 'basic point'.
I see code 01 in the cgpsmapper manual; however, POI's normally use a 4 place hex code, see pages 82-92 of the manual.
Also be aware that the GPSr units have 'overrides' for some feature types; thus they can behave/display differently than expected. 
This is all found out by trial and error as Garmin does not provide information on how they do things.

I suggest trying one or more of the normally used codes, and an unasigned code to see if that helps any.