com.supermap.services.wps

Class FindPath

  • java.lang.Object
    • com.supermap.services.wps.FindPath


  • public class FindPath
    extends java.lang.Object
    

    wps network analysis

    Since:
    6.1.3
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static ResourceManager WPS_RESOURCE
      wps resource manager
    • Constructor Summary

      Constructors 
      Constructor and Description
      FindPath() 
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      Paths execute(TransportationAnalyst transportationAnalystImpl, Execute execute)
      Execution operation
      boolean getHasLeastEdgeCount()
      Gets whether to query according to the minimum arcs number mode.
      java.lang.String getNetworkName()
      Get the name of the transportation network
      int[] getNodeIDs()
      Get the ID array of the passed nodes, required.
      TransportationAnalystParameter getParameter()
      Sets the general parameters of the transportation network analysis.
      Point2D[] getPoints()
      Get the coordinates array of the passed stops, required.
      void setHasLeastEdgeCount(boolean hasLeastEdgeCount)
      Sets whether to query according to the minimum arcs number mode.
      void setNetworkName(java.lang.String networkName)
      Set the name of the transportation network
      void setNodeIDs(int[] nodeIDs)
      Set the ID array of the passed nodes, required.
      void setParameter(TransportationAnalystParameter parameter)
      Sets the general parameters of the transportation network analysis.
      void setPoints(Point2D[] points)
      Set the coordinates array of the passed stops, required.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • WPS_RESOURCE

        public static final ResourceManager WPS_RESOURCE
        

        wps resource manager

    • Constructor Detail

      • FindPath

        public FindPath()
        
    • Method Detail

      • getHasLeastEdgeCount

        public boolean getHasLeastEdgeCount()
        

        Gets whether to query according to the minimum arcs number mode. Optional parameter, the default is false, which means not to query according to the minimum arcs number mode.

      • setHasLeastEdgeCount

        public void setHasLeastEdgeCount(boolean hasLeastEdgeCount)
        

        Sets whether to query according to the minimum arcs number mode. Optional parameter, the default is false, which means not to query according to the minimum arcs number mode.

      • getPoints

        public Point2D[] getPoints()
        

        Get the coordinates array of the passed stops, required.

      • setPoints

        public void setPoints(Point2D[] points)
        

        Set the coordinates array of the passed stops, required.

      • getNodeIDs

        public int[] getNodeIDs()
        

        Get the ID array of the passed nodes, required.

      • setNodeIDs

        public void setNodeIDs(int[] nodeIDs)
        

        Set the ID array of the passed nodes, required.

      • getNetworkName

        public java.lang.String getNetworkName()
        

        Get the name of the transportation network

      • setNetworkName

        public void setNetworkName(java.lang.String networkName)
        

        Set the name of the transportation network

      • getParameter

        public TransportationAnalystParameter getParameter()
        

        Sets the general parameters of the transportation network analysis. Optional. It uses the settings in TransportationAnalystSetting by default.

      • setParameter

        public void setParameter(TransportationAnalystParameter parameter)
        

        Sets the general parameters of the transportation network analysis. Optional. It uses the settings in TransportationAnalystSetting by default.

      • execute

        public Paths execute(TransportationAnalyst transportationAnalystImpl,
                    Execute execute)
                      throws OGCException
        

        Execution operation

        Parameters:
        transportationAnalystImpl - Analysis service component
        execute - execution parameters
        Returns:
        Paths analysis result
        Throws:
        OGCException