Other ASCII files

[ LINES ]   [ POINTS ]   [ POINT2D ]   [ SAMPLE ]   [ GRIDREG ]   [ TABLE ]   [ TEXT ]   [ POLYGONS ]   [ NETWORK ]   [ NETWORK_OBJECTS ]


TEXT

For any SPRING data model it is possible to have a text representation associated to an IL. This representation can be created internally in SPRING or imported through a TEXT type file.

The figure below shows an IL of the cadastral model, in this case polygons, with associated texts. Notice that the corresponding button is enabled in the " Control Panel".

The first line of the file is the keyword TEXT. This line forms the identification section, which is mandatory. For the TEXT entity the information section is not mandatory.

The definition of items for each text are separated by the character defined in SEPARATOR.

To import a file of the TEXT type, the mandatory parameters for each text are: x coordinate, y coordinate and text. Other parameters such as angle, expansion, height and color (components R,G and B) are optional.

The general format of the ASCII file for the TEXT entity follows the scheme presented in the next examples.


TEXT
INFO
//Texts
//ASCII file generated by  SPRING system
//Project: Brasilia - Information Layer: Blocks_Map
//Category: Urban_Cad  - Model: CADASTRALMODEL
DATUM	SAD69, 6378160.000000, 0.003353, 0.000000, 0.000000, 0.000000
PROJECTION	UTM/SAD69, 1, 0.000000, -0.785398, 0.000000, 0.000000
BOX	181990.505000, 8241710.956000, 202826.190000, 8262907.402000
UNITS Meters
SCALE	25000.000000
SEPARATOR ,
//Format coordx , coordy , text , ang , expansion , Height , color-R , color-G , color-B
//Mandatory fields - coordx , coordy , text
INFO_END
191405.718750  ,  8255400.000000,SQN-408, 0.000000 , 1.000000 , 25.000000 , 0 , 255 , 0
191513.390625  ,  8255036.500000,SQN-407, 0.000000 , 1.000000 , 25.000000 , 0 , 255 , 0
191213.890625  ,  8254952.500000,SQN-207, 0.000000 , 1.000000 , 25.000000 , 0 , 255 , 0
191109.015625  ,  8255310.500000,SQN-208, 0.000000 , 1.000000 , 25.000000 , 0 , 255 , 0
191310.187500  ,  8254602.500000,SQN-206, 0.000000 , 1.000000 , 25.000000 , 0 , 255 , 0
191394.453125  ,  8254247.500000,SQN-205, 0.000000 , 1.000000 , 25.000000 , 0 , 255 , 0
END

NOTE: When exporting the text representation for any IL, option TEXT in the " Exporting " window, the TEXT file is created. By default, when exporting a file the file name extension "spr" and the "_TEX" suffix is added to the IL name, that is, *_TEX.spr. However, when importing a file, if the file was created by a different system, it has to have the file name extension "spr".


About ASCII format

Learn more about Import/Export in SPRING


Other ASCII files

[ LINES ]   [ POINTS ]   [ POINT2D ]   [ SAMPLE ]   [ GRIDREG ]   [ TABLE ]   [ TEXT ]   [ POLYGONS ]   [ NETWORK ]   [ NETWORK_OBJECTS ]