Overpasses
Previous  Top  Next

Function Overpasses(filename: string): integer;

Identifies all pairs of links, that intersect at other points than the first / last vertex. Self-intersections are not tracked (see ExtendedDataCheck instead) and only 1 overpass is tracked per pair of links. Overpasses may either be a bridge or a topological error in the network.

Supply a full filename including path for output, but excluding extension. The format of the GIS file is determined by property GISformat.

The output file contains 3 integer fields with this information:
Code:
1: Overpass
2: Duplicate vertex in object
3: Exact same 2 objects
4: Exact same 2 objects, reverse direction
Link1: ID of first link
Link2: ID of second link

If code is 2, link2 is always 0.

The function returns the number of overpasses found or an error code.

Use the OnAnalyzeProgress event for tracking progress.

Performance example: Locating 3,000 instances in a network with 590,000 links took 50 secs on a AMD64 based computer. If possible make sure coord3cache = true as in this example.

Possible error codes: -10 -32 -40 -44 -46 -50
Versions: Pro
ActiveX / VCL / CLX component: RWnetBase