Click or drag to resize

NavigationManagerLoadRoutingProfile Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Load a speed routing profile (with speeds measured in miles per hour) from a given text file. See remarks.

Namespace:  Telogis.GeoBase.Navigation
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public void LoadRoutingProfile(
	string filename,
	Country country
)

Parameters

filename
Type: SystemString
The path to the file.
country
Type: Telogis.GeoBaseCountry
The country of the profile.
Remarks

Each line in the file represents a functional class (1-6). The first line represents functional class 1, the second line functional class 2, etc. Each line contains a maximum of 8 comma-delimited speed category values (in miles per hour). The first value in each line corresponds to speed category 1, the second value corresponds to speed category 2, etc.

The following is an example of the contents from a routing profile text file. This particular routing profile assumes that speed values for functional classes 1 through 4 are independent of the functional class (each of the first four functional classes, or rows, are identical).

85,65,50,40,35,25,20,5 85,65,50,40,35,25,20,5 85,65,50,40,35,25,20,5 85,65,50,40,35,25,10,5 70,60,40,30,25,15,10,5 60,50,40,30,25,15,10,5

See Also