|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.networkanalysttools.MakeODCostMatrixLayer
public class MakeODCostMatrixLayer
Makes an origin–destination (OD) cost matrix network analysis layer and sets its analysis properties. An OD cost matrix analysis layer is useful for representing a matrix of costs going from a set of origin locations to a set of destination locations. The Make OD Cost Matrix Layer tool is contained in the Network Analyst Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
MakeODCostMatrixLayer()
Creates the Make OD Cost Matrix Layer tool with defaults. |
|
MakeODCostMatrixLayer(Object inNetworkDataset,
String outNetworkAnalysisLayer,
String impedanceAttribute)
Creates the Make OD Cost Matrix Layer tool with the required parameters. |
Method Summary | |
---|---|
Object |
getAccumulateAttributeName()
Returns the Accumulators parameter of this tool . |
double |
getDefaultCutoff()
Returns the Default cutoff parameter of this tool . |
int |
getDefaultNumberDestinationsToFind()
Returns the Default number of destinations to find parameter of this tool . |
String |
getHierarchy()
Returns the Use hierarchy in analysis parameter of this tool . |
Object |
getHierarchySettings()
Returns the Hierarchy rank settings parameter of this tool . |
String |
getImpedanceAttribute()
Returns the Impedance attribute parameter of this tool . |
Object |
getInNetworkDataset()
Returns the Input analysis network parameter of this tool . |
String |
getOutNetworkAnalysisLayer()
Returns the Output layer name parameter of this tool . |
Object |
getOutputLayer()
Returns the Network Analyst Layer parameter of this tool (Read only). |
String |
getOutputPathShape()
Returns the Output path shape parameter of this tool . |
Object |
getRestrictionAttributeName()
Returns the Restrictions parameter of this tool . |
String |
getToolboxAlias()
Returns the alias of the tool box containing this tool. |
String |
getToolboxName()
Returns the name of the tool box containing this tool. |
String |
getToolName()
Returns the name of this tool. |
String |
getUTurnPolicy()
Returns the U-turn policy parameter of this tool . |
void |
setAccumulateAttributeName(Object accumulateAttributeName)
Sets the Accumulators parameter of this tool . |
void |
setDefaultCutoff(double defaultCutoff)
Sets the Default cutoff parameter of this tool . |
void |
setDefaultNumberDestinationsToFind(int defaultNumberDestinationsToFind)
Sets the Default number of destinations to find parameter of this tool . |
void |
setHierarchy(String hierarchy)
Sets the Use hierarchy in analysis parameter of this tool . |
void |
setHierarchySettings(Object hierarchySettings)
Sets the Hierarchy rank settings parameter of this tool . |
void |
setImpedanceAttribute(String impedanceAttribute)
Sets the Impedance attribute parameter of this tool . |
void |
setInNetworkDataset(Object inNetworkDataset)
Sets the Input analysis network parameter of this tool . |
void |
setOutNetworkAnalysisLayer(String outNetworkAnalysisLayer)
Sets the Output layer name parameter of this tool . |
void |
setOutputPathShape(String outputPathShape)
Sets the Output path shape parameter of this tool . |
void |
setRestrictionAttributeName(Object restrictionAttributeName)
Sets the Restrictions parameter of this tool . |
void |
setUTurnPolicy(String uTurnPolicy)
Sets the U-turn policy parameter of this tool . |
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
getParameterValues, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MakeODCostMatrixLayer()
Initializes the array of tool parameters with the default values specified when the tool was created.
public MakeODCostMatrixLayer(Object inNetworkDataset, String outNetworkAnalysisLayer, String impedanceAttribute)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inNetworkDataset
- the network dataset on which the OD cost matrix analysis will be performed.outNetworkAnalysisLayer
- name of the OD cost matrix network analysis layer to create.impedanceAttribute
- the cost attribute to be used as impedance in the analysis.Method Detail |
---|
public Object getInNetworkDataset()
public void setInNetworkDataset(Object inNetworkDataset)
inNetworkDataset
- the network dataset on which the OD cost matrix analysis will be performed.public String getOutNetworkAnalysisLayer()
public void setOutNetworkAnalysisLayer(String outNetworkAnalysisLayer)
outNetworkAnalysisLayer
- name of the OD cost matrix network analysis layer to create.public String getImpedanceAttribute()
public void setImpedanceAttribute(String impedanceAttribute)
impedanceAttribute
- the cost attribute to be used as impedance in the analysis.public double getDefaultCutoff()
public void setDefaultCutoff(double defaultCutoff)
defaultCutoff
- default impedance value at which to cut off searching for destinations for a given origin. If the accumulated impedance becomes higher than the cutoff value, the traversal stops. The default can be overridden by specifying the cutoff value on the origins.public int getDefaultNumberDestinationsToFind()
public void setDefaultNumberDestinationsToFind(int defaultNumberDestinationsToFind)
defaultNumberDestinationsToFind
- default number of destinations to find for each origin. The default can be overridden by specifying a value for the TargetDestinationCount property on the origins.public Object getAccumulateAttributeName()
public void setAccumulateAttributeName(Object accumulateAttributeName)
accumulateAttributeName
- list of cost attributes to be accumulated during analysis. These accumulation attributes are purely for reference; the solver only uses the cost attribute specified by the Impedance attribute parameter to calculate the route. for each cost attribute that is accumulated, a Total_[Impedance] property is added to the routes that are output by the solver.public String getUTurnPolicy()
public void setUTurnPolicy(String uTurnPolicy)
uTurnPolicy
- restrict or permit U-turns at junctions that could occur during network traversal between stops.public Object getRestrictionAttributeName()
public void setRestrictionAttributeName(Object restrictionAttributeName)
restrictionAttributeName
- list of restriction attributes to apply during the analysis.public String getHierarchy()
public void setHierarchy(String hierarchy)
hierarchy
- the parameter is not used if a hierarchy attribute is not defined on the network dataset used to perform the analysis. In such cases, use "#" as the parameter value.public Object getHierarchySettings()
public void setHierarchySettings(Object hierarchySettings)
hierarchySettings
- nullpublic String getOutputPathShape()
public void setOutputPathShape(String outputPathShape)
outputPathShape
- no matter which output shape type is chosen, the best route is always determined by the network impedance, never Euclidean distance. This means only the route shapes are different, not the underlying traversal of the network.public Object getOutputLayer()
public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |