Class FindPath
- java.lang.Object
-
- com.supermap.services.wps.FindPath
-
public class FindPath extends java.lang.Objectwps network analysis
- Since:
- 6.1.3
-
-
Field Summary
Fields Modifier and Type Field and Description static ResourceManagerWPS_RESOURCEwps resource manager
-
Constructor Summary
Constructors Constructor and Description FindPath()
-
Method Summary
Methods Modifier and Type Method and Description Pathsexecute(TransportationAnalyst transportationAnalystImpl, Execute execute)Execution operationbooleangetHasLeastEdgeCount()Gets whether to query according to the minimum arcs number mode.java.lang.StringgetNetworkName()Get the name of the transportation networkint[]getNodeIDs()Get the ID array of the passed nodes, required.TransportationAnalystParametergetParameter()Sets the general parameters of the transportation network analysis.Point2D[]getPoints()Get the coordinates array of the passed stops, required.voidsetHasLeastEdgeCount(boolean hasLeastEdgeCount)Sets whether to query according to the minimum arcs number mode.voidsetNetworkName(java.lang.String networkName)Set the name of the transportation networkvoidsetNodeIDs(int[] nodeIDs)Set the ID array of the passed nodes, required.voidsetParameter(TransportationAnalystParameter parameter)Sets the general parameters of the transportation network analysis.voidsetPoints(Point2D[] points)Set the coordinates array of the passed stops, required.
-
-
-
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 componentexecute- execution parameters- Returns:
- Paths analysis result
- Throws:
OGCException
-
-