ESRI.ArcGIS.DataManagementTools
ConvertCoordinateNotation Constructor(Object,Object,Object,Object,String,String)
See Also  Send your comments to: Site Administrator | Terms of Use | PRIVACY | Copyright @ ESRI | Careers
ESRI.ArcGIS.DataManagementTools Namespace > ConvertCoordinateNotation Class > ConvertCoordinateNotation Constructor : ConvertCoordinateNotation Constructor(Object,Object,Object,Object,String,String)




in_table
Table containing the coordinate field(s) to convert. (In, Required)
out_featureclass
Output feature class of points. The attribute table will contain a field of the converted coordinates. (Out, Required)
x_field
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. (In, Required)
y_field
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. (In, Required)
input_coordinate_format
Coordinate format of the input fields. The default is DD. (In, Required)
output_coordinate_format
Format of the output coordinates in the output point feature class. The default is DD. (In, Required)
Constructor that takes all required parameters for geoprocessor execution.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal in_table As Object, _
   ByVal out_featureclass As Object, _
   ByVal x_field As Object, _
   ByVal y_field As Object, _
   ByVal input_coordinate_format As String, _
   ByVal output_coordinate_format As String _
)
Visual Basic (Usage)Copy Code
Dim in_table As Object
Dim out_featureclass As Object
Dim x_field As Object
Dim y_field As Object
Dim input_coordinate_format As String
Dim output_coordinate_format As String
 
Dim instance As ConvertCoordinateNotation(in_table, out_featureclass, x_field, y_field, input_coordinate_format, output_coordinate_format)
C# 
public ConvertCoordinateNotation( 
   object in_table,
   object out_featureclass,
   object x_field,
   object y_field,
   string input_coordinate_format,
   string output_coordinate_format
)

Parameters

in_table
Table containing the coordinate field(s) to convert. (In, Required)
out_featureclass
Output feature class of points. The attribute table will contain a field of the converted coordinates. (Out, Required)
x_field
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. (In, Required)
y_field
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. (In, Required)
input_coordinate_format
Coordinate format of the input fields. The default is DD. (In, Required)
output_coordinate_format
Format of the output coordinates in the output point feature class. The default is DD. (In, Required)

See Also

© 2010 All Rights Reserved.