public class RasterDataset extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IRasterDataset, IRasterDataset2, IRasterDataset3, IRasterDatasetEdit, IRasterDatasetEdit2, IRasterDatasetEdit3, IDataset, IGeoDataset, IGeoDatasetSchemaEdit, IGeoDatasetSchemaEdit2, IRasterBandCollection, IRasterPyramid, IRasterPyramid2, IRasterPyramid3, IRasterPyramid4, IMetadata, IMetadataEdit, INativeTypeInfo, ITemporaryDataset, IDatasetAnalyze, IDatasetFileStat, ISupportErrorInfo, IWorldFileExport, IWorldFileExport2, IRasterDatasetJukebox, ISaveAs, ISaveAs2, IRawBlocks
Description 'A representation of a raster dataset on disk.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
IID, IID2c046294_251c_43b4_8cff_d80c24dec088, xxDummyIID76aa6a59_25b4_4f26_9079_7a634759fed9IID7aca3d01_0629_11d2_8d24_0000f8780535IID, IID8e68e3da_30d6_492b_b12e_ca2669a106ef, xxDummyIID24217915_7f69_4317_b0e0_908400e578c4IIDba86a917_98ec_4994_b692_760abedcc306IID, IID2d04c042_7766_11d0_b77d_00805f7ced21, xxDummyIID, IID0a6a2faa_047d_4792_8732_d766d496beca, xxDummyIID6b267c02_28cc_11d3_9f67_00c04f6bdf0cIID, IID7aca3d10_0629_11d2_8d24_0000f8780535, xxDummyIID, IID6ba57454_b8b9_4889_91c8_e1dc3539ff17, xxDummyIID31ed1fa3_3850_4ce2_9ce4_0d40701024d6IIDf4e73742_71c1_425e_b889_e4fad1ea63d0IID81bd0a10_6fb6_11d3_a407_0004ac1b1d86IID, IID5de04a82_24e4_11d3_a641_0008c7d3ae50, xxDummyIID, IID97fdb978_62a4_49c5_8252_b07837b33ee9, xxDummyIID, IID906db24a_f0ad_4ca5_871b_5466e54fab80, xxDummyIID, IIDc9e5b7d0_3758_11d4_a421_0004ac1b1d86, xxDummyIID, IID60262917_d53f_4e0b_86ff_a916c3fb26bc, xxDummyIID, IID52d4a757_df71_47e0_aab8_ee302eb7acab, xxDummyIID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummyIID, IID7d436852_ebea_11d4_b2b0_00508bcdc74b, xxDummyIID, IIDde7a3592_7add_4929_9773_27eba630ef35, xxDummyIID, IID93607a44_e66b_4e6f_bd9b_e34cb8de213e, xxDummyIID, IIDba3968e7_a18b_416d_8140_e4a06068cf1b, xxDummyIIDc7a92e97_597e_4a69_a872_29cb60b5e0dbIID, IIDf20ff8ff_643a_4669_a465_e14a5095e7dd, xxDummy| Constructor and Description |
|---|
RasterDataset()
Constructs a RasterDataset using ArcGIS Engine.
|
RasterDataset(java.lang.Object obj)
Deprecated.
As of ArcGIS 9.2, replaced by normal Java casts.
RasterDataset theRasterDataset = (RasterDataset) obj; |
| Modifier and Type | Method and Description |
|---|---|
void |
add(IRasterBand element,
int index)
Adds a RasterBand to the band collection.
|
void |
alterAttributeTable(ITable newTable)
Alters the raster attribute table.
|
void |
alterColormap(IRasterColormap colormap)
Alters colormap.
|
void |
alterGeodataXform(IGeodataXform xform)
Alters the geodata transformation of the dataset (does not transform the data).
|
void |
alterResolution(double xyResolution,
double zResolution,
double mResolution)
Alters the resolution of the dataset and rebuilds the spatial indexes.
|
void |
alterSpatialReference(ISpatialReference spatialReference)
Alters the spatial reference of the dataset to match the coordinate system of the input spatial reference, does not reproject the data.
|
void |
analyze(int tableComponents)
Analyze the data to update/generate DBMS statistics.
|
void |
appendBand(IRasterBand element)
Appends a RasterBand to the band collection.
|
void |
appendBands(IRasterBandCollection bands)
Appends a collection of RasterBands to the band collection.
|
void |
appendNewBand()
Appends a new raster band.
|
void |
basicOpenFromFile(java.lang.String path)
Opens the dataset from file.
|
void |
buildAttributeTable()
Builds the raster attribute table.
|
void |
buildPyramid(int maxLevel,
int method)
Builds pyramid for this RasterDataset.
|
void |
buildPyramid(IPropertySet pAttributes)
Builds pyramid for this RasterDataset.
|
boolean |
canCopy()
Returns true if this dataset can be copied.
|
boolean |
canDelete()
True if this dataset can be deleted.
|
boolean |
canRename()
True if this dataset can be renamed.
|
boolean |
canSaveAs(java.lang.String format)
Checks if it's can be saved as a new persistent Dataset of a given format.
|
void |
clear()
Removes all the elements in the collection.
|
void |
computeStatisticsHistogram(int skipx,
int skipy,
java.lang.Object ignoreValues,
boolean requireHistogram)
Computes statistics and histogram for a skip factor and a list of Ignore vlaues.
|
void |
computeStats(int pyramidLevel)
Calculates statistics and histograms from a given pyramid level.
|
void |
constructResolutions(ISpatialReference spatialReference,
int numberRequested,
int[] defaultXYResolutionIndex,
IDoubleArray[] xyResolutions,
IDoubleArray[] zResolutions,
IDoubleArray[] mResolutions)
Returns a list of possible resolutions (precisions) and the doubling factors that produce them from the specified low precision spatial reference.
|
IDataset |
copy(java.lang.String copyName,
IWorkspace copyWorkspace)
Copies this dataset to a new dataset with the specified name.
|
void |
create()
Build raster pyramids for this raster.
|
IRaster |
createDefaultRaster()
Creates a raster object with the default properties for this dataset.
|
IRaster |
createFullRaster()
Creates a raster containing all bands in this raster dataset.
|
IPixelBlock |
createPixelBlock()
Create a compatible pixel block.
|
IRaster |
createRaster()
Creates an empty raster.
|
void |
delete()
Deletes this dataset.
|
void |
deleteAttributeTable()
Deletes the raster attribute table.
|
void |
deleteColormap()
Deletes colormap.
|
void |
deletePyramid()
Deletes pyramid for this RasterDataset.
|
void |
deleteStats()
Deletes statistics and histograms.
|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
void |
erase(IEnvelope extent)
Erases a rectanglar area of this RasterDataset.
|
void |
flush()
Flushes buffered data.
|
int |
getAllowableComponents()
The allowable components to be analyzed.
|
IRasterBand |
getBandByName(java.lang.String name)
A RasterBand given its name.
|
int |
getBandIndex(java.lang.String name)
The index of a RasterBand given its name.
|
IEnumRasterBand |
getBands()
All the bands in the collection as an interface to the RasterBands enumerator object.
|
int |
getBlockHeight()
The native block height.
|
int |
getBlockWidth()
The native block width.
|
java.lang.String |
getBrowseName()
The browse name of the dataset.
|
java.lang.String |
getCategory()
The category of the dataset.
|
static java.lang.String |
getClsid()
getClsid.
|
java.lang.String |
getCompleteName()
The full path of the RasterDataset.
|
java.lang.String |
getCompressionType()
The compression technique applied to this RasterDataset.
|
int |
getCount()
The number of bands in the collection.
|
IEnvelope |
getExtent()
The extent of the GeoDataset.
|
int |
getFirstPyramidLevel()
The first available pyramid level.
|
java.lang.String |
getFormat()
The format of this RasterRataset.
|
IName |
getFullName()
The associated name object.
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
IRasterLODInfos |
getLODInfos()
The custom LOD infos.
|
int |
getMaximumPyramidLevel()
The maximum available pyramid level.
|
IPropertySet |
getMetadata()
The PropertySet containing metadata.
|
IPnt |
getMinimumSize()
The minimum raster pyramid size.
|
java.lang.String |
getName()
The name of the Dataset.
|
INativeType |
getNativeType()
The native type.
|
IPropertySet |
getPropertySet()
The set of properties for the dataset.
|
int |
getPyramidLevel()
The pyramid level.
|
int |
getPyramidResamplingMethod()
The pyramid resampling method.
|
IRasterInfo |
getRasterInfo()
The raster information.
|
java.lang.String |
getSensorType()
The sensor type used for this RasterDataset.
|
ISpatialReference |
getSpatialReference()
The spatial reference of the GeoDataset.
|
int |
getStatMode()
The access mode.
|
int |
getStatSize()
The size.
|
int |
getStatTime(int dateMode)
The date modified/created/accessed.
|
int |
getSubdataset()
The current active subdataset.
|
int |
getSubdatasetCount()
The number of subdatasets.
|
java.lang.String |
getSubdatasetDescription(int subdatasetID)
The given subdataset description.
|
java.lang.String |
getSubdatasetName(int subdatasetID)
The given subdataset name.
|
IEnumDataset |
getSubsets()
Datasets contained within this dataset.
|
int |
getType()
The type of the Dataset.
|
IWorkspace |
getWorkspace()
The workspace containing this dataset.
|
int |
hashCode()
the hashcode for this object
|
void |
interfaceSupportsErrorInfo(GUID riid)
interfaceSupportsErrorInfo
|
boolean |
isCanAlterAttributeTable()
Indicates if the raster attribute table can be altered.
|
boolean |
isCanAlterGeodataXform()
Indicates if the geodata transformation of the dataset can be altered.
|
boolean |
isCanAlterSpatialReference()
Indicates if the spatial reference of the dataset can be altered.
|
boolean |
isCanEditMetadata()
Indicates if metadata can be edited.
|
boolean |
isCanWrite()
Indicates if this RasterDataset is writable.
|
boolean |
isEmpty()
Indicates whether the raster dataset is empty.
|
boolean |
isPresent()
Indicates whether pyramid layers exist.
|
boolean |
isTemporary()
Indicates if the dataset is temporary.
|
IRasterBand |
item(int bandIndex)
Returns a RasterBand given its index.
|
void |
makePermanent()
Persists this temporary dataset permanent.
|
IDataset |
makePermanentAs(java.lang.String new_name,
IWorkspace workspace,
java.lang.String format)
Persists this temporary dataset to a new permanent dataset.
|
void |
mosaic(IRaster raster,
double tolerance)
Mosaics a Raster into this RasterDataset.
|
void |
mosaicBands(IRaster raster,
int start,
double tolerance)
Mosaics a Raster into this RasterDataset at a given starting band index.
|
void |
openFromFile(java.lang.String path)
Attaches dataset to a particular file.
|
void |
precalculateStats(java.lang.Object index_list)
Calculates statistics and histograms for specified bands.
|
void |
read(IPnt tlc,
IRaster raster,
IPixelBlock pixelBlock)
Reads a block of pixels starting from the top left corner.
|
void |
readBlock(int tx,
int ty,
int level,
IPixelBlock pPixelBlock)
Reads a raw pixel block.
|
void |
readPyramid(IPnt tlc,
int pyramidLevel,
IRaster raster,
IPixelBlock pixelBlock)
Reads a block of pixels at a given pyramid level.
|
void |
refresh()
Refreshes opened RasterDataset.
|
void |
release()
Release this COM object reference
|
void |
remove(int index)
Removes an element from the collection.
|
void |
rename(java.lang.String name)
Renames this Dataset.
|
IDataset |
saveAs(java.lang.String new_name,
IWorkspace worksp,
java.lang.String format)
Creates a new persistent RasterDataset with the bands in the collection.
|
IRasterDataset |
saveAsRasterDataset(java.lang.String name,
IWorkspace workspace,
java.lang.String format,
IRasterStorageDef storageDef)
Creates a new persistent Raster Dataset of a given format and specified storage definition.
|
void |
setBrowseName(java.lang.String name)
The browse name of the dataset.
|
void |
setMetadata(IPropertySet propertySet)
The PropertySet containing metadata.
|
void |
setMinimumSize(IPnt ppVal)
The minimum raster pyramid size.
|
void |
setSubdataset(int pSubdatasetID)
The current active subdataset.
|
void |
synchronize(int action,
int interval)
Updates metadata with the current properties; may create metadata if it doesn't already exist.
|
void |
write()
Creates a World File.
|
void |
write(IPnt tlc,
IRaster raster,
int mode,
IPixelBlock pixelBlock)
Writes a block of pixels starting from the top left corner.
|
void |
writeBinaryAuxFile()
Create a binary AUX file containing georeferencing and spatial reference.
|
void |
writeBlock(int tx,
int ty,
int level,
IPixelBlock pPixelBlock)
Writes a raw pixel block.
|
public RasterDataset()
throws java.io.IOException,
java.net.UnknownHostException
java.io.IOException - if there are interop problemsjava.net.UnknownHostException - if there are interop problemspublic RasterDataset(java.lang.Object obj)
throws java.io.IOException
RasterDataset theRasterDataset = (RasterDataset) obj;obj to RasterDataset.obj - an object returned from ArcGIS Engine or Serverjava.io.IOException - if there are interop problemspublic static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRefpublic void release()
release in interface com.esri.arcgis.interop.RemoteObjRefpublic java.lang.String getFormat()
throws java.io.IOException,
AutomationException
getFormat in interface IRasterDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getSensorType()
throws java.io.IOException,
AutomationException
getSensorType in interface IRasterDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getCompressionType()
throws java.io.IOException,
AutomationException
getCompressionType in interface IRasterDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRaster createDefaultRaster() throws java.io.IOException, AutomationException
createDefaultRaster in interface IRasterDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean canCopy()
throws java.io.IOException,
AutomationException
canCopy in interface IDatasetcanCopy in interface IRasterDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IDataset copy(java.lang.String copyName, IWorkspace copyWorkspace) throws java.io.IOException, AutomationException
copy in interface IDatasetcopy in interface IRasterDatasetcopyName - The copyName (in)copyWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void openFromFile(java.lang.String path)
throws java.io.IOException,
AutomationException
openFromFile in interface IRasterDatasetpath - The path (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void precalculateStats(java.lang.Object index_list)
throws java.io.IOException,
AutomationException
precalculateStats in interface IRasterDatasetindex_list - A Variant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getCompleteName()
throws java.io.IOException,
AutomationException
getCompleteName in interface IRasterDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void basicOpenFromFile(java.lang.String path)
throws java.io.IOException,
AutomationException
basicOpenFromFile in interface IRasterDatasetpath - The path (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRaster createRaster() throws java.io.IOException, AutomationException
createRaster in interface IRasterDataset2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRaster createFullRaster() throws java.io.IOException, AutomationException
createFullRaster in interface IRasterDataset2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isEmpty()
throws java.io.IOException,
AutomationException
isEmpty in interface IRasterDataset2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getBlockWidth()
throws java.io.IOException,
AutomationException
getBlockWidth in interface IRasterDataset3java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getBlockHeight()
throws java.io.IOException,
AutomationException
getBlockHeight in interface IRasterDataset3java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getMaximumPyramidLevel()
throws java.io.IOException,
AutomationException
getMaximumPyramidLevel in interface IRasterDataset3java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getFirstPyramidLevel()
throws java.io.IOException,
AutomationException
getFirstPyramidLevel in interface IRasterDataset3java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRasterLODInfos getLODInfos() throws java.io.IOException, AutomationException
getLODInfos in interface IRasterDataset3java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isCanWrite()
throws java.io.IOException,
AutomationException
isCanWrite in interface IRasterDataset3java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void read(IPnt tlc, IRaster raster, IPixelBlock pixelBlock) throws java.io.IOException, AutomationException
read in interface IRasterDataset3tlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)raster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)pixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void write(IPnt tlc, IRaster raster, int mode, IPixelBlock pixelBlock) throws java.io.IOException, AutomationException
write in interface IRasterDataset3tlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)raster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)mode - A com.esri.arcgis.geodatabase.esriRasterWriteMode constant (in)pixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void refresh()
throws java.io.IOException,
AutomationException
refresh in interface IRasterDataset3java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void readPyramid(IPnt tlc, int pyramidLevel, IRaster raster, IPixelBlock pixelBlock) throws java.io.IOException, AutomationException
readPyramid in interface IRasterDataset3tlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)pyramidLevel - The pyramidLevel (in)raster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)pixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void mosaic(IRaster raster, double tolerance) throws java.io.IOException, AutomationException
mosaic in interface IRasterDatasetEditraster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)tolerance - The tolerance (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void mosaicBands(IRaster raster, int start, double tolerance) throws java.io.IOException, AutomationException
mosaicBands in interface IRasterDatasetEditraster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)start - The start (in)tolerance - The tolerance (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void erase(IEnvelope extent) throws java.io.IOException, AutomationException
erase in interface IRasterDatasetEditextent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void computeStats(int pyramidLevel)
throws java.io.IOException,
AutomationException
computeStats in interface IRasterDatasetEditpyramidLevel - The pyramidLevel (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deleteStats()
throws java.io.IOException,
AutomationException
deleteStats in interface IRasterDatasetEditjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void alterColormap(IRasterColormap colormap) throws java.io.IOException, AutomationException
alterColormap in interface IRasterDatasetEditcolormap - A reference to a com.esri.arcgis.geodatabase.IRasterColormap (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deleteColormap()
throws java.io.IOException,
AutomationException
deleteColormap in interface IRasterDatasetEditjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void appendNewBand()
throws java.io.IOException,
AutomationException
appendNewBand in interface IRasterDatasetEditjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void alterAttributeTable(ITable newTable) throws java.io.IOException, AutomationException
alterAttributeTable in interface IRasterDatasetEdit2newTable - A reference to a com.esri.arcgis.geodatabase.ITable (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deleteAttributeTable()
throws java.io.IOException,
AutomationException
deleteAttributeTable in interface IRasterDatasetEdit2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isCanAlterAttributeTable()
throws java.io.IOException,
AutomationException
isCanAlterAttributeTable in interface IRasterDatasetEdit2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void buildAttributeTable()
throws java.io.IOException,
AutomationException
buildAttributeTable in interface IRasterDatasetEdit2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void computeStatisticsHistogram(int skipx,
int skipy,
java.lang.Object ignoreValues,
boolean requireHistogram)
throws java.io.IOException,
AutomationException
computeStatisticsHistogram in interface IRasterDatasetEdit3skipx - The skipx (in)skipy - The skipy (in)ignoreValues - A Variant (in)requireHistogram - The requireHistogram (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getName()
throws java.io.IOException,
AutomationException
getName in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IName getFullName() throws java.io.IOException, AutomationException
getFullName in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getBrowseName()
throws java.io.IOException,
AutomationException
getBrowseName in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setBrowseName(java.lang.String name)
throws java.io.IOException,
AutomationException
setBrowseName in interface IDatasetname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getType()
throws java.io.IOException,
AutomationException
getType in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getCategory()
throws java.io.IOException,
AutomationException
getCategory in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumDataset getSubsets() throws java.io.IOException, AutomationException
getSubsets in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IWorkspace getWorkspace() throws java.io.IOException, AutomationException
getWorkspace in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPropertySet getPropertySet() throws java.io.IOException, AutomationException
getPropertySet in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean canDelete()
throws java.io.IOException,
AutomationException
canDelete in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void delete()
throws java.io.IOException,
AutomationException
delete in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean canRename()
throws java.io.IOException,
AutomationException
canRename in interface IDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void rename(java.lang.String name)
throws java.io.IOException,
AutomationException
rename in interface IDatasetname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public ISpatialReference getSpatialReference() throws java.io.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 IGeoDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnvelope getExtent() throws java.io.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 IGeoDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isCanAlterSpatialReference()
throws java.io.IOException,
AutomationException
isCanAlterSpatialReference in interface IGeoDatasetSchemaEditjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void alterSpatialReference(ISpatialReference spatialReference) throws java.io.IOException, AutomationException
alterSpatialReference in interface IGeoDatasetSchemaEditspatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isCanAlterGeodataXform()
throws java.io.IOException,
AutomationException
isCanAlterGeodataXform in interface IGeoDatasetSchemaEdit2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void alterGeodataXform(IGeodataXform xform) throws java.io.IOException, AutomationException
alterGeodataXform in interface IGeoDatasetSchemaEdit2xform - A reference to a com.esri.arcgis.geodatabase.IGeodataXform (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void alterResolution(double xyResolution,
double zResolution,
double mResolution)
throws java.io.IOException,
AutomationException
alterResolution in interface IGeoDatasetSchemaEdit2xyResolution - The xyResolution (in)zResolution - The zResolution (in)mResolution - The mResolution (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void constructResolutions(ISpatialReference spatialReference, int numberRequested, int[] defaultXYResolutionIndex, IDoubleArray[] xyResolutions, IDoubleArray[] zResolutions, IDoubleArray[] mResolutions) throws java.io.IOException, AutomationException
constructResolutions in interface IGeoDatasetSchemaEdit2spatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)numberRequested - The numberRequested (in)defaultXYResolutionIndex - The defaultXYResolutionIndex (out: use single element array)xyResolutions - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)zResolutions - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)mResolutions - A reference to a com.esri.arcgis.system.IDoubleArray (out: use single element array)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void add(IRasterBand element, int index) throws java.io.IOException, AutomationException
add in interface IRasterBandCollectionelement - A reference to a com.esri.arcgis.datasourcesraster.IRasterBand (in)index - The index (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getCount()
throws java.io.IOException,
AutomationException
getCount in interface IRasterBandCollectionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void clear()
throws java.io.IOException,
AutomationException
clear in interface IRasterBandCollectionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void remove(int index)
throws java.io.IOException,
AutomationException
remove in interface IRasterBandCollectionindex - The index (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getBandIndex(java.lang.String name)
throws java.io.IOException,
AutomationException
getBandIndex in interface IRasterBandCollectionname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRasterBand getBandByName(java.lang.String name) throws java.io.IOException, AutomationException
getBandByName in interface IRasterBandCollectionname - The name (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IEnumRasterBand getBands() throws java.io.IOException, AutomationException
getBands in interface IRasterBandCollectionjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRasterBand item(int bandIndex) throws java.io.IOException, AutomationException
item in interface IRasterBandCollectionbandIndex - The bandIndex (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IDataset saveAs(java.lang.String new_name, IWorkspace worksp, java.lang.String format) throws java.io.IOException, AutomationException
saveAs in interface IRasterBandCollectionsaveAs in interface ISaveAsnew_name - The new_name (in)worksp - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)format - The format (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void appendBand(IRasterBand element) throws java.io.IOException, AutomationException
appendBand in interface IRasterBandCollectionelement - A reference to a com.esri.arcgis.datasourcesraster.IRasterBand (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void appendBands(IRasterBandCollection bands) throws java.io.IOException, AutomationException
appendBands in interface IRasterBandCollectionbands - A reference to a com.esri.arcgis.datasourcesraster.IRasterBandCollection (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isPresent()
throws java.io.IOException,
AutomationException
isPresent in interface IRasterPyramidjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setMinimumSize(IPnt ppVal) throws java.io.IOException, AutomationException
setMinimumSize in interface IRasterPyramidppVal - A reference to a com.esri.arcgis.geodatabase.IPnt (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPnt getMinimumSize() throws java.io.IOException, AutomationException
getMinimumSize in interface IRasterPyramidjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void create()
throws java.io.IOException,
AutomationException
create in interface IRasterPyramidjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getPyramidLevel()
throws java.io.IOException,
AutomationException
getPyramidLevel in interface IRasterPyramid2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getPyramidResamplingMethod()
throws java.io.IOException,
AutomationException
getPyramidResamplingMethod in interface IRasterPyramid2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void buildPyramid(int maxLevel,
int method)
throws java.io.IOException,
AutomationException
buildPyramid in interface IRasterPyramid2maxLevel - The maxLevel (in)method - A com.esri.arcgis.geodatabase.rstResamplingTypes constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void deletePyramid()
throws java.io.IOException,
AutomationException
deletePyramid in interface IRasterPyramid3java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void buildPyramid(IPropertySet pAttributes) throws java.io.IOException, AutomationException
buildPyramid in interface IRasterPyramid4pAttributes - A reference to a com.esri.arcgis.system.IPropertySet (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPropertySet getMetadata() throws java.io.IOException, AutomationException
getMetadata in interface IMetadatajava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setMetadata(IPropertySet propertySet) throws java.io.IOException, AutomationException
setMetadata in interface IMetadatapropertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void synchronize(int action,
int interval)
throws java.io.IOException,
AutomationException
synchronize in interface IMetadataaction - A com.esri.arcgis.geodatabase.esriMetadataSyncAction constant (in)interval - The interval (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isCanEditMetadata()
throws java.io.IOException,
AutomationException
isCanEditMetadata in interface IMetadataEditjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public INativeType getNativeType() throws java.io.IOException, AutomationException
getNativeType in interface INativeTypeInfojava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean isTemporary()
throws java.io.IOException,
AutomationException
isTemporary in interface ITemporaryDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void makePermanent()
throws java.io.IOException,
AutomationException
makePermanent in interface ITemporaryDatasetjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IDataset makePermanentAs(java.lang.String new_name, IWorkspace workspace, java.lang.String format) throws java.io.IOException, AutomationException
makePermanentAs in interface ITemporaryDatasetnew_name - The new_name (in)workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)format - The format (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void analyze(int tableComponents)
throws java.io.IOException,
AutomationException
analyze in interface IDatasetAnalyzetableComponents - The tableComponents (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getAllowableComponents()
throws java.io.IOException,
AutomationException
getAllowableComponents in interface IDatasetAnalyzejava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getStatTime(int dateMode)
throws java.io.IOException,
AutomationException
getStatTime in interface IDatasetFileStatdateMode - A com.esri.arcgis.geodatabase.esriDatasetFileStatTimeMode constant (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getStatSize()
throws java.io.IOException,
AutomationException
getStatSize in interface IDatasetFileStatjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getStatMode()
throws java.io.IOException,
AutomationException
getStatMode in interface IDatasetFileStatjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void interfaceSupportsErrorInfo(GUID riid) throws java.io.IOException, AutomationException
interfaceSupportsErrorInfo in interface ISupportErrorInforiid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void write()
throws java.io.IOException,
AutomationException
write in interface IWorldFileExportjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void writeBinaryAuxFile()
throws java.io.IOException,
AutomationException
writeBinaryAuxFile in interface IWorldFileExport2java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getSubdatasetCount()
throws java.io.IOException,
AutomationException
getSubdatasetCount in interface IRasterDatasetJukeboxjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public int getSubdataset()
throws java.io.IOException,
AutomationException
getSubdataset in interface IRasterDatasetJukeboxjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void setSubdataset(int pSubdatasetID)
throws java.io.IOException,
AutomationException
setSubdataset in interface IRasterDatasetJukeboxpSubdatasetID - The pSubdatasetID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getSubdatasetName(int subdatasetID)
throws java.io.IOException,
AutomationException
getSubdatasetName in interface IRasterDatasetJukeboxsubdatasetID - The subdatasetID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public java.lang.String getSubdatasetDescription(int subdatasetID)
throws java.io.IOException,
AutomationException
getSubdatasetDescription in interface IRasterDatasetJukeboxsubdatasetID - The subdatasetID (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public boolean canSaveAs(java.lang.String format)
throws java.io.IOException,
AutomationException
canSaveAs in interface ISaveAsformat - The format (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRasterDataset saveAsRasterDataset(java.lang.String name, IWorkspace workspace, java.lang.String format, IRasterStorageDef storageDef) throws java.io.IOException, AutomationException
saveAsRasterDataset in interface ISaveAs2name - The name (in)workspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)format - The format (in)storageDef - A reference to a com.esri.arcgis.geodatabase.IRasterStorageDef (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IRasterInfo getRasterInfo() throws java.io.IOException, AutomationException
getRasterInfo in interface IRawBlocksjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public IPixelBlock createPixelBlock() throws java.io.IOException, AutomationException
createPixelBlock in interface IRawBlocksjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void readBlock(int tx,
int ty,
int level,
IPixelBlock pPixelBlock)
throws java.io.IOException,
AutomationException
readBlock in interface IRawBlockstx - The tx (in)ty - The ty (in)level - The level (in)pPixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void writeBlock(int tx,
int ty,
int level,
IPixelBlock pPixelBlock)
throws java.io.IOException,
AutomationException
writeBlock in interface IRawBlockstx - The tx (in)ty - The ty (in)level - The level (in)pPixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)java.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.public void flush()
throws java.io.IOException,
AutomationException
flush in interface IRawBlocksjava.io.IOException - If there are interop problems.AutomationException - If the ArcObject component throws an exception.