You can have also lines in a normal database. In one line/object you should have coordinates for the start and end point of the line and all other data related to the line.
Special features for a line are: area code for left and right side
Two point lines are joined to one solid area, with area code as attribute. This area code is used in Kuopio-function.
Area code has fixed index value (111-112) in database control file.
Flow direction has fixed index value (113) in database control file:
-1 = flow direction along the line (from a well)
+1 = flow direction to opposite direction (to a well)
Fixed index values are needed because these values have to be modified if the line has to be turned.
You can have also texts in a normal database. Text data is read first as point attribute and changed after reading as text point and text parameters.. Text parameters have fixed index values (190-199) in database control file. You can also add, update and delete texts in database.
You need to define number of decimals for real values in the control file. Default is 0 decimals. Coordinates make an exception having 3 decimals by default.
E.g. radius, area etc. must have number of decimals to get one or more decimals.
Coordinates have the following rules :
7 X N 0 millimeteric accuracy
7 X N 0.0 metric accuracy
7 X N 0.2 centimeteric accuracy
7 X N 0.4 fraction of a millimeter accuracy
Other real values have similar rules, but the first rule is different
101 Radius N 0 #1Radiusmetric accuracy
101 Radius N 0.0 #1Radiusmetric accuracy
101 Radius N 0.2 #1Radiuscentimetric accuracy
N.B. that even if the database itself has 16 digit accuracy (or even more), all data input is performed using ASCII-format which control the number fo decimals.