StreetLinkFlags Property |
Namespace: Telogis.GeoBase
// Get a street link on Street of the Golden Lantern in Dana Point, Ca using ReverseGeoCodeFull, then get a RouteFlag object RouteFlag linkFlags = Telogis.GeoBase.GeoCoder.ReverseGeoCodeFull(new LatLon(33.476036, -117.697573)).StreetLink.Flags; // Query RouteFlag properties.... SpeedUnit linkUnits = linkFlags.SPEED_UNITS; int linkSpeedLimit = linkFlags.ImpliedSpeedLimit; bool linkCarsAllowed = linkFlags.AR_AUTO; char linkLaneNo = linkFlags.LANE_CAT; Console.WriteLine("Speed limit on this link is {0} {1}. Cars allowed on link? {2}. Number of lanes in each direction {3} ", linkSpeedLimit, linkUnits, linkCarsAllowed, linkLaneNo); // etc..