|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.datasourcesraster.RasterCatalogTable
public class RasterCatalogTable
A special type of table used to display multiple rasters simultaneously.
RasterCatalogTable object is a table in any supported format such as Info, dbf and txt that contains multiple raster datasets that can be viewed as a single entity. The spatial reference for the raster catalog is taken from the first raster dataset in the raster catalog.
The first five columns of the table must be called “Image”, “Xmin”, “Ymin”, “Xmax”, and “YMax” for the table to be identified as a raster catalog. The first column contains the path to a dataset on disk, while the next four contain the bounding box around the dataset. Additional fields in the table are allowed but will have no effect on the display of the raster catalog.
RasterCatalogTable supports 8.x raster catalog, a table based raster catalog. The counterpart for 8.x style raster catalogs in ArcSDE is SdeRasterCatalogTable)
For geodatabase raster catalog, use RasterCatalog object.
Constructor Summary | |
---|---|
RasterCatalogTable()
Constructs a RasterCatalogTable using ArcGIS Engine. |
|
RasterCatalogTable(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. RasterCatalogTable theRasterCatalogTable = (RasterCatalogTable) obj; |
Method Summary | |
---|---|
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
IEnvelope |
getExtent()
The extent of the GeoDataset. |
void |
getFieldBoundsLocation(int[] pLocXmin,
int[] pLocYmin,
int[] pLocXmax,
int[] pLocYMax)
Bounds of the field location of the raster catalog. |
int |
getFieldNameLocation()
Location of the field name of the raster catalog. |
int |
getOID(int idx)
OID of the ith raster in the raster catalog. |
IRasterDataset |
getRasterDataset(int idx)
Reference to the ith raster dataset in the raster catalog. |
IEnvelope |
getRasterExtent(int idx)
Extent of the ith raster in the catalog. |
String |
getRasterName(int idx)
Name of the ith raster in the raster catalog. |
int |
getSize()
Number of rasters in the raster catalog. |
ISpatialReference |
getSpatialReference()
The spatial reference of the GeoDataset. |
ITable |
getTable()
The table object underlying the raster catalog table. |
String |
getWhereClause()
A SQL expression limiting the list of rasters currently viewed. |
int |
hashCode()
the hashcode for this object |
void |
setTableByRef(ITable ppTable)
The table object underlying the raster catalog table. |
void |
setWhereClause(String whereClause)
A SQL expression limiting the list of rasters currently viewed. |
void |
update()
Updates the object after the table is changed. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public RasterCatalogTable() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic RasterCatalogTable(Object obj) throws IOException
RasterCatalogTable theRasterCatalogTable = (RasterCatalogTable) obj;
obj
to RasterCatalogTable
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public ITable getTable() throws IOException, AutomationException
getTable
in interface IRasterCatalogTable
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setTableByRef(ITable ppTable) throws IOException, AutomationException
setTableByRef
in interface IRasterCatalogTable
ppTable
- A reference to a com.esri.arcgis.geodatabase.ITable (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void update() throws IOException, AutomationException
update
in interface IRasterCatalogTable
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getSize() throws IOException, AutomationException
getSize
in interface IRasterCatalogTable
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getRasterExtent(int idx) throws IOException, AutomationException
getRasterExtent
in interface IRasterCatalogTable
idx
- The idx (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getRasterName(int idx) throws IOException, AutomationException
getRasterName
in interface IRasterCatalogTable
idx
- The idx (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IRasterDataset getRasterDataset(int idx) throws IOException, AutomationException
getRasterDataset
in interface IRasterCatalogTable
idx
- The idx (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getFieldNameLocation() throws IOException, AutomationException
getFieldNameLocation
in interface IRasterCatalogTable
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void getFieldBoundsLocation(int[] pLocXmin, int[] pLocYmin, int[] pLocXmax, int[] pLocYMax) throws IOException, AutomationException
getFieldBoundsLocation
in interface IRasterCatalogTable
pLocXmin
- The pLocXmin (out: use single element array)pLocYmin
- The pLocYmin (out: use single element array)pLocXmax
- The pLocXmax (out: use single element array)pLocYMax
- The pLocYMax (out: use single element array)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setWhereClause(String whereClause) throws IOException, AutomationException
setWhereClause
in interface IRasterCatalogTable
whereClause
- The whereClause (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String getWhereClause() throws IOException, AutomationException
getWhereClause
in interface IRasterCatalogTable
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getOID(int idx) throws IOException, AutomationException
getOID
in interface IRasterCatalogTable
idx
- The idx (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpatialReference getSpatialReference() throws IOException, AutomationException
This property is read only. For layers, when the first layer is added to ArcMap, its spatial reference is read by this property, and the map is set to this spatial reference.
Instances of the esriCarto.GroupLayer class will return null for this property, as a group layer can contain multiple datasets with different spatial references.
Modifications to a spatial reference returned by this property will not be persisted. To modify the spatial reference of a dataset, the IGeoDatasetSchemaEdit and IGeoDatasetSchemaEdit2 interfaces should be used.
getSpatialReference
in interface IGeoDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope getExtent() throws IOException, AutomationException
The IGeoDataset::Extent property returns an envelope representing the maximum extent of data which has been stored in the dataset.
Consider the following scenario. A new feature class has features added to it. The IGeoDataset::Extent is then requested and an envelope is returned. The extents of the envelope returned are represented by the red box in the image below.
If a portion of the features were then deleted and the extent is again requested an envelope with the exact same extents as during the first request would be returned (see image below). This is because the deletion of features does not shrink the extent. However all additions of features outside the red box would increase the envelope returned to encompass the newly added features.
If you would like to update the IGeoDataset::Extent property to reflect the current features in your dataset please see IFeatureClassManage::UpdateExtent (also see IFeatureClassLoad). In the image below the extent has been updated and a new envelope is being returned.
ESRI's GroupLayer implements this property differently from most other layer coclasses. When you instantiate a new GroupLayer, this property will return a valid envelope with zero height and width. With most other newly instantiated layers (for example FeatureLayer, RasterLayer, TinLayer), this property initally returns Nothing.
getExtent
in interface IGeoDataset
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |