The LOU file Format

Top  Previous  Next

Conventions:

To simplify the description in the following something, we fix before some conventions in the interpretation of the graphic arts and the text.

 

: =

Allocation operator (definition)

 

Text

compelling necessary component

 

Text

optional component

 

Text

Fixed Identifier / call sign

 

Text

Explanation / explanation

 

Text

Any sequence

 

 

Text

 

Zusammengehörige components

 

 

 

Text

 

 

Separate components

 

 

 

 

 

The separation of single components occurs through one or

several blanks.

 

Text

: =

Text

or

Text

or

Text

or

Text

.

Capital letters

: =

{A..., Z}

 

Letters

: =

{A..., Z, a..., z}

 

ASCII

: =

All representable ASCII signs (code 32-127, 160-255)

 

Figures

: =

{0, 1... 9}

 

Practice witchcraft

: =

{0, 1... 9, A..., FAS}

 

Portents

: =

+ or -

 

Sharp

: =

{.}

 

Blanks

: =

{}

! No Empty amount, but a Space

 

{Amount}n

: =

exactly n any signs from the amount

 

{Amount}[n]

: =

at most n any signs from the amount

 

¥

: =

infinitely often (repeat)

 

All non-performed representations or names arise from the connection or are selfexplicatory in your meaning.

 

File format:

A file written in the LOU format always passes of two components head segment and file end. Optionally a data segment with can be inserted. The file format owns therefore the following basic structure:

Head segment

 

Data segment

 

File end

 

Of each of these components the enclosure which analyzes itself again in other untercomponents forms one for itself. These are shown in the following in sections in detail.

 

Head segment

The head segment (often also as a Header segment called) subdivides itself into two other untersegments, to the real head data and the head information optionally to be given:

 

Head segment

: =

Head data

 

Head information

The head data own the following sequential construction:

 

Head data

: =

&H

 

Name

 

Type

 

X

 

Y

 

DX

 

DY

 

Text graduation

 

Resolution

 

Flag

Instead of the call sign &H the call sign &H1 is also permitted (in support of the call sign &H3 of the head information – see the also sequential construction moreover of the head information). Both information is equivalent to each other and, therefore, can be exchanged arbitrarily mutually.

The single sequences of the head data have the following meaning / explanation:

 

Name

: =

{Figures, capital letters, blanks, point}9

 

The Sequenze name is a text field with exactly nine signs. The field describes the plan name of the basic plan.

 

Type

: =

T

{Figures}[3]

 

The Sequenze type is an optional field which begins with the fixed Identifier T to which then maximum three figures can be suspended. The field describes the plan type of the basic plan.

 

X

: =

Portents

{Figures}[9]

 

 

 

 

 

 

Y

: =

Portents

{Figures}[9]

 

The sequences X, Y are followed figure fields with an optional portent by maximum nine figures. The fields describe the co-ordinates of the left lower corner of the basic plan.

 

DX

: =

{+}

{Figures}[7]

 

 

 

 

 

 

DY

: =

{+}

{Figures}[7]

 

The sequences DX, DY are followed figure fields with an optional positive portent by maximum seven figures. The fields describe the expansion of the basic plan in X or Y direction.

 

Text graduation

: =

{Figures}[6]

 

The Sequenze text graduation is a figure field with maximum six figures. The field describes the Skalierungsfaktor for text heights and symbolic dimensions of the basic plan. The information refers on 1/100 mm.

 

Resolution

: =

{Figures}[6]

 

The Sequenze resolution is a figure field with maximum six figures. The field describes the unit for the management / treatment of all data bank co-ordinates of the basic plan.

 

Flag

: =

R

 

The Sequenze Flag is an optional call sign field with the firm identity letter R. The field describes the interpretation of the co-ordinates in the data segment of the LOU format. Exists the Sequenze Flag, the co-ordinates are interpreted as relative co-ordinates with regard to the left lower corner of the plan, otherwise as absolute co-ordinates.

 

The head information owns the following sequential construction:

 

Head information

: =

&H3

 

{System infos, user infos}¥

 

After the firm call sign &H3 a lot of information from the amount of the system infos or user info can be listed arbitrarily.

The system infos are made up again as follows:

 

System infos

: =

{$OK info, $ST info, point infos}

 

 

$OK info

: =

$OK

 

By the available being of this entry it is documented that the data were provided by a version more recently or immediately the version 5.3 of Gradis2000.

 

$ST info

: =

$ST

 

MK-Key

 

ND-Key

 

ADI

 

MK-Key

: =

MK

{IN 8000..., IN 9998}

 

This field describes the highest available free MASTER-KEY (this must lie in the area between 8000 and 9998). Attention in some files the undocumented entry is to be found by five figures.

 

ND-Key

: =

ND

{0,1}

 

This field describes the key for the data manipulation under networks (this may accept only the value 0 or 1).

 

ADI

: =

ARE:

{Figures, capital letters, point, $}3

 

This field describes the identification of the Archiv-Devices (this must exist of exactly three signs).

 

Both entries $OK info and $ST info may seem only once. Besides, they are connected so that the $ST info is (read) only considered, if the $OK info exists.

 

Sharp infos

: =

.D

Capital letter

 

Graduation

 

Limit

 

CX

 

CY

 

DX

 

DY

 

PX

 

PY

 

The point infos are used basically for detailed window. The single sequences arise as follows:

 

Graduation

: =

{Figures}[5]

 

The Sequenze graduation is a figure field with maximum five figures. The field describes the cutting graduation of a detailed window. If becomes for the graduation the value 0 registered and it concerns with the beginning call sign around.DA....DD so it concerns a fixed positioned window with the sequences PX and PY are cancelled and the limit entry also the value 0 agrees.

 

Limit

: =

{Figures}[5]

 

The Sequenze limit is a figure field with maximum five figures. The field describes the limit of a detailed window.

 

CX

: =

Portents

{Figures}[9]

 

 

 

 

 

 

CY

: =

Portents

{Figures}[9]

 

The sequences CX, CY are followed figure fields with an optional portent by maximum nine figures. The fields describe the centre of the detailed window.

 

DX

: =

{+}

{Figures}[5]

 

 

 

 

 

 

DY

: =

{+}

{Figures}[5]

 

The sequences DX, DY are followed figure fields with an optional positive portent by maximum five figures. The fields describe the expansion of the detailed window in X and Y direction.

 

PX

: =

Portents

{Figures}[9]

 

 

 

 

 

 

PY

: =

Portents

{Figures}[9]

 

The sequences CX, CY are followed figure fields with an optional portent by maximum nine figures. The fields describe the position point of the detailed window.

 

The relation of the co-ordinate information in the above fields is depending on Flag entry in the sequence of the head data (relative co-ordinates or absolute co-ordinates).

.D - sequences are only also considered (read), if $OK - sequence is put.

The user infos are made up as follows:

 

User infos

: =

Name

 

Entry

 

Name

: =

{Figures, capital letters, point, $}3

 

The Sequenze name is a field with exactly three signs. The field describes the name of the user info.

 

Entry

: =

%

{ASCII}16

%

 

The Sequenze entry is a field with at most sechszehn to representable ASCII signs which are limited by two % brands. The field describes the entry of the user info.

 

The name assignment is free in principle, she is defeated only by the restriction that nobody $ sign and no point may stand as the first sign, because these are booked for the system infos.

Data segment

The data segment exists of arbitrarily many sequences of object data and the accompanying element data. Besides, the information of element data is in each case optional.

 

Data segment

: = {

Object data

 

Element data

}¥

The object data own the following sequential construction:

 

Object data

: =

&O

 

ID

 

{

Key

}[6]

 

ID

: =

N

{Figures}[5]

 

The optional Sequenze ID is a field with the call sign N, followed by maximum five figures which represents the internal object number.

 

Key

: =

{Figures}[4]

 

The Sequenze of keys is a field with maximum four figures. The field describes the object keys.

The element data which can be given optionally own the following construction:

 

Element data

: =

{Line element, symbolic element, text element, attributes}¥

In principle many elements can be given arbitrarily in any order. The single elements are described in the following closer.

Line elements

The line elements own the following sequential construction:

 

Line element

: =

{Line element 2D, line element 3D}1

 

line element 2D

: =

&L

 

DK

{

Point info

 

X

 

Y

}¥

 

line element 3D

: =

&L3

 

DK

{

Point info

 

X

 

Y

 

Z

}¥

With line elements it can concern around 2D-or 3D-elements. However, this affects only in the real point information. The single sequences own the following sequential construction:

 

DK

: =

K

{Figures}[3]

FS

 

 

FS

: =

/

{Figures}[2]

 

The Sequenze DK is a field with the firm call sign K, followed by a maximum 3-figure number which represents the sign key. Optionally the separator / can follow followed from a two-digit number which represents the surface key.

 

 

 

 

 

 

 

Point info

: =

Connection

KS

 

Connection

: =

{

P

,

L

,

R

,

C

}1

 

 

KS

: =

/

{Practice witchcraft}1

{Practice witchcraft}1

 

The Sequenze point info is a field the additional information about a point of the line element carries. It owns one of the given letters, the line connection wiederspiegeln as the first call sign. Optionally the point class and in the following the point symbol can be given by the Seperator / apart. Point class and point symbol are given in each case by a hexadezimale number.

 

 

 

 

 

 

 

 

X

: =

Portents

{Figures}[9]

 

 

 

 

 

 

Y

: =

Portents

{Figures}[9]

 

 

 

 

 

 

Z

: =

Portents

{Figures}[9]

 

The sequences X, Y, Z are followed figure fields with an optional portent by maximum nine figures. The fields describe the position of the line point. The Z sequence is required only for the line elements 3D! The information of the co-ordinates gets on as relative co-ordinates, if the suitable Flag is put in the head data – otherwise as absolute co-ordinates.

Symbolic elements

The symbolic elements own the following sequential construction:

 

Symbolic element

: =

&SEE

 

DK

 

Symbol

 

X

 

Y

 

W

with

 

DK

: =

K

{Figures}[3]

FS

 

 

FS

: =

/

{Figures}[2]

 

The Sequenze DK is a field with the firm call sign K, followed by a maximum 3-figure number which represents the sign key. Optionally the separator / can follow followed from a two-digit number which represents the surface key.

 

 

 

 

 

 

 

Symbol

: =

{Figures}[3]

 

The Sequenze symbol is a field with maximum 3 figures. It represents the symbolic number.

 

X

: =

Portents

{Figures}[9]

 

 

 

 

 

 

Y

: =

Portents

{Figures}[9]

 

The sequences X, Y are followed figure fields with an optional portent by maximum nine figures. The fields describe the position of the symbol. The information of the co-ordinates gets on as relative co-ordinates, if the suitable Flag is put in the head data – otherwise as absolute co-ordinates.

 

W

: =

{Figures}[6]

 

The Sequenze W is a figure field with maximum six figures. The field describes the positive direction corner of the symbol with regard to the X axis. The information of the corner finds in the unity from 1/100000 Radian instead of.

 

 

 

Text elements

The text elements own the following sequential construction:

 

Text element

: =

{Norm text. Fixed text, attribute text}1

 

Norm text

: =

&T

 

DK

 

Text info

 

X

 

Y

 

W

 

Text

 

Fixed text

: =

&T2

 

DK

 

Text info

 

X

 

Y

 

W

 

Text

 

L

 

Attribute text

: =

&TA

 

DK

 

Text info

 

X

 

Y

 

W

 

List

With text elements it can concern therefore norm, fixed texts or attribute texts. However, this affects only in eigentlichenTexten:

 

DK

: =

K

{Figures}[3]

FS

 

 

FS

: =

/

{Figures}[2]

 

 

 

 

 

The Sequenze DK is a field with the firm call sign K, followed by a maximum 3-figure number which represents the sign key. Optionally the separator / can follow followed from a two-digit number which represents the surface key.

 

 

 

 

 

 

 

 

 

 

 

 

Text info

: =

{Figures}[5]

TS

 

TS

: =

/

{Figures}1

Format

 

 

Format

: =

{

L

,

M

,

R

}1

 

 

 

 

 

 

 

 

 

 

The Sequenze text info is a field, beginning with maximum five figures, which the text height in 1/100 Millimetres with regard to the text graduation given in the head data perform official duties. Optionally the separator / can join, followed by a figure, which the text kind represented and followed from one of the signs l, M or R which represents the text adjustment (On the left, Concentric, right).

One notes that the information is only interpreted for the text adjustment, if the Sequenze OK-info exist in the head information – otherwise the adjustment is accepted automatically flush left.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X

: =

Portents

{Figures}[9]

 

 

 

 

 

 

Y

: =

Portents

{Figures}[9]

 

The sequences X, Y are followed figure fields with an optional portent by maximum nine figures. The fields describe the position of the text. The information of the co-ordinates gets on as relative co-ordinates, if the suitable Flag is put in the head data – otherwise as absolute co-ordinates.

 

 

 

 

 

W

: =

{Figures}[6]

 

The Sequenze W is a figure field with maximum six figures. The field describes the positive direction corner of the text with regard to the X axis. The information of the corner finds in the unity from 1/100000 Radian instead of.

 

 

 

 

Text

: =

%

{ASCII}[255]

%

 

The Sequenze text is a text field with maximum 256 signs which is limited by the call sign sign % on both sides. The field describes the text entry.

 

 

 

 

 

 

L

: =

{Figures}[6]

 

The Sequenze L is a figure field with maximum six figures. The field describes the state line length for texts with firm length.

 

 

 

 

List

: =

%

Label

Label list

%

with

Label list

: =

{

,

Label

}9

 

 

Label

: =

{Figures, capital letters, point, $}[3]

 

The Sequenze list is a listing of maximum ten Attribut-Labeln which are separated by the sign. The listing is limited on both sides by the call sign sign %. The single attribute label exist of maximum three signs from the amount cited on top.

 

 

 

 

 

 

 

 

 

Attributes

The attributes own the following sequential construction:

 

Attributes

: =

&A

 

AName

 

Text

with

 

Aname

: =

{Figures, capital letters, point, $}3

 

The Sequenze AName is a text field with exactly three signs. It represents the attribute name.

 

 

 

 

Text

: =

%

{ASCII}[255]

%

 

The Sequenze text is a text field with maximum 256 signs which is limited by the call sign sign % on both sides. The field describes the attribute value.

 

 

 

 

 

File end

The file end &is marked by the firm call sign &E:

 

File end

: =

&E

Every file in the LOU format must contain this end call sign!

 

Example:

&H test T150 10000 15000 5000 5000 200 1000 R

&H3$OK

$ST MK08145 ND1

GNP %Beliebiger text %

&O N11 1004 IN 1010, 1021

&L K123 / 12

P/4FA IN 1050, 1500

L IN 1100, 2000, 580, 2112, 608, 2112

610 2423 980 1701

R/B 1100 IN 1605

&L K24

P 5312 IN 4333

L IN 5400, 4804, 5477, 4000

C/A3 5500 IN 5000, 5550, 5020, 5600, 5040

IN 5650, 5060, 5700, 5080, 5750, 5100

IN 5800, 5150

&SEE K24 / 12 132 4811 3010 0

&SEE 133 4822 3010 81804

&O 1011

&L3 K7

P/5 1945 200 340

L IN 1960, 250, 500, 1975, 420, 812

IN 1990, 390, 1003

&T K5 / 33 1000 / 4 M 2000 in 1500 12000 %Mein text %

&O 1033 IN 1034, 1035, 1036, 1037, 1038

&TA IN 1000, 2500, 800 0 %TST, AB1, % AB2

&A TST %Dies is a test %

AB1 %34567,34%

AB2 %DM %

&O 1001

&T2 K11 / 9 500/6 2100 12000 %Feste lengths % in 1000

&E