Indoor ASCII Database Format (IDA)
The IDA database-files (Indoor Database ASCII) are in a simple ASCII format.
|
Arbitrary number of title or comment lines. The “*” is optional, no special comment character required. |
|
This keyword marks the beginning of the material data. |
|
The structure of the material properties belonging to the visualization settings. |
|
The structure of the material properties belonging to the electrical settings for each defined frequency. |
|
Sample Code. |
|
|
|
This keyword marks the end of the material data |
|
This keyword marks the beginning of the building data. |
|
Total number of walls [integer value]. |
|
Sample Code. |
|
Contrary to the urban databases, no offset can be defined.
WallMan and ProMan return an error if the number of walls is incorrect when the file is processed.
Following the header, there is one line for each wall or subdivision of the described buildings. At the beginning of the line, an optional comment may be inserted between “*” signs. Unlike in the header, now the “*” signs are compulsory.
If no subdivisions are defined for a certain wall, then the {Number of
Subdivisions}
parameter is set to zero. If there are subdivisions, the
parameter {Number of Subdivisions}
defines, how many subdivisions exist
for that individual wall.
The subdivisions are then defined exactly like the walls, with only one difference: The
{Number of Subdivisions}
parameter is omitted (see example
below).
The lines for the defined subdivisions must come directly after the corresponding wall.
Each line is structured as follows:
* comment *
{Wall Index Number [integer]}
{Number of corners [integer]}
{x-coordinate of corner # 1 [float]} ,
{y-coordinate of corner # 1 [float]} ,
{z-coordinate of corner # 1 [float]}
{x-coordinate of corner # 2 [float]} ,
{y-coordinate of corner # 2 [float]} ,
{z-coordinate of corner # 2 [float]}
.....
{x-coordinate of corner # n [float]} ,
{y-coordinate of corner # n [float]} ,
{z-coordinate of corner # n [float]}
{Material Index Number [integer]}
{Number of Subdivisions (float)}
END_WALLS
marks the
end of the file.This is a sample file containing only one wall with one subdivision:
* Indoor Database *
* Last changed on: 23. 9.2009 10:24:42 *
BEGIN_MATERIAL
* [MATERIAL] [ID] [GENERAL] ["Name of Material"] [Thickness (in cm)] [Filled in Display] [Color: Red] [Color: Green] [Color: Blue]
* [MATERIAL] [ID] [FREQUENCY] [Frequency (in MHz)] [Dielectrictity (relative)] [Permeability (relative)] [Conductivity (in S/m)] [Transmission Loss Vertical (in dB)] [Transmission Loss Horizontal (in dB)] [Reflection Loss (in dB)] [Diffraction Loss incident min (in dB)] [Diffraction Loss incident max (in dB)] [Diffraction Loss diffracted (in dB)]
MATERIAL 1 GENERAL "Material 1" 10.00000 1 0 0 0
MATERIAL 1 FREQUENCY 2000.000 4.000000 1.000000 0.010000 10.000000 20.000000 9.000000 8.000000 15.000000 5.000000
MATERIAL 2 GENERAL "Default Furniture" 1.00000 1 0 180 180
MATERIAL 2 FREQUENCY 2000.000 4.000000 1.000000 0.010000 2.000000 20.000000 0.020000 8.000000 15.000000 5.000000
MATERIAL 0 GENERAL "Material 2" 10.00000 1 0 128 0
MATERIAL 0 FREQUENCY 2000.000 4.000000 1.000000 0.010000 10.000000 20.000000 9.000000 8.000000 15.000000 5.000000
END_MATERIAL
BEGIN_SHAPE
1
1 12 124.000, 96.550, 10.050 -32.000, 96.550, 10.050 -32.000, 96.500, 10.050 -32.050, 96.500, 10.050 -32.050, -12.500, 10.050
-32.000, -12.500, 10.050 -32.000, -12.550, 10.050 124.000, -12.550, 10.050 124.000, -12.500, 10.050 124.050, -12.500, 10.050 124.050, 96.500, 10.050 124.000, 96.500, 10.050
END_SHAPE
BEGIN_WALLS
6
7 4 -32.000, -12.500, 0.000 124.000, -12.500, 0.000 124.000, 96.500, 0.000 -32.000, 96.500, 0.000 1 1
8 4 11.484, 28.452, 0.000 65.032, 28.452, 0.000 65.032, 64.581, 0.000 11.484, 64.581, 0.000 1
6 4 -32.000, 96.500, 0.000 -32.000, 96.500, 10.000 -32.000, -12.500, 10.000 -32.000, -12.500, 0.000 1 0
5 4 -32.000, 96.500, 0.000 -32.000, 96.500, 10.000 124.000, 96.500, 10.000 124.000, 96.500, 0.000 1 2
10 4 83.890, 96.500, 7.476 109.150, 96.500, 7.476 109.150, 96.500, 3.514 83.890, 96.500, 3.514 -1
9 4 20.492, 96.500, 8.467 63.583, 96.500, 8.467 63.583, 96.500, 3.514 20.492, 96.500, 3.514 0
4 4 124.000, 96.500, 0.000 124.000, 96.500, 10.000 124.000, -12.500, 10.000 124.000, -12.500, 0.000 1 0
3 4 -32.000, -12.500, 0.000 -32.000, -12.500, 10.000 124.000, -12.500, 10.000 124.000, -12.500, 0.000 1 0
2 4 -32.000, -12.500, 10.000 124.000, -12.500, 10.000 124.000, 96.500, 10.000 -32.000, 96.500, 10.000 1 0
END_WALLS