com.esri.arcgis.spatialanalyst
Interface IMapAlgebraOp

All Superinterfaces:
Serializable
All Known Implementing Classes:
RasterMapAlgebraOp

public interface IMapAlgebraOp
extends Serializable

Provides access to members that control the MapAlgebra operations.

Remarks

  • Read the Working with ArcGIS Spatial Analyst objects technical document for general information on implementing Spatial Analyst operations.
  • Product Availability

    Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Spatial Analyst Extension.

    Supported Platforms

    Windows, Solaris, Linux


    Method Summary
     void bindRaster(IGeoDataset geoDataset, String symbol)
              Binds a symbol to a GeoDataset.
     IGeoDataset execute(String expression)
              Produces a GeoDataset by executing an expression.
     void unbindRaster(String symbolName)
              Unbind a symbol.
     

    Method Detail

    bindRaster

    void bindRaster(IGeoDataset geoDataset,
                    String symbol)
                    throws IOException,
                           AutomationException
    Binds a symbol to a GeoDataset.

    Remarks

    geoDataset

    an input Raster, RasterDataset, RasterBand, or RasterDescriptor

    symbol

    a string name specifying the input geoDataset to be included in the execute expression

    Product Availability

    Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Spatial Analyst Extension.

    Supported Platforms

    Windows, Solaris, Linux

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

    execute

    IGeoDataset execute(String expression)
                        throws IOException,
                               AutomationException
    Produces a GeoDataset by executing an expression.

    Remarks

    expression

    a string statement specifying a map algebra equation.

    Symbol objects created from IMapAlgebra::BindRaster must be surrounded by "[ ]"
    Example. "[Ras01] + [Ras02]"

    Product Availability

    Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Spatial Analyst Extension.

    Supported Platforms

    Windows, Solaris, Linux

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

    unbindRaster

    void unbindRaster(String symbolName)
                      throws IOException,
                             AutomationException
    Unbind a symbol.

    Remarks

    symbolName

    a string specifying the name of the raster symbol object created from IMapALgebra::BindRaster

    Product Availability

    Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Spatial Analyst Extension.

    Supported Platforms

    Windows, Solaris, Linux

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