com.esri.arcgis.geodatabase
Interface IRasterDatasetEdit

All Superinterfaces:
Serializable
All Known Subinterfaces:
IRasterDatasetEdit2, IRasterDatasetEdit3
All Known Implementing Classes:
RasterDataset

public interface IRasterDatasetEdit
extends Serializable

Provides access to members that control raster dataset level editing operations.

Superseded By

IRasterDatasetEdit2

Remarks

The IRasterDatasetEdit interface provides access to editing the raster dataset by appending new raster data, and manipulating both the colormap and statistics. Some of methods (Erase, DeleteStats, and AppendNewBand) work only with database RasterDataset, which is dataset store in an enterpise or a file geodatabase.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


Method Summary
 void alterColormap(IRasterColormap colormap)
          Alters colormap.
 void appendNewBand()
          Appends a new raster band.
 void computeStats(int pyramidLevel)
          Calculates statistics and histograms from a given pyramid level.
 void deleteColormap()
          Deletes colormap.
 void deleteStats()
          Deletes statistics and histograms.
 void erase(IEnvelope extent)
          Erases a rectanglar area of this RasterDataset.
 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.
 

Method Detail

mosaic

void mosaic(IRaster raster,
            double tolerance)
            throws IOException,
                   AutomationException
Mosaics a Raster into this RasterDataset.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
raster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
tolerance - The tolerance (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

mosaicBands

void mosaicBands(IRaster raster,
                 int start,
                 double tolerance)
                 throws IOException,
                        AutomationException
Mosaics a Raster into this RasterDataset at a given starting band index.

Remarks

This method is supported by RasterDataset instances created from geodatabase and TIFF, Imagine and GRID raster formats.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
raster - A reference to a com.esri.arcgis.geodatabase.IRaster (in)
start - The start (in)
tolerance - The tolerance (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

erase

void erase(IEnvelope extent)
           throws IOException,
                  AutomationException
Erases a rectanglar area of this RasterDataset.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
extent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

computeStats

void computeStats(int pyramidLevel)
                  throws IOException,
                         AutomationException
Calculates statistics and histograms from a given pyramid level.

Remarks

This method is avaliable only on raster datasets in File and ArcSDE geodatabases.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
pyramidLevel - The pyramidLevel (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteStats

void deleteStats()
                 throws IOException,
                        AutomationException
Deletes statistics and histograms.

Remarks

This method is avaliable only on raster datasets in File and ArcSDE geodatabases.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterColormap

void alterColormap(IRasterColormap colormap)
                   throws IOException,
                          AutomationException
Alters colormap.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Parameters:
colormap - A reference to a com.esri.arcgis.geodatabase.IRasterColormap (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteColormap

void deleteColormap()
                    throws IOException,
                           AutomationException
Deletes colormap.

Remarks

This method only applies to database Rasterdataset , a raster dataset stored in a File or ArcSDE geodatabase.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

appendNewBand

void appendNewBand()
                   throws IOException,
                          AutomationException
Appends a new raster band.

Remarks

This method is available only on a raster dataset in File and ArcSDE geodatabases.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.