Structure of setup file (ini)

Previous Top

Setup file begins by field [VALUE], informing to us that further the information necessary for correct loading of codes will follow.

Fields can follow in any order.

Field FILE = KML specifies, that the given file has correct structure and is necessary for identification in the program.

Field COUNT - sets the total amount of records in a setup file

Field NAME _X - sets a name of KML code (hereinafter X - the serial number of object, cannot be> = to the value in COUNT field)

Field LOCAL _Х - sets the type of object (0 - line, 1 - polygon, 2 - point)

Field SHORTNAME _Х - sets a short name of KML code

Field WIDTH _Х - sets thickness of object of the given type

Field PANCODE _Х - sets a code corresponding to the given object from the classifier of the Panorama

Field COLOR_R_Х - sets color of a red shade for a line

Field COLOR_G_Х - sets color of a green shade for a line

Field COLOR_B_Х - sets color of a blue shade for a line

Field COLORPOLY _R_Х - sets color of a red shade for a polygon code

Field COLORPOLY _G_Х - sets color of a green shade for a polygon code

Field COLORPOLY _B_Х - sets color of a blue shade for a polygon code

 

For example:

[VALUE]

COUNT=3

 NAME_0=Arhipogif/30px-Arhipo

 SHORTNAME_0=Arhipogif/30px-Arhipo

 WIDTH_0=1

 PANCODE_0=Arhipogif/30px-Arhipo

 LOCAL_0=2

 COLOR_R_0=255

 COLOR_G_0=255

 COLOR_B_0=255

 COLORPOLY_R_0=255

 COLORPOLY_G_0=255

 COLORPOLY_B_0=255