Top  Previous  Next

This method is for assigning traffic to a street network.


Key input is TL, which holds traffic as volume between two pairs of coordinates. All traffic is allocated to the street network, using the all-or-nothing principle. For each link it keeps track of the total volume in both directions.



The map shows traffic from the red dot to all the blue dots. Width of line corresponds to volume.


Errors is used for keeping track of records within TL for which no route could be calculated. If Errors is unassigned, no records are marked.


Output contains these fields:

1.Link ID
2.Volume in forward direction
3.Volume in reverse direction


See also TrafficAssignmentDyn


Syntax: TrafficAssignment(filename: string; GF: TGISformat; TL: TTrafficList; var Errors: TIntegerList)