public class UGCTrafficTransferAnalystProvider extends java.lang.Object implements Disposable, ProviderContextAware, TrafficTransferAnalystProvider
SuperMap traffic transfer analysis service provider. UGCTrafficTransferAnalystProvider provides SuperMap traffic transfer analysis of the relevant services, encapsulates GIS functions related to SuperMap traffic analysis .
Constructor and Description |
---|
UGCTrafficTransferAnalystProvider()
The Constructor.
|
UGCTrafficTransferAnalystProvider(TrafficTransferAnalystSetting setting)
Builds a traffic transfer analysis service provider object through traffic network analysis setup.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Release the resource object.
|
TransferStopInfo[] |
findStopsByKeyWord(java.lang.String keyWord, boolean returnPosition)
Finds the matching bus station in the current traffic network based on the site name.
|
TransferGuide |
findTransferPath(long startStopID, long endStopID, TransferLine[] transferLines)
According to the specified starting and ending stop and transfer information to obtain detailed route information.
|
TransferGuide |
findTransferPath(Point2D startPosition, Point2D endPosition, TransferLine[] transferLines)
According to the specified starting and ending coordinates and transfer information to obtain detailed route information.
|
TransferSolutions |
findTransferSolutions(long startStopID, long endStopID, TrafficTransferAnalystParameter trafficTransferAnalystParameter)
According to the specified starting and ending stop ID and traffic transfer analysis parameters to carry out traffic transfer analysis.
|
TransferSolutions |
findTransferSolutions(Point2D startPosition, Point2D endPosition, TrafficTransferAnalystParameter trafficTransferAnalystParameter)
According to the specified starting and ending coordinates and traffic transfer analysis parameters to carry out traffic transfer analysis.
|
java.lang.String |
getName()
Gets traffic network name, such as "Beijing bus"
|
void |
setProviderContext(ProviderContext context)
Set SuperMap traffic transfer analysis service provider context.
|
public UGCTrafficTransferAnalystProvider()
The Constructor.
public UGCTrafficTransferAnalystProvider(TrafficTransferAnalystSetting setting)
Builds a traffic transfer analysis service provider object through traffic network analysis setup.
setting
- traffic network analysis set object.public void setProviderContext(ProviderContext context)
Set SuperMap traffic transfer analysis service provider context.
setProviderContext
in interface ProviderContextAware
context
- service provider contextpublic TransferSolutions findTransferSolutions(Point2D startPosition, Point2D endPosition, TrafficTransferAnalystParameter trafficTransferAnalystParameter)
According to the specified starting and ending coordinates and traffic transfer analysis parameters to carry out traffic transfer analysis.
It is recommended to walk between the starting point and the ending point distance less than the walking margin.
findTransferSolutions
in interface TrafficTransferAnalystProvider
startPosition
- Starting point coordinates.endPosition
- Ending point coordinates.trafficTransferAnalystParameter
- Traffic transfer analysis parameters.public TransferSolutions findTransferSolutions(long startStopID, long endStopID, TrafficTransferAnalystParameter trafficTransferAnalystParameter)
According to the specified starting and ending stop ID and traffic transfer analysis parameters to carry out traffic transfer analysis.
It is recommended to walk between the starting point and the ending point distance less than the walking margin.
findTransferSolutions
in interface TrafficTransferAnalystProvider
startStopID
- Starting stop ID.endStopID
- Ending stop ID.trafficTransferAnalystParameter
- Traffic transfer analysis parameters.public TransferGuide findTransferPath(Point2D startPosition, Point2D endPosition, TransferLine[] transferLines)
According to the specified starting and ending coordinates and transfer information to obtain detailed route information.
findTransferPath
in interface TrafficTransferAnalystProvider
startPosition
- Starting point coordinates.endPosition
- Ending point coordinates.transferLines
- Transfer information.public TransferGuide findTransferPath(long startStopID, long endStopID, TransferLine[] transferLines)
According to the specified starting and ending stop and transfer information to obtain detailed route information.
findTransferPath
in interface TrafficTransferAnalystProvider
startStopID
- Starting stop ID.endStopID
- Ending stop ID.transferLines
- Transfer information.public TransferStopInfo[] findStopsByKeyWord(java.lang.String keyWord, boolean returnPosition)
Finds the matching bus station in the current traffic network based on the site name.
findStopsByKeyWord
in interface TrafficTransferAnalystProvider
keyWord
- 站点名称关键字。Stop name keyword.returnPosition
- Whether to return the site coordinate information.public java.lang.String getName()
Gets traffic network name, such as "Beijing bus"
getName
in interface TrafficTransferAnalystProvider
public void dispose()
Disposable
Release the resource object.
dispose
in interface Disposable