C# SDK
SRoadInfo Class Reference

SRoadInfo class is providing information about road type. This is retrieved from the GetLocationInfo function. More...

Public Types

enum  ROAD_CLASS {
  RC0 = 0, RC1 = 1, RC2 = 2, RC3 = 3,
  RC4 = 4, RC5 = 5
}
 Enum of the road class as it is used for computing. More...
 

Public Member Functions

 SRoadInfo ()
 Initializes a new instance of SRoadInfo class More...
 

Static Public Member Functions

static int SizeOf ()
 

Public Attributes

int lRoadOffset
 Road offset is an unique indentificator of the road in map. This identificator is used for special routing. More...
 
LONGPOSITION OnroadPosition = new LONGPOSITION(0,0)
 
uint dwOffroadDistance
 

Properties

string IsoCode [get]
 Iso code string of the map, where the road is located. More...
 
bool IsFerry [get]
 True if the road is ferry. More...
 
bool IsProhibited [get]
 True if the road is prohibited to drive on. More...
 
ROAD_CLASS RoadClass [get]
 Returns the road class. More...
 
byte SpeedCategory [get]
 Returns the speed category of the road. More...
 
bool IsTollRoad [get]
 True if it is a toll road. More...
 
bool IsPaved [get]
 True if the road is paved. More...
 
bool IsCongestionCharge [get]
 True if it is a road with congestion charge. More...
 
bool IsUrban [get]
 True if the road is in urban area. More...
 
bool IsTunnel [get]
 True if the road is tunnel. More...
 
int SpeedRestriction [get]
 Returns the speed restriction for that road. More...
 
string OpenLRString [get]
 Iso code string of the map, where the road is located. More...
 

Detailed Description

SRoadInfo class is providing information about road type. This is retrieved from the GetLocationInfo function.