Modes of attributes download

Previous Top Next

In the program of importing the data from MIF/MID the downloading of the attributive information into a map is provided.

For loading the data into semantics of a map object is used, coincidence of a short name (key) of the semantic characteristic and a field name in file MIF/MID is necessary. At noncoincidence of characteristics it is possible to use the mode of installation of semantics correspondence with the classifier data.

Besides the attributive information from file MID it is possible to add MIF file name into semantics of map objects. For this purpose it is necessary to tick the appropriate parameter - Save MIF-name to semantic.

For an ensuring a more correspondence of object's view on the output map to the object described in file MIF/MID, it is offered to use a dialog component Save data graphics primitives to semantic. At using this control element the information which is contained in file MIF and describes an object view, type, color, shading is written into semantics of object created on a map with the relevant codes of the classifier.

At object of type the Point there can be specified a symbol view, color and the size, the name and style of a font, for example:

Symbol (57,13658112,7, "maps1", 0), where

57 - this value is assigned to semantics the NUMBER of SIGN SYMBOL;

13658112 - to semantics the COLOR of SIGN, AREA;

7 - to semantics the SIZE of SIGN SYMBOL;

"maps1" - to semantics the FONT NAME;

0 - to semantics the FONT STYLE.

For object of type the Polygon there are specified the size, type, color of a line:

 Pen (14,6,44031)

The thickness of a line - 14 - is entered into semantics the LINE THICKNESS;

Line type - 6 - into semantics the SYMBOL NUMBER of FILLING the LINE (1-255);

LINE COLOR - 44031 - into semantics 2041 - LINE COLOR.

 

The object of type the area can contain the description of type of a line and shading:

  Pen (14,1,44031)

  Brush (50,0,16777215)

Hatchings are defined by the following characteristics:

50 - a template, is placed into semantics the NUMBER of SIGN SYMBOL (MORE 31);

0 - base color - into semantics the COLOR of SIGN, AREA;

16777215 - background color - into semantics 2045 - BACKGROUND COLOR.

 

For textual object the font is set:

 Font ("Helve", 0, 0, 13658112)

In brackets the font name, style, the size, base color, color of a background are listed.

For the font name there is used the semantics the FONT NAME, for style - semantics the FONT STYLE.

The size is recorded into semantics the SIZE of SIGN SYMBOL In ITEMS (1-48), color - into semantics the COLOR of SIGN, AREA.