GetLinkDist |
Top Previous Next |
Function GetLinkDist(Link: integer): single;
Returns the length of a specific link. The result is returned in km or miles according to the configuration file.
If 0 is returned, the corresponding record was deleted or not a line-object in the GIS file used when creating the binary network.
Some links may actually have a length of 0, if it consists of 2 vertices with the same set of coordinates. Such are however reported in file "network_report.txt" as part of the network creation (see Make network).
Possible error codes: -10 -30 ActiveX / VCL / CLX component: RWnetBase
|