NWload
Previous  Top  Next

Function NWload: integer;

Loads the topological network into memory. Uses app. 34 bytes per link.

For each instance of RWcalc object attached:
Add 9 / 15 bytes per link (turnmode= false / true).
Add 3 / 8 bytes per link if extravar is true.

Maximum is thus 34 + 15 + 8 = 57 bytes per link in the DLL version, which always has exactly one instance of RWcalc.

These numbers are based on average road networks (here TIGER data).

If you also has cached coord3.bin, it will of course be higher. The actual file size matches that of the additional RAM required.

It is important that you set property Coord correctly, when you load the network and while you use it.

Use OnNWloadProgress event for tracking progress.

Possible error codes: -11 -12 -15 -31 -40 -41
ActiveX / VCL / CLX component: RWnetBase