|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.arcgis.geoprocessing.AbstractGPTool
com.esri.arcgis.geoprocessing.tools.networkanalysttools.AddLocations
Adds network locations to a network analysis layer. The Add Locations tool is contained in the Network Analyst Tools tool box.
Software restrictions: none
| Field Summary |
| Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
vals |
| Constructor Summary | |
AddLocations()
Creates the Add Locations tool with defaults. |
|
AddLocations(java.lang.Object inNetworkAnalysisLayer,
java.lang.String subLayer,
java.lang.Object inTable,
java.lang.Object fieldMappings,
java.lang.Object searchTolerance)
Creates the Add Locations tool with the required parameters. |
|
| Method Summary | |
java.lang.String |
getAppend()
Returns the Append to existing locations parameter of this tool . |
java.lang.Object |
getFieldMappings()
Returns the Field mappings parameter of this tool . |
java.lang.Object |
getInNetworkAnalysisLayer()
Returns the Input network analysis layer parameter of this tool . |
java.lang.Object |
getInTable()
Returns the Input locations parameter of this tool . |
java.lang.String |
getMatchType()
Returns the Find closest among all classes parameter of this tool . |
java.lang.Object |
getOutputLayer()
Returns the Network Analyst Layer parameter of this tool (Read only). |
java.lang.Object |
getSearchCriteria()
Returns the Search criteria parameter of this tool . |
java.lang.Object |
getSearchTolerance()
Returns the Search tolerance parameter of this tool . |
java.lang.Object |
getSnapOffset()
Returns the Snap Offset parameter of this tool . |
java.lang.String |
getSnapToPositionAlongNetwork()
Returns the Snap to Network parameter of this tool . |
java.lang.Object |
getSortField()
Returns the Sort field parameter of this tool . |
java.lang.String |
getSubLayer()
Returns the Sub layer parameter of this tool . |
java.lang.String |
getToolboxAlias()
Returns the alias of the tool box containing this tool. |
java.lang.String |
getToolboxName()
Returns the name of the tool box containing this tool. |
java.lang.String |
getToolName()
Returns the name of this tool. |
void |
setAppend(java.lang.String append)
Sets the Append to existing locations parameter of this tool . |
void |
setFieldMappings(java.lang.Object fieldMappings)
Sets the Field mappings parameter of this tool . |
void |
setInNetworkAnalysisLayer(java.lang.Object inNetworkAnalysisLayer)
Sets the Input network analysis layer parameter of this tool . |
void |
setInTable(java.lang.Object inTable)
Sets the Input locations parameter of this tool . |
void |
setMatchType(java.lang.String matchType)
Sets the Find closest among all classes parameter of this tool . |
void |
setSearchCriteria(java.lang.Object searchCriteria)
Sets the Search criteria parameter of this tool . |
void |
setSearchTolerance(java.lang.Object searchTolerance)
Sets the Search tolerance parameter of this tool . |
void |
setSnapOffset(java.lang.Object snapOffset)
Sets the Snap Offset parameter of this tool . |
void |
setSnapToPositionAlongNetwork(java.lang.String snapToPositionAlongNetwork)
Sets the Snap to Network parameter of this tool . |
void |
setSortField(java.lang.Object sortField)
Sets the Sort field parameter of this tool . |
void |
setSubLayer(java.lang.String subLayer)
Sets the Sub layer 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 AddLocations()
Initializes the array of tool parameters with the default values specified when the tool was created.
public AddLocations(java.lang.Object inNetworkAnalysisLayer,
java.lang.String subLayer,
java.lang.Object inTable,
java.lang.Object fieldMappings,
java.lang.Object searchTolerance)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inNetworkAnalysisLayer - Network Analyst Layer, network analysis layer to which network locations will be added.subLayer - String, adds network locations to the selected sublayer of the input network analysis layer.inTable - Table View, the feature class or layer that is the source for the new network locations.fieldMappings - Network Analyst Field Map, sets the values for the properties of the network locations. Properties can be set to a constant or mapped to a field on the input feature class.searchTolerance - Linear Unit, the search tolerance for locating the input features on the network. The parameter includes a value and units for the tolerance.| Method Detail |
public java.lang.Object getInNetworkAnalysisLayer()
public void setInNetworkAnalysisLayer(java.lang.Object inNetworkAnalysisLayer)
inNetworkAnalysisLayer - Network Analyst Layer, network analysis layer to which network locations will be added.public java.lang.String getSubLayer()
public void setSubLayer(java.lang.String subLayer)
subLayer - String, adds network locations to the selected sublayer of the input network analysis layer.public java.lang.Object getInTable()
public void setInTable(java.lang.Object inTable)
inTable - Table View, the feature class or layer that is the source for the new network locations.public java.lang.Object getFieldMappings()
public void setFieldMappings(java.lang.Object fieldMappings)
fieldMappings - Network Analyst Field Map, sets the values for the properties of the network locations. Properties can be set to a constant or mapped to a field on the input feature class.public java.lang.Object getSearchTolerance()
public void setSearchTolerance(java.lang.Object searchTolerance)
searchTolerance - Linear Unit, the search tolerance for locating the input features on the network. The parameter includes a value and units for the tolerance.public java.lang.Object getSortField()
public void setSortField(java.lang.Object sortField)
sortField - Field, a field in which to sort the locations as they are added to the network analysis layer.public java.lang.Object getSearchCriteria()
public void setSearchCriteria(java.lang.Object searchCriteria)
searchCriteria - String, allows you to specify which sources in your network dataset will be searched when finding locations, as well as specifying what portions of geometry will be used.public java.lang.String getMatchType()
public void setMatchType(java.lang.String matchType)
matchType - String, specifies whether or not to match new network locations to the closest element of any class in the network analysis layerpublic java.lang.String getAppend()
public void setAppend(java.lang.String append)
append - String, specifies whether or not to append new network locations to existing locations.public java.lang.String getSnapToPositionAlongNetwork()
public void setSnapToPositionAlongNetwork(java.lang.String snapToPositionAlongNetwork)
snapToPositionAlongNetwork - nullpublic java.lang.Object getSnapOffset()
public void setSnapOffset(java.lang.Object snapOffset)
snapOffset - nullpublic java.lang.Object getOutputLayer()
public java.lang.String getToolName()
public java.lang.String getToolboxName()
public java.lang.String getToolboxAlias()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||