|
|||||||||
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.cartographytools.CalculateUTMZone
public class CalculateUTMZone
Calculates a UTM zone of each feature based on the center point and stores this spatial reference string in a specified field. This field can be used in conjunction with Data Driven Pages to update the spatial reference to the correct UTM zone for each map. The Calculate UTM Zone tool is contained in the Cartography Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
CalculateUTMZone()
Creates the Calculate UTM Zone tool with defaults. |
|
CalculateUTMZone(Object inFeatures,
Object inField)
Creates the Calculate UTM Zone tool with the required parameters. |
Method Summary | |
---|---|
Object |
getInFeatures()
Returns the Input Features parameter of this tool . |
Object |
getInField()
Returns the UTM Zone Field parameter of this tool . |
Object |
getOutFeatures()
Returns the Output Features parameter of this tool (Read only). |
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. |
void |
setInFeatures(Object inFeatures)
Sets the Input Features parameter of this tool . |
void |
setInField(Object inField)
Sets the UTM Zone Field 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 CalculateUTMZone()
Initializes the array of tool parameters with the default values specified when the tool was created.
public CalculateUTMZone(Object inFeatures, Object inField)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inFeatures
- input feature layer.inField
- string field that stores the spatial reference string for the coordinate system. Field should have sufficient length (more than 600 characters) to hold the spatial reference string.Method Detail |
---|
public Object getInFeatures()
public void setInFeatures(Object inFeatures)
inFeatures
- input feature layer.public Object getInField()
public void setInField(Object inField)
inField
- string field that stores the spatial reference string for the coordinate system. Field should have sufficient length (more than 600 characters) to hold the spatial reference string.public Object getOutFeatures()
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 |