ThinkGeo.MapSuite.Routing.RoutingEngine
Inheritance Hierarchy
Members Summary
Public Constructors
RoutingEngine()
The default settings are: RoutingSource is null, routingAlgorithm is Dijkstra, FeatureSource is null, GeographyUnit is DecimalDegree, DistanceUnit is Kilometer.
Parameters
RoutingEngine(RoutingSource)
The default settings are: RoutingSource is null, routingAlgorithm is Dijkstra, FeatureSource is null, GeographyUnit is DecimalDegree, DistanceUnit is Kilometer.
Parameters
RoutingEngine(RoutingSource,FeatureSource)
The default settings are: RoutingSource is null, routingAlgorithm is Dijkstra, FeatureSource is null, GeographyUnit is DecimalDegree, DistanceUnit is Kilometer.
Parameters
RoutingEngine(RoutingSource,RoutingAlgorithm)
The default settings are: RoutingSource is null, routingAlgorithm is Dijkstra, FeatureSource is null, GeographyUnit is DecimalDegree, DistanceUnit is Kilometer.
Parameters
RoutingEngine(RoutingSource,RoutingAlgorithm,FeatureSource)
The default settings are: RoutingSource is null, routingAlgorithm is Dijkstra, FeatureSource is null, GeographyUnit is DecimalDegree, DistanceUnit is Kilometer.
Parameters
RoutingEngine(RoutingSource,RoutingAlgorithm,FeatureSource,GeographyUnit)
The default settings are: RoutingSource is null, routingAlgorithm is Dijkstra, FeatureSource is null, GeographyUnit is DecimalDegree, DistanceUnit is Kilometer.
Parameters
RoutingEngine(RoutingSource,RoutingAlgorithm,FeatureSource,GeographyUnit,DistanceUnit)
The default settings are: RoutingSource is null, routingAlgorithm is Dijkstra, FeatureSource is null, GeographyUnit is DecimalDegree, DistanceUnit is Kilometer.
Parameters
Protected Constructors
Public Methods
GetRouteSegments(String,String)
This method for users who don't know the feature source. If the user knows the feature source, they should use GetRoute to get more information.This method is one of the most common routing requirements for a simple path, wherein a customer inputs two feature IDs that represent routeSegments and then finds a route. The route will be calculated from a specified start routeSegment to a specified end routeSegment.
Return Value
Parameters
GetRoute(PointShape,PointShape)
This method generates turn-by-turn driving directions for any route. It cannot be changed by overriding GetRouteCore.This method is for users who know the feature source. If the user does not know the feature source, they should use GetRouteSegments instead.This method is one of the most common routing requirements for a simple path, wherein a customer inputs two points and then finds a route. The route will be calculated from a specified start point to a specified end point.
Return Value
Parameters
GetRoute(PointShape,IEnumerable<PointShape>)
Return Value
Parameters
GetRoute(PointShape,IEnumerable<PointShape>,Int32)
Return Value
Parameters
iterations
Type:Int32
Description:N/A
GetRoute(PointShape,PointShape,IEnumerable<PointShape>)
Return Value
Parameters
GetRoute(PointShape,PointShape,IEnumerable<PointShape>,Int32)
Return Value
Parameters
iterations
Type:Int32
Description:N/A
GetRoute(String,IEnumerable<String>)
Return Value
Parameters
startFeatureId
Type:String
Description:N/A
stopFeatureIds
Type:IEnumerable<String>
Description:N/A
GetRoute(String,IEnumerable<String>,Int32)
Return Value
Parameters
startFeatureId
Type:String
Description:N/A
stopFeatureIds
Type:IEnumerable<String>
Description:N/A
iterations
Type:Int32
Description:N/A
GetRoute(String,String)
This method generates turn-by-turn driving directions for any route. It cannot be changed by overriding GetRouteCore.This method is for users who know the feature source. If the user does not know the feature source, they should use GetRouteSegments instead.This method is one of the most common routing requirements for a simple path, wherein a customer inputs two feature IDs that represent routeSegments and gets back a route. The route will be calculated from a specified start routeSegment to a specified end routeSegment.
Return Value
Parameters
GetRoute(String,String,IEnumerable<String>)
Return Value
Parameters
startFeatureId
Type:String
Description:N/A
endFeatureId
Type:String
Description:N/A
stopFeatureIds
Type:IEnumerable<String>
Description:N/A
GetRoute(String,String,IEnumerable<String>,Int32)
Return Value
Parameters
startFeatureId
Type:String
Description:N/A
endFeatureId
Type:String
Description:N/A
stopFeatureIds
Type:IEnumerable<String>
Description:N/A
iterations
Type:Int32
Description:N/A
GenerateServiceArea(PointShape,TimeSpan)
Return Value
Parameters
drivingTime
Type:TimeSpan
Description:N/A
GenerateServiceArea(PointShape,TimeSpan,Double,GeographyUnit)
Return Value
Parameters
drivingTime
Type:TimeSpan
Description:N/A
gridSize
Type:Double
Description:N/A
GenerateServiceArea(String,TimeSpan)
Return Value
Parameters
centerFeatureId
Type:String
Description:N/A
drivingTime
Type:TimeSpan
Description:N/A
GenerateServiceArea(String,TimeSpan,Double,GeographyUnit)
Return Value
Parameters
centerFeatureId
Type:String
Description:N/A
drivingTime
Type:TimeSpan
Description:N/A
gridSize
Type:Double
Description:N/A
GenerateServiceArea(Double,Double,TimeSpan,Single,SpeedUnit)
You can define service ranges based on limits of speed and time. A service area is a region that encompasses all accessible routes (such as streets). The default geography unit for a feature source is decimal degrees. The default distance unit for the average speed is kilometers. For example, the 5-minute service area for a point includes all the streets that can be reached within five minutes from that point.
Return Value
Parameters
GenerateServiceArea(PointShape,TimeSpan,Single,SpeedUnit)
Return Value
Parameters
drivingTime
Type:TimeSpan
Description:N/A
averageSpeed
Type:Single
Description:N/A
GenerateServiceArea(PointShape,TimeSpan,Single,SpeedUnit,Double,GeographyUnit)
You can define service ranges based on limits of speed and time. A service area is a region that encompasses all accessible routes (such as streets). The default geography unit for a feature source is decimal degrees. The default distance unit for the average speed is kilometers. For example, the 5-minute service area for a point includes all the streets that can be reached within five minutes from that point.
Return Value
Parameters
gridSize
Type:Double
Description:N/A
GenerateServiceArea(String,TimeSpan,Single,SpeedUnit)
You can define service ranges based on limits of speed and time. A service area is a region that encompasses all accessible routes (such as streets). The default geography unit for a feature source is decimal degrees. The default distance unit for the average speed is kilometers. For example, the 5-minute service area for a point includes all the streets that can be reached within five minutes from that point.
Return Value
Parameters
GenerateServiceArea(String,TimeSpan,Single,SpeedUnit,Double,GeographyUnit)
Return Value
Parameters
centerFeatureId
Type:String
Description:N/A
drivingTime
Type:TimeSpan
Description:N/A
averageSpeed
Type:Single
Description:N/A
gridSize
Type:Double
Description:N/A
ToString()
Return Value
Type:String
Description:N/A
Parameters
Equals(Object)
Return Value
Type:Boolean
Description:N/A
Parameters
obj
Type:Object
Description:N/A
GetHashCode()
Return Value
Type:Int32
Description:N/A
Parameters
GetType()
Return Value
Type:Type
Description:N/A
Parameters
GetAngleBetweenTwoLines(LineShape,LineShape)
Return Value
Type:Double
Description:N/A
Parameters
GetDrivingDirection(LineShape,LineShape)
Return Value
Parameters
Protected Methods
GetRouteCore(String,String,IEnumerable<String>,Int32)
Return Value
Parameters
startFeatureId
Type:String
Description:N/A
endFeatureId
Type:String
Description:N/A
stopFeatureIds
Type:IEnumerable<String>
Description:N/A
iterations
Type:Int32
Description:N/A
GetRouteCoreWithPoints(PointShape,PointShape,IEnumerable<PointShape>,Int32)
Return Value
Parameters
iterations
Type:Int32
Description:N/A
OnGettingRouteViaVisitStops(GettingRouteViaVisitStopsRoutingEngineEventArgs)
Return Value
Type:Void
Description:N/A
Parameters
OnGeneratingServiceArea(GeneratingServiceAreaRoutingEngineEventArgs)
Return Value
Type:Void
Description:N/A
Parameters
Finalize()
Return Value
Type:Void
Description:N/A
Parameters
MemberwiseClone()
Return Value
Type:Object
Description:N/A
Parameters
Public Properties
SearchRadiusInMeters
Return Value
RoutingAlgorithm
Return Value
RoutingSource
Return Value
GeographyUnit
Return Value
DistanceUnit
Return Value
FeatureSource
Return Value
RoutingResultsType
Return Value
ToleranceInMeter
Return Value
Protected Properties
Public Events
GeneratingServiceArea