|
|||||||||
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.datamanagementtools.ConvertCoordinateNotation
public class ConvertCoordinateNotation
Converts a table containing point coordinate fields to a point feature class. The input table's coordinate fields can be in a variety of notations, such as GARS, UTM, and MGRS. The output point feature class also contains point coordinate fields in a coordinate notation of your choosing. The Convert Coordinate Notation tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
ConvertCoordinateNotation()
Creates the Convert Coordinate Notation tool with defaults. |
|
ConvertCoordinateNotation(Object inTable,
Object outFeatureclass,
Object xField,
Object yField,
String inputCoordinateFormat,
String outputCoordinateFormat)
Creates the Convert Coordinate Notation tool with the required parameters. |
Method Summary | |
---|---|
Object |
getIdField()
Returns the ID parameter of this tool . |
String |
getInputCoordinateFormat()
Returns the Input Coordinate Format parameter of this tool . |
Object |
getInTable()
Returns the Input Table parameter of this tool . |
Object |
getOutFeatureclass()
Returns the Output Feature Class parameter of this tool . |
String |
getOutputCoordinateFormat()
Returns the Output Coordinate Format parameter of this tool . |
Object |
getSpatialReference()
Returns the Spatial Reference 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. |
Object |
getXField()
Returns the X Field (Longitude) parameter of this tool . |
Object |
getYField()
Returns the Y Field (Latitude) parameter of this tool . |
void |
setIdField(Object idField)
Sets the ID parameter of this tool . |
void |
setInputCoordinateFormat(String inputCoordinateFormat)
Sets the Input Coordinate Format parameter of this tool . |
void |
setInTable(Object inTable)
Sets the Input Table parameter of this tool . |
void |
setOutFeatureclass(Object outFeatureclass)
Sets the Output Feature Class parameter of this tool . |
void |
setOutputCoordinateFormat(String outputCoordinateFormat)
Sets the Output Coordinate Format parameter of this tool . |
void |
setSpatialReference(Object spatialReference)
Sets the Spatial Reference parameter of this tool . |
void |
setXField(Object xField)
Sets the X Field (Longitude) parameter of this tool . |
void |
setYField(Object yField)
Sets the Y Field (Latitude) 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 ConvertCoordinateNotation()
Initializes the array of tool parameters with the default values specified when the tool was created.
public ConvertCoordinateNotation(Object inTable, Object outFeatureclass, Object xField, Object yField, String inputCoordinateFormat, String outputCoordinateFormat)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
inTable
- table containing the coordinate field(s) to convert.outFeatureclass
- output feature class of points. The attribute table will contain a field of the converted coordinates.xField
- x coordinate field name in the Input Table. For DD and DDM this is the longitude field. For DMS, GARS, GEOREF, UTM, USNG, and MGRS, this is the only field as these are single-string coordinate types.yField
- y coordinate field name in the input table. For DD and DDM this is the latitude field. This parameter is disabled for DMS, GARS, GEOREF, UTM, USNG, and MGRS.inputCoordinateFormat
- coordinate format of the input fields. The default is DD.outputCoordinateFormat
- format of the output coordinates in the output point feature class. The default is DD.Method Detail |
---|
public Object getInTable()
public void setInTable(Object inTable)
inTable
- table containing the coordinate field(s) to convert.public Object getOutFeatureclass()
public void setOutFeatureclass(Object outFeatureclass)
outFeatureclass
- output feature class of points. The attribute table will contain a field of the converted coordinates.public Object getXField()
public void setXField(Object xField)
xField
- x coordinate field name in the Input Table. For DD and DDM this is the longitude field. For DMS, GARS, GEOREF, UTM, USNG, and MGRS, this is the only field as these are single-string coordinate types.public Object getYField()
public void setYField(Object yField)
yField
- y coordinate field name in the input table. For DD and DDM this is the latitude field. This parameter is disabled for DMS, GARS, GEOREF, UTM, USNG, and MGRS.public String getInputCoordinateFormat()
public void setInputCoordinateFormat(String inputCoordinateFormat)
inputCoordinateFormat
- coordinate format of the input fields. The default is DD.public String getOutputCoordinateFormat()
public void setOutputCoordinateFormat(String outputCoordinateFormat)
outputCoordinateFormat
- format of the output coordinates in the output point feature class. The default is DD.public Object getIdField()
public void setIdField(Object idField)
idField
- nullpublic Object getSpatialReference()
public void setSpatialReference(Object spatialReference)
spatialReference
- spatial reference of the input coordinates. The default is GCS_WGS_1984.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 |