Other ASCII files

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


NETWORK_OBJECTS

A NETWORK_OBJECTS file type is exclusively for the line identification and nodes for network model maps in the SPRING. The first line in the file has the keyword NETWORK_OBJECTS. This line starts the identification section, which is a mandatory section. For this entity the information section is not mandatory, except for the SEPARATOR item.

The data syntax in the NETWORK_OBJECTS file changes as a function of its purpose, that is:

  • Identify oriented lines in a network map - it is required to inform the coordinates pair X/Y or Lat/Long, a label, a name (not mandatory), an object category and the keyword LINES.
  • Identify a network node - it is required to inform the coordinates pair X/Y or Lat/Long, a label, a name(not mandatory), an object category and the keyword NODES.

Still, in the data section it is possible to use different formats:

  • Define a separator character ( ; or , ) between data through the keyword SEPARATOR
  • Use the keywords; LABEL, NAME, CATEGORY_OBJ, LINES or NODES:
    • LABEL: identify oriented lines or nodes through a label (unique) associated to an object category, from a network map. Each entity can have one or several labels, but they have to have different coding (see more about object identification in chapter 9);
    • NAME: indicates a network entity name, it can have repeated names for different labels. If the name is missing the system replicates the label as a name while importing;
    • CATEGORY_OBJ: it is an identifier of the object category, when an entity is represented in a cadastral map.
    • LINES: network lines identifier.
    • NODES: network nodes identifier.


The general format of the ASCII file for the NETWORK_OBJECTS entity is presented in the example below.
NETWORK_OBJECTS
INFO
//Polygons and Classified lines Identifiers
//ASCII file generated by the SPRING system
//Project: Brasilia2 - Information Layer: REDE-cad
//Category: REDES  - Model: NETWORKMODEL
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	100000.000000
SEPARATOR ;
//Format coordx ; coordy ; label ; name ; category_obj
INFO_END
192014.480929  ;  8254191.275824 ; SQN-102 ; SQN-102 ; Blocks ; LINES
192159.803988  ;  8258223.121596 ; SQN-103 ; SQN-103 ; Blocks ; LINES
194872.501081  ;  8257761.645273 ; SQN-105 ; SQN-105 ; Blocks ; LINES
194170.106298  ;  8259826.144614 ; Fz01 ; Fz01 ; farms ; NODES
188018.096819  ;  8253899.817094 ; Fz02 ; Antony's Farm ; farms ; NODES
END

NOTE: When exporting an IL from the network model, the option Lines and Identif. in the " Exporting" window, the NETWORK and NETWORK_OBJECTS files are created. When exporting, by default, the file name extension is "spr", with the "_NETOBJ" suffix added to the IL's name, that is, *_NETOBJ.spr. However, when importing the file has to have only the "spr" extension, in case the file was created in a different system.


About ASCII format

See about Importing/Exporting in the SPRING system


See also:
How to IMPORT data?
How to IMPORT data from the SGI?
How to IMPORT GRIB images?
How to EXPORT data?


Other ASCII files

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