|
Programs
How To
Join Maps
Add/Modify POIs
Unknown MMO
Create Maps
Garmin to Magellan
Downloads
Contacts
• E-mail
|
Map look definitions Here you will find specification that determine look of MapSend or MMO maps on the PC screen. Please use MSmapView program to modify the definitions to change the map look. This determine look of the map on the PC screen, not on the GPSR. 1. Predefined SEM types [GROUPS] A= number of layers, B,D,F-layer number C,E,G – definitions in some database (discussed below), that determine look of the layers on the PC screen. The definition numbers are independent for every type of layers: points, lines and areas. In the map.ini (usually) there is a table showing names of some predefined type, MapSend uses names (!Name!) to show them on the Status Bar when object is pointed by mouse. The table is located in the [SEM_TYPES] section. Numbers in the table are not used by MapSend; absence of the table does not affect look of the map. [SEM_TYPES] Database is located in [GLOBALOPTIONS], [LABEL_ICONS], [LABEL_FONTS] sections of the map.ini file. [GLOBALOPTIONS] section determines look of the point, line and area objects, [LABEL_FONTS] determines look of the labels (independently for each type of object) and [LABEL_ICONS] determines icons and their look for some line objects (like highways). 2. Point presentation [GLOBALOPTIONS]______ 0_________ 1___________ N If look of some point layer is defined by N number; it means it will have “SomeName” name (internal name, not shown in the map) and the point will be shown by “SomeIcon.bmp” [LABEL_FONTS]__________0_________1_______________N ____________________0____________________________ 1___________________________ N Definition----(Label)----------------------------------------------------------------- In the definition A B C D s E F G H: Font definitions: These Font entries are used by all three types of labels (for point, line or area (polygon)). Definition----(Fonts)------------------------------------------------------------------- ___A_____ B__ C_ D_ E_ F A=Font Name; Point presentation can be determined by 16 parameters. In the above example: [GROUPS] Point will be shown as “SomeIcon.bmp”; Label will be shown by Red color, with Arial font of –13 height, Bold, no Italic, Underline, no StrikeOut. Label will have Green outline.
3. Line presentation _______________________0_______ 1____________ N Definition----(Line)----------------------------------------------------------------- A_B__C__DE A,B,C- RGB components of line’s color. if only one number is used instead of DE, it denotes thickness of the solid line. M_DCHAIN_NAME-internal name of the label Labels of the line object can be inserted in the icon. This is typical for freeways and highways. The icons and their appearance are determined in the special section: [LABEL_ICONS] Definition----(Line Icon)-------------------------------------------------------------------- N A B C D Images\SomeIcon.bmp N is the line definition number Icon is stretched to fit the width of the label, A,B,C,D determine relative positions of the label and the icon and width of the icon. Say, Label has width L.W, and Icon has I.H and I.W height and width. I.H is not modified by these numbers and always stay constant. (0) denotes original size of the icon. A labels moves A points to the right; icon expands (if A positive): I.W=I.W+A . ----------------------------------------------------------------------------------------------- Summary of line presentation: Line presentation can be determined by 25 parameters. In the above example: [GROUPS] Line will be shown with blue dotted line ; Label will be shown by Blue color, with the 10 font entry. Label will have Red outline. Label will be placed in the SomeIcon.bmp; Label position and the icon width will be determined as discussed above. 3. Area (polygon) presentation Labels and Names are similar to Point and Line; Area definition:
Definition----(Area)-------------------------------------------------------------------- A___B__C__D_E___F___G__H A,B,C – R,G,B color of the outline (border) Summary of area presentation: Area presentation can be determined by 24 parameters. In the above example: [GROUPS] Area will be shown as a Blue polygon with Green border of the thickness 3. Both fill and border will be shown. Label presentation is the same as for the point and the label Internal names for the Area and the Label are not used by MapSend. 4. BackGround color of the map Background color of the whole map is defined in the mapsend.ini file (MapSend software) or in the mmoffice.ini file (MMO) [MAP] This pale-yellow color shows lands at high zoom level. 5. Multiple entries In some cases [GROUP] section has multiple entries for 1 layer: [LAYERS] [GROUPS] In this example layer 12 can be represented by 14, 15, 18, 57 or 66 definitions of the line presentation. Layer 12 consists of roads (highways) of different types, the numbers in parenthesis are references to the Raima database. 6.1 MMO 1.00, MMO1.10, MMO2.00 MMO\MAP\map.ini file contain both [SEM_TYPES] section and sections with all definitions. The only map.ini file is used for all definitions. When MMO creates custom map it also creates new entries in the [SEM_TYPES] section and in [GLOBALOPTIONS], [LABEL_ICONS], [LABEL_FONTS] sections. These new definitions will represent colors, borders, line type as it was at map creation process. These definitions are very limited and are not suitable for complex maps, so better edit or replace definitions after the map was created (manually or using my MSmapV tool). 6.2 MapSend World Wide basemap. There are 2 map.ini files: in the a) MSWW\MAP folder and in the b) MSWW\MAP\World folder. SEM_TYPES are shown in the a) map.ini. Both a) and b) map.ini contain the same definitions; curiously enough, look of all area types (countries, ocean, parks, rivers…) depends on a) map.ini content while look of all points and line types depends on b) map.ini. So if you want edit areas, edit a) map.ini, if you want edit lines or points, edit b) map.ini 6.3 MapSend Topo for the USA Everything is defined in the MMTopo\MAP\map.ini file.
|