Other ASCII files
[ LINES ] [ POINTS ] [ POINT2D ] [ SAMPLE ] [
GRIDREG
] [ TABLE ] [ TEXT ] [ POLYGONS ] [ NETWORK ] [ NETWORK_OBJECTS ]
NETWORK
A NETWORK file type is exclusive for the network model maps in the SPRING. In
this case, there are only oriented lines and nodes that are the lines extremities. The
first line in the file is the keyword NETWORK.This line starts the
identification section, which is a mandatory section. For this entity the information
section is optional.
The lines in this file are identified sequentially, besides the fact that each line
has its own impedance value (positive or negative) and demand. The figure below shows a
small part of streets/avenues network, notice that each segment is connected to a node
(green circle). It will be seen that it is possible to have associated objects to
nodes and lines logically.

The general format of the ASCII file for the NETWORK is presented in the
example below.
NETWORK
INFO
//Arcs without Topology
//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
//Format Num_line positive_Impedance negative_Impedance Demand
//Format (turns) line_1 ; line_2 ; cost_1_2 ; cost_2_1
INFO_END
1 1.000000 1.000000 0.000000
185596.045843 8257931.662865
185692.927882 8257883.086410
187000.835409 8257688.780590
189568.209444 8256765.827943
191215.204107 8255259.957836
192813.757752 8253122.593812
195138.926688 8252248.217621
197125.008489 8252393.946986
END
2 1.000000 1.000000 0.000000
189955.737600 8251568.147250
191990.260420 8254628.463920
193685.696103 8256668.675033
196059.306059 8258854.615512
197028.126450 8259486.109428
END
3 1.000000 1.000000 0.000000
188018.096819 8253899.817094
188793.153131 8255551.416566
191069.881049 8257397.321859
193249.726927 8259048.921332
194170.106298 8259826.144614
END
END
|
NOTE: When exporting an IL from the network model, the option Lines and Identif.
in the
" Exporting" window, the NETWORK
file is created. When exporting, by default, the file name extension is "spr", with
the "_NET" suffix added to the IL's name, that is, *_NET.spr. However, for
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
Other ASCII files
[ LINES ]
[ POINTS ]
[ POINT2D ]
[ SAMPLE ]
[ GRIDREG ]
[ TABLE ]
[ TEXT ]
[ POLYGONS ]
[ NETWORK ]
[ NETWORK_OBJECTS ]
See also:
How to IMPORT data?
How to IMPORT data from the SGI?
How to IMPORT GRIB images?
How to EXPORT data?
|