RouteSave
Previous  Top  Next

Function RouteSave(link, node: boolean): integer;

After a call to RouteFind you can save the resulting route directly to either a MapInfo dat-file or a shape dbf-file. Links/nodes not on the route isn't cleared.

State if links and/or nodes should be saved.

Links/nodes on the route is changed to "1", except for start and end-node, which is changed to "2".

See also ResultFiles for further details.

Possible error codes: -10 -20 -21 -32 -35
ActiveX / VCL / CLX component: RWcalc