Click or drag to resize

DataQueryQuerySpeedLimit Method (LatLon, Double, VehicleSpec, DateTime, RegionalSpeedLimitProfile)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Gets a SpeedLimit, for the specified location (LatLon), heading, vehicle specifications (VehicleSpec), time of day, and RegionalSpeedLimitProfile.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public static SpeedLimit QuerySpeedLimit(
	LatLon location,
	double heading,
	VehicleSpec spec,
	DateTime time,
	RegionalSpeedLimitProfile limits
)

Parameters

location
Type: Telogis.GeoBaseLatLon
The latitude/longitude coordinates of the physical location.
heading
Type: SystemDouble
The direction traveled along the link, in degrees. The default is double.MaxValue, which indicates no heading.
spec
Type: Telogis.GeoBase.RoutingVehicleSpec
The vehicle specifications.
time
Type: SystemDateTime
The time of day.
limits
Type: Telogis.GeoBase.RegionalSpeedLimitsRegionalSpeedLimitProfile
The set of rules and laws to consider when determining the speed limit.

Return Value

Type: SpeedLimit
A SpeedLimit containing the speed value and its source for the given location, heading, vehicle specifications, time, and speed limit profile. Returns "IsValid = false" if a speed limit could not be found.
See Also