|
|||||||||
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.CreateFeatureclass
public class CreateFeatureclass
Creates an empty feature class in an ArcSDE, file, or personal geodatabase; in a folder it creates a shapefile. The Create Feature Class tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
CreateFeatureclass()
Creates the Create Feature Class tool with defaults. |
|
CreateFeatureclass(Object outPath,
String outName)
Creates the Create Feature Class tool with the required parameters. |
Method Summary | |
---|---|
String |
getConfigKeyword()
Returns the Configuration Keyword parameter of this tool . |
String |
getGeometryType()
Returns the Geometry Type parameter of this tool . |
String |
getHasM()
Returns the Has M parameter of this tool . |
String |
getHasZ()
Returns the Has Z parameter of this tool . |
Object |
getOutFeatureClass()
Returns the Output Feature Class parameter of this tool (Read only). |
String |
getOutName()
Returns the Feature Class Name parameter of this tool . |
Object |
getOutPath()
Returns the Feature Class Location parameter of this tool . |
double |
getSpatialGrid1()
Returns the Output Spatial Grid 1 parameter of this tool . |
double |
getSpatialGrid2()
Returns the Output Spatial Grid 2 parameter of this tool . |
double |
getSpatialGrid3()
Returns the Output Spatial Grid 3 parameter of this tool . |
Object |
getSpatialReference()
Returns the Coordinate System parameter of this tool . |
Object |
getTemplate()
Returns the Template Feature Class 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. |
void |
setConfigKeyword(String configKeyword)
Sets the Configuration Keyword parameter of this tool . |
void |
setGeometryType(String geometryType)
Sets the Geometry Type parameter of this tool . |
void |
setHasM(String hasM)
Sets the Has M parameter of this tool . |
void |
setHasZ(String hasZ)
Sets the Has Z parameter of this tool . |
void |
setOutName(String outName)
Sets the Feature Class Name parameter of this tool . |
void |
setOutPath(Object outPath)
Sets the Feature Class Location parameter of this tool . |
void |
setSpatialGrid1(double spatialGrid1)
Sets the Output Spatial Grid 1 parameter of this tool . |
void |
setSpatialGrid2(double spatialGrid2)
Sets the Output Spatial Grid 2 parameter of this tool . |
void |
setSpatialGrid3(double spatialGrid3)
Sets the Output Spatial Grid 3 parameter of this tool . |
void |
setSpatialReference(Object spatialReference)
Sets the Coordinate System parameter of this tool . |
void |
setTemplate(Object template)
Sets the Template Feature Class 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 CreateFeatureclass()
Initializes the array of tool parameters with the default values specified when the tool was created.
public CreateFeatureclass(Object outPath, String outName)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
outPath
- the ArcSDE, file, or personal geodatabase, or the folder in which the output feature class will be created. This workspace must already exist.outName
- the name of the feature class to be created.Method Detail |
---|
public Object getOutPath()
public void setOutPath(Object outPath)
outPath
- the ArcSDE, file, or personal geodatabase, or the folder in which the output feature class will be created. This workspace must already exist.public String getOutName()
public void setOutName(String outName)
outName
- the name of the feature class to be created.public String getGeometryType()
public void setGeometryType(String geometryType)
geometryType
- the geometry type of the feature class.public Object getTemplate()
public void setTemplate(Object template)
template
- the feature class used as a template to define the attribute schema of the feature class.public String getHasM()
public void setHasM(String hasM)
hasM
- determines if the feature class contains linear measurement values (m-values).public String getHasZ()
public void setHasZ(String hasZ)
hasZ
- determines if the feature class contains elevation values (z-values).public Object getSpatialReference()
public void setSpatialReference(Object spatialReference)
spatialReference
- the spatial reference of the output feature class. You can specify the spatial reference in several ways: when you use a Template Feature Class its spatial reference is ignored.public String getConfigKeyword()
public void setConfigKeyword(String configKeyword)
configKeyword
- the configuration keyword applies to ArcSDE data only. It determines the storage parameters of the database table.public double getSpatialGrid1()
public void setSpatialGrid1(double spatialGrid1)
spatialGrid1
- the Spatial Grid 1, 2, and 3 parameters are used to compute a spatial index and only apply to file geodatabases and certain ArcSDE geodatabase feature classes. If you are unfamiliar with setting grid sizes, leave these options as 0,0,0 and ArcGIS will compute optimal sizes for you. Since no features are written by this tool, the spatial index will be in an unbuilt state. The index will be built when features are written to the feature class such as by the Append tool or editing operations. For more information about this parameter, refer to the Add Spatial Index tool documentation.public double getSpatialGrid2()
public void setSpatialGrid2(double spatialGrid2)
spatialGrid2
- cell size of the second spatial grid. Leave the size at 0 if you only want one grid. Otherwise, set the size to at least three times larger than Spatial Grid 1.public double getSpatialGrid3()
public void setSpatialGrid3(double spatialGrid3)
spatialGrid3
- cell size of the third spatial grid. Leave the size at 0 if you only want two grids. Otherwise, set the size to at least three times larger than Spatial Grid 2.public Object getOutFeatureClass()
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 |