Click or drag to resize

TrafficGetSpeed Method (UInt64, DateTime, SpeedUnit)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Query each of this Traffic's TrafficSources to get the speed along a given link at a given time.

Namespace:  Telogis.GeoBase.Traffic
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public double GetSpeed(
	ulong link_id,
	DateTime time,
	SpeedUnit units
)

Parameters

link_id
Type: SystemUInt64
The link to get the speed of, specified as a link ID.
time
Type: SystemDateTime
The time of day, as a DateTime.
units
Type: Telogis.GeoBaseSpeedUnit
The units in which to return the speed.

Return Value

Type: Double
-1 if the link could not be resolved to a speed, otherwise the traffic speed
Remarks
The speed along a link may vary at different times (for example, rush-hour traffic).
See Also