com.supermap.services.providers

Class UGCTrafficTransferAnalystProvider

  • java.lang.Object
    • com.supermap.services.providers.UGCTrafficTransferAnalystProvider
    • Constructor Detail

      • UGCTrafficTransferAnalystProvider

        public UGCTrafficTransferAnalystProvider()
        

        The Constructor.

      • UGCTrafficTransferAnalystProvider

        public UGCTrafficTransferAnalystProvider(TrafficTransferAnalystSetting setting)
        

        Builds a traffic transfer analysis service provider object through traffic network analysis setup.

        Parameters:
        setting - traffic network analysis set object.
    • Method Detail

      • findTransferSolutions

        public 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.

        Specified by:
        findTransferSolutions in interface TrafficTransferAnalystProvider
        Parameters:
        startPosition - Starting point coordinates.
        endPosition - Ending point coordinates.
        trafficTransferAnalystParameter - Traffic transfer analysis parameters.
        Returns:
        Traffic transfer plan collection.
      • findTransferSolutions

        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.

        Specified by:
        findTransferSolutions in interface TrafficTransferAnalystProvider
        Parameters:
        startStopID - Starting stop ID.
        endStopID - Ending stop ID.
        trafficTransferAnalystParameter - Traffic transfer analysis parameters.
        Returns:
        Traffic transfer plan collection.
      • findTransferPath

        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.

        Specified by:
        findTransferPath in interface TrafficTransferAnalystProvider
        Parameters:
        startPosition - Starting point coordinates.
        endPosition - Ending point coordinates.
        transferLines - Transfer information.
        Returns:
        Complete route information.
      • findTransferPath

        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.

        Specified by:
        findTransferPath in interface TrafficTransferAnalystProvider
        Parameters:
        startStopID - Starting stop ID.
        endStopID - Ending stop ID.
        transferLines - Transfer information.
        Returns:
        Complete route information.
      • findStopsByKeyWord

        public TransferStopInfo[] findStopsByKeyWord(java.lang.String keyWord,
                                            boolean returnPosition)
        

        Finds the matching bus station in the current traffic network based on the site name.

        Specified by:
        findStopsByKeyWord in interface TrafficTransferAnalystProvider
        Parameters:
        keyWord - 站点名称关键字。Stop name keyword.
        returnPosition - Whether to return the site coordinate information.
        Returns:
        matches the array of bus stations.
      • getName

        public java.lang.String getName()
        

        Gets traffic network name, such as "Beijing bus"

        Specified by:
        getName in interface TrafficTransferAnalystProvider
        Returns:
        bus network name.
      • dispose

        public void dispose()
        
        Description copied from interface: Disposable

        Release the resource object.

        Specified by:
        dispose in interface Disposable