|
|||||||||
| 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.datamanagementtools.AddSpatialIndex
public class AddSpatialIndex
Adds a spatial index to a shapefile, file geodatabase feature class, or ArcSDE feature class. Spatial indexes are used by ArcGIS to quickly locate features that match a spatial query. For information on spatial indexes in geodatabases, see The Add Spatial Index tool is contained in the Data Management Tools tool box.
Software restrictions: none
| Field Summary |
|---|
| Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
|---|
vals |
| Constructor Summary | |
|---|---|
AddSpatialIndex()
Creates the Add Spatial Index tool with defaults. |
|
AddSpatialIndex(Object inFeatures)
Creates the Add Spatial Index tool with the required parameters. |
|
| Method Summary | |
|---|---|
Object |
getInFeatures()
Returns the Input Features parameter of this tool . |
Object |
getOutFeatureClass()
Returns the Output Feature Class parameter of this tool (Read only). |
double |
getSpatialGrid1()
Returns the Spatial Grid 1 parameter of this tool . |
double |
getSpatialGrid2()
Returns the Spatial Grid 2 parameter of this tool . |
double |
getSpatialGrid3()
Returns the Spatial Grid 3 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 |
setInFeatures(Object inFeatures)
Sets the Input Features parameter of this tool . |
void |
setSpatialGrid1(double spatialGrid1)
Sets the Spatial Grid 1 parameter of this tool . |
void |
setSpatialGrid2(double spatialGrid2)
Sets the Spatial Grid 2 parameter of this tool . |
void |
setSpatialGrid3(double spatialGrid3)
Sets the Spatial Grid 3 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 AddSpatialIndex()
Initializes the array of tool parameters with the default values specified when the tool was created.
public AddSpatialIndex(Object inFeatures)
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 - Feature Layer | Raster Catalog Layer, arcSDE feature class, file geodatabase feature class, or shapefile to which a spatial index is to be added.| Method Detail |
|---|
public Object getInFeatures()
public void setInFeatures(Object inFeatures)
inFeatures - Feature Layer | Raster Catalog Layer, arcSDE feature class, file geodatabase feature class, or shapefile to which a spatial index is to be added.public double getSpatialGrid1()
public void setSpatialGrid1(double spatialGrid1)
spatialGrid1 - Double, the two-dimensional grid system that spans a layer, like a locator grid you might find on a common road map. The first, or lowest, grid level has the smallest cell size.
One to three 2D grids (also referred to as grid levels), each with a distinct cell size, are created. Set the cell sizes of the other grids to 0 if you only want one; otherwise, set each level at least three times larger than the previous level.public double getSpatialGrid2()
public void setSpatialGrid2(double spatialGrid2)
spatialGrid2 - Double, the two-dimensional grid system that spans a layer, like a locator grid you might find on a common road map. The first, or lowest, grid level has the smallest cell size.
One to three 2D grids (also referred to as grid levels), each with a distinct cell size, are created. Set the cell sizes of the other grids to 0 if you only want one; otherwise, set each level at least three times larger than the previous level.public double getSpatialGrid3()
public void setSpatialGrid3(double spatialGrid3)
spatialGrid3 - Double, the two-dimensional grid system that spans a layer, like a locator grid you might find on a common road map. The first, or lowest, grid level has the smallest cell size.
One to three 2D grids (also referred to as grid levels), each with a distinct cell size, are created. Set the cell sizes of the other grids to 0 if you only want one; otherwise, set each level at least three times larger than the previous level.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 | ||||||||