Codes
interpretation file description
Codes interpretation file is a text
file (ASCII) with extension .cod that can be edited from program using command TopoCfg section Files or directly from Windows.
A line with first character (;) is
considered an information line.
Codes interpretation file structure
is organized in groups with key word Group followed by character (>) and
then by group’s name. Ex. Group>Constructions
Line from file that describes a code
has to contain the following items in order:
1.
code;
2.
code description (code translation);
3.
importance order at optimization
[1÷9];
4.
code type as line (lin), block
(blk), shape (shp) or information used in the block attribute (info);
5.
line name (LINETYPE), or block name
.dwg, or shape name;
6.
line width when you choose type
(lin) or scale factor in case you choose type (blk) or (shp).
Separating character is character
(=).
Example about defining codes:
code=description=order [1÷9]=lin/blk/shp/info=name=width/scale factor
T =LimProp =1=lin=LINPROP =0.30
11 =CCbet =2=lin=CONTINUOUS =0.40
12 =CCmet =3
16 =Fundatie =4=lin=LCONSTRSUB =0.40
5 =CV =3=blk=CV =1.00
55 =ColtCV =3=
= =
555 =Gager =3=blk=GAGER =1.00
5555 =Hidrant =3=shp=HIDR =1.00
53 =CanalCond
The importance order of a point’s
code can take values between one and nine represents the importance of a point
to another at optimization. The importance of a point from another is given by
this order in ascending order. By example, a measured point that represents a
propriety limit is more important than a point that represents a pillar. So,
the points text optimization is made first for points that have 1-rst order and
than for points that have 2-nd order and so on. Points with no defined
importance order are being considered as having 9-th value.
Code type (lin), (blk), (shp) or
(info) represents graphical link with point. It means that for allocation (lin)
a linear symbol will pass through point, for allocation (blk) or (shp) a
punctiform symbol will be inserted, and for allocation (info) a block symbol
with attributes will be inserted and the first attribute in this block will be
completed with the information following the assigned code. When you allocate a
line, you have to introduce both line name and its width in mm or inch, and
when you allocate a block or shape, you need to introduce scale.
An example of completing the
information would be for the kilometer terminal symbol „BRN-KM.DWG”
with code 490 of type (info). For a topographic point that has the code 490-12
the program inserts the „BRN-KM”
block in the point and then changes the value of the first attribute to 12.
Thus the symbol will appear in the drawing including the number of kilometers.
This completion of the blocks with information from the point code can also be
used for postal numbers using the „NR-POST.DWG”
block.
Blocks with punctiform symbols must
be drawn in mm or in inch (1 CAD graphical unit = 1mm or 1 CAD graphical unit =
1inch) accordingly to the measurement system used by program, metric or
english. When blocks are correctly defined in mm or in inch scale factor is
1.00. For blocks that are not correctly defined in dimensions in mm or in inch,
scale factor that needs to be introduced for these blocks must be calculated in
such way that every block to be get to a correct value in mm or in inch. For
example, when we have blocks defined in mm and we want to use them in a drawing
that is executed in english measurement system, then scale factor for these
block is 1/25.4. For reverse case scale factor is 25.4.
Both blocks with punctiform symbols
and linear symbols (lines types) must be dimensioned in mm or in inch in the
same way they must be written on paper. For example, if we want like a
punctiform symbol to be represented on paper as a circle with 1mm radius then
to make it we will draw a circle with 1.00 radius in CAD program. In english
system, if we want, for example, to create a circle with 0.04inch then we will
draw a circle with 0.04 radius.