Go Back   Global Mapper Forum > Features Discussion > Vector Data


Vector Data Topics about importing, exporting and using vector (shp, dxf, dgn, etc.) data

Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 08-26-2008, 06:41 PM
Administrator
 
Join Date: Jun 2007
Posts: 3,630
Thanks: 1
Thanked 147 Times in 146 Posts
Default

You need to press the 'Attributes' button on the Area Styles tab of the Configuration dialog and then add a MP_TYPE attribute with the value as your hex code as the value for that attribute.

Let me know if I can be of further assistance.

Thanks,

Mike
Global Mapper Support
support@globalmapper.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #22 (permalink)  
Old 08-26-2008, 08:24 PM
Global Mapper User
 
Join Date: Aug 2008
Posts: 96
Thanks: 6
Thanked 0 Times in 0 Posts
Smile Custom type

Thank you for your response Mike,
Mike I created a new type, I added the type attribute data as well. And still I am getting the same error "308" from cGPSmapper. I looked at the MP file and there are no TYPE= <hex> data in the file, please see attached files please.

Any Idea what might be the problem ?
Attached Files
File Type: zip 201.zip (202.0 KB, 5 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #23 (permalink)  
Old 08-26-2008, 09:48 PM
Administrator
 
Join Date: Jun 2007
Posts: 3,630
Thanks: 1
Thanked 147 Times in 146 Posts
Default

The name of your attribute should be 'MP_TYPE', not the name of your type. Changing that name in your default attribute list should fix the problem.

Let me know if I can be of further assistance.

Thanks,

Mike
Global Mapper Support
support@globalmapper.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #24 (permalink)  
Old 08-26-2008, 10:46 PM
Global Mapper User
 
Join Date: Aug 2008
Posts: 96
Thanks: 6
Thanked 0 Times in 0 Posts
Smile

Mike i changed the name and it shoes now in the MP file. However when I open the finished MP file in GM10 there is no color displayed and the Feature type is saying "undefined area ( please see the 2 pictures ).

So I opened the file in GPSMapEdit and everything is in red and the description is stating "Unknown" .

What happened to the colors and to the description ?
Attached Images
File Type: jpg Pict1.jpg (68.2 KB, 4 views)
File Type: jpg Pict2.jpg (121.3 KB, 3 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #25 (permalink)  
Old 08-27-2008, 01:14 AM
Administrator
 
Join Date: Jun 2007
Posts: 3,630
Thanks: 1
Thanked 147 Times in 146 Posts
Default

Can you send me the MP file that was created? I would have expected the type to be auto-assigned in Global Mapper when you loaded the MP file since there was a feature type with a MP_TYPE value of 0x56 in the default attribute list. Note that any color information used in Global Mapper would NOT carry over into the MP file. Only the type assignment does. It is up to the GPS units to decide how to render a type, cGPSMapper does not have any control over that.

As an aside, what is the 0x56 area type? I do not see that in the RGNType.txt file distributed with cGPSMapper.

Thanks,

Mike
Global Mapper Support
support@globalmapper.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #26 (permalink)  
Old 08-27-2008, 03:10 PM
Global Mapper User
 
Join Date: Aug 2008
Posts: 96
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Thanks again Mike for your quick response,
Mike I don't know what happened but after the update you send me the colors are showing up now. Also when I open the same file with GM9 they do not.

Regarding the 0x56 type, this is a custom type I created with "GenType". I did not use this yet because I do not know how to add the custom type file to "cGPSmapper".

I must tell you I still do not understand custom types yet even after reading the tutorial and other papers. All I want to do is modify the name for overlays. I want to use the types what are there including the crosshatch, however I would like to modify the colors and apply different names to them.

That's why I think that I have to create custom types, I think I lost here.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #27 (permalink)  
Old 08-27-2008, 03:31 PM
Administrator
 
Join Date: Jun 2007
Posts: 3,630
Thanks: 1
Thanked 147 Times in 146 Posts
Default

Ah, it sounds like you want to define your own types with your own specified style information. This is a rather complex thing to do and is not yet supported in Global Mapper automatically. You would need to create your own custom type definition files. I don't have any personal experience doing this, but I think there is some documentation for this at cGPSmapper - Your Tool For Creating Maps that describes the process.

Let me know if I can be of further assistance.

Thanks,

Mike
Global Mapper Support
support@globalmapper.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #28 (permalink)  
Old 08-27-2008, 03:37 PM
Global Mapper User
 
Join Date: Aug 2008
Posts: 96
Thanks: 6
Thanked 0 Times in 0 Posts
Default

Thank again Mike for your help,
I will check this link out today.

Can you please tell me then what the custom type is in GM10 is ? Also what does the Attribute is for then, thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #29 (permalink)  
Old 08-27-2008, 03:41 PM
Administrator
 
Join Date: Jun 2007
Posts: 3,630
Thanks: 1
Thanked 147 Times in 146 Posts
Default

The custom type and default attribute list support for MP in Global Mapper is for defining your own mapping from a Global Mapper type to a type hex code used by cGPSMapper. For example you might define a new road line type and you want Global Mapper to know on export what MP hex code to use for features of that type. The default attribute list mechanism provides an easy way to do that. For pre-defined MP types, the hex code is all that you need as the Garmin units themselves determine how to draw features of that type.

Thanks,

Mike
Global Mapper Support
support@globalmapper.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to global_mapper For This Useful Post:
mjmfgm (08-27-2008)
  #30 (permalink)  
Old 08-27-2008, 03:58 PM
Global Mapper User
 
Join Date: Aug 2008
Posts: 96
Thanks: 6
Thanked 0 Times in 0 Posts
Smile

Thanks again Mike that makes sense. I guess I have work to do and get going on this.

thanks for all your help Mike.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


Sponsored links
ACDSee Pro 2.5


All times are GMT. The time now is 09:13 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright 200 Globalmapperforum.comAd Management by RedTyger