com.esri.arcgis.geoanalyst
Interface ITransformationOp

All Superinterfaces:
Serializable
All Known Implementing Classes:
RasterTransformationOp

public interface ITransformationOp
extends Serializable

Provides access to members that control the transformation 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.


    Method Summary
     IGeoDataset clip(IGeoDataset geoDataset, IEnvelope rectangle)
              Subsets a raster using a rectangle.
     IGeoDataset flip(IGeoDataset geoDataset)
              Flips a raster along the horizontal axis.
     IGeoDataset mirror(IGeoDataset geoDataset)
              Mirrors a raster along the vertical axis.
     IGeoDataset mosaic(IRasterBandCollection collectionOfRasters, int mosaicType)
              Creates one raster from two or more adjacent rasters and makes a smooth transition over the overlapping areas of the neighboring rasters.
     IGeoDataset projectFast(IGeoDataset geoDataset, ISpatialReference newSpatialReference, int resampleType, Object cellSize)
              Converts a raster between two coordinate systems on region bases.
     IGeoDataset resample(IGeoDataset geoDataset, double newCellsize, int resampleType)
              Resamples raster to a new cell size.
     IGeoDataset reScale(IGeoDataset inData, double xScale, double yScale)
              Scales the coordinates of a raster.
     IGeoDataset rotate(IGeoDataset geoDataset, int resampleType, double angle, Object origin)
              Rotates a raster around a point by a specified angle.
     IGeoDataset shift(IGeoDataset geoDataset, double xShift, double yShift, Object pSnapRasterData)
              Shifts the coordinates of a raster.
     IGeoDataset warp(IGeoDataset geoDataset, IPointCollection sourceControlPoints, IPointCollection targetControlPoints, int transformType, int resampleType)
              Transforms a raster along a set of links using a polynomial transformation.
     

    Method Detail

    flip

    IGeoDataset flip(IGeoDataset geoDataset)
                     throws IOException,
                            AutomationException
    Flips a raster along the horizontal axis.

    Remarks

    GeoDataset

    an input Raster, RasterDataset, RasterBand, or RasterDescriptor to make a Flip copy of(along the horizontal axis).

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (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.

    mirror

    IGeoDataset mirror(IGeoDataset geoDataset)
                       throws IOException,
                              AutomationException
    Mirrors a raster along the vertical axis.

    Remarks

    GeoDataset

    an input Raster, RasterDataset, RasterBand, or RasterDescriptor to make a mirror copy of (along the verticle axis).

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (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.

    shift

    IGeoDataset shift(IGeoDataset geoDataset,
                      double xShift,
                      double yShift,
                      Object pSnapRasterData)
                      throws IOException,
                             AutomationException
    Shifts the coordinates of a raster.

    Remarks

    GeoDataSet

    an input Raster, RasterDataset, RasterBand, or RasterDescriptor

    xShift

    The value to shift the x coordinates by.

    yShift

    The value to shift the y coordinates by.

    pSnapRasterData

    The input raster to snap cell alignment to

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    xShift - The xShift (in)
    yShift - The yShift (in)
    pSnapRasterData - A Variant (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.

    reScale

    IGeoDataset reScale(IGeoDataset inData,
                        double xScale,
                        double yScale)
                        throws IOException,
                               AutomationException
    Scales the coordinates of a raster.

    Remarks

    inData

    an input Raster, RasterDataset, RasterBand, or RasterDescriptor

    xScale

    Factor to scale the cell size in the x direction by.
    The factor must be greater than 0.

    yScale

    Factor to scale the cell size in the y direction by.
    The factor must be greater than 0.

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    inData - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    xScale - The xScale (in)
    yScale - The yScale (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.

    rotate

    IGeoDataset rotate(IGeoDataset geoDataset,
                       int resampleType,
                       double angle,
                       Object origin)
                       throws IOException,
                              AutomationException
    Rotates a raster around a point by a specified angle.

    Remarks

    GeoDataset

    an input Raster, RasterDataset, RasterBand, or RasterDescriptor

    resampleType

    an esriGeoAnalysisResampleEnum specifing the resampling algorithm to be used when sampling a Raster

    can be of type:

    esriGeoAnalysisResampleBilinear - bilinear interpolation. This is Default.

    esriGeoAnalysisResampleCubic - cubic convolution.

    esriGeoAnalysisResampleNearest - nearest neighbor assignment.

    angle

    The angle in degrees to rotate the raster. This can be any floating-point number.

    [origin]

    The pivot point to rotate the raster around.

    The default is the lower left corner of input GeoDataset

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    resampleType - A com.esri.arcgis.geoanalyst.esriGeoAnalysisResampleEnum constant (in)
    angle - The angle (in)
    origin - A Variant (in, optional, pass null if not required)
    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.

    clip

    IGeoDataset clip(IGeoDataset geoDataset,
                     IEnvelope rectangle)
                     throws IOException,
                            AutomationException
    Subsets a raster using a rectangle.

    Remarks

    GeoDataset

    an input Raster, RasterDataset, RasterBand, or RasterDescriptor

    Rectangle

    an IEnvelope identifying the lower-left and upper-right coordinates of the rectangle defining the area to be subset from the input GeoDatabase

    The coordinates are specified in map units and are in the same units as the GeoDataset.

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    rectangle - A reference to a com.esri.arcgis.geometry.IEnvelope (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.

    resample

    IGeoDataset resample(IGeoDataset geoDataset,
                         double newCellsize,
                         int resampleType)
                         throws IOException,
                                AutomationException
    Resamples raster to a new cell size.

    Remarks

    GeoDataSet

    an input Raster, RasterDataset, RasterBand, or RasterDescriptor

    newCellsize

    The cell size the output raster will be created at.

    This will be the value in the Environment if it is explicitly set. Otherwise, it is the shortest of the width or the height of the extent of in_point_features, in the input spatial reference, divided by 250.

    resampleType

    an esriGeoAnalysisResampleEnum specifing the resampling algorithm to be used when sampling a Raster

    can be of type:

    esriGeoAnalysisResampleBilinear - bilinear interpolation. This is Default.

    esriGeoAnalysisResampleCubic - cubic convolution.

    esriGeoAnalysisResampleNearest - nearest neighbor assignment.

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    newCellsize - The newCellsize (in)
    resampleType - A com.esri.arcgis.geoanalyst.esriGeoAnalysisResampleEnum constant (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.

    warp

    IGeoDataset warp(IGeoDataset geoDataset,
                     IPointCollection sourceControlPoints,
                     IPointCollection targetControlPoints,
                     int transformType,
                     int resampleType)
                     throws IOException,
                            AutomationException
    Transforms a raster along a set of links using a polynomial transformation.

    Remarks

    GeoDataset

    an input Raster, RasterDataset, RasterBand, or RasterDescriptor

    sourceControlPoints

    The source points are the "from" coordinates of the links.

    targetControlPoints

    The target points are the "to" coordinates of the links.

    transformType

    an esriGeoTransTypeEnum specifying the geometric transformation type.

    There are three types, specifying the order of the polynomial. Higher order values will fit a more complex surface.

    esriGeoTransPolyOrder1 - A first order polynomial fits a flat plane to the input points. This is default.

    esriGeoTransPolyOrder2 - Transformation is a second order polynomial

    esriGeoTransPolyOrder3 - Transformation is a third order polynomial.

    resampleType

    an esriGeoAnalysisResampleEnum specifing the resampling algorithm to be used when sampling a Raster

    can be of type:

    esriGeoAnalysisResampleBilinear - bilinear interpolation. This is Default.

    esriGeoAnalysisResampleCubic - cubic convolution.

    esriGeoAnalysisResampleNearest - nearest neighbor assignment.

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    sourceControlPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)
    targetControlPoints - A reference to a com.esri.arcgis.geometry.IPointCollection (in)
    transformType - A com.esri.arcgis.datasourcesraster.esriGeoTransTypeEnum constant (in)
    resampleType - A com.esri.arcgis.geoanalyst.esriGeoAnalysisResampleEnum constant (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.

    projectFast

    IGeoDataset projectFast(IGeoDataset geoDataset,
                            ISpatialReference newSpatialReference,
                            int resampleType,
                            Object cellSize)
                            throws IOException,
                                   AutomationException
    Converts a raster between two coordinate systems on region bases.

    Remarks

    GeoDataset

    an input Raster, RasterDataset, RasterBand, or RasterDescriptor

    newSpatialReference

    references an object supporting ISpatialReference interface that specifies the output spatial reference.

    resampleType

    an esriGeoAnalysisResampleEnum specifing the resampling algorithm to be used when sampling a Raster

    can be of type:

    esriGeoAnalysisResampleBilinear - bilinear interpolation. This is Default.

    esriGeoAnalysisResampleCubic - cubic convolution.

    esriGeoAnalysisResampleNearest - nearest neighbor assignment.

    [cellSize]

    ouput cellsize. The default is the current environment setting.

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    geoDataset - A reference to a com.esri.arcgis.geodatabase.IGeoDataset (in)
    newSpatialReference - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
    resampleType - A com.esri.arcgis.geoanalyst.esriGeoAnalysisResampleEnum constant (in)
    cellSize - A Variant (in, optional, pass null if not required)
    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.

    mosaic

    IGeoDataset mosaic(IRasterBandCollection collectionOfRasters,
                       int mosaicType)
                       throws IOException,
                              AutomationException
    Creates one raster from two or more adjacent rasters and makes a smooth transition over the overlapping areas of the neighboring rasters.

    Remarks

    collectionOfRasters

    input collection of Raster objects that support IRasterBandCollection interface

    MosaicType

    an enumeration type constant which specifies the method used to mosaic overlapping areas.

    can be of type:

    MT_FIRST - The output value will be determined by the order the inputs are entered, with the first raster specified as the top. This is the default.

    MT_BLEND - The output value will be a blend of values of the overlapped cells.

    MT_MEAN - The output value will be the mean value of the overlapped cells.

    MT_MIN - The output value will be the minimum value of the overlapped cells.

    MT_MAX - The output value will be the maximum value of the overlapped cells.

    Product Availability

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

    Supported Platforms

    Windows, Solaris, Linux

    Parameters:
    collectionOfRasters - A reference to a com.esri.arcgis.datasourcesraster.IRasterBandCollection (in)
    mosaicType - A com.esri.arcgis.datasourcesraster.rstMosaicOperatorType constant (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.