RouteFlagFUNC_CLASS Property |
Namespace: Telogis.GeoBase.Routing
The functional class, generally, has no direct correlation with road attributes such as speed limit or number of lanes. However, every link has at least one connection to another link with the same (or higher) functionality. Note also that functional class values map directly with StreetType flags.
int value | Represents |
---|---|
1 | Roads with very few (if any) speed changes. High volume, maximum speed movement between or through major metropolitan area. Access is typically controlled. |
2 | Roads with very few (if any) speed changes. High volume, high speed traffic movement, typically channeled to and from Class 1 roads. |
3 | Interconnect Class 2 roads with a high volume of traffic at lower speeds. |
4 | Traverse neighborhoods, carrying a high volume of traffic at moderate speeds. |
5 | All other roads. |
LatLon myLatLon = new LatLon(33.584594, -117.731847); uint functional_class = GeoCoder.ReverseGeoCodeFull(myLatLon).StreetLink.Flags.FUNC_CLASS; Console.WriteLine("The functional class of this street link is {0}.", functional_class); // The functional class of this street link is 5.