Class FunctionRasterDatasetClass

Namespace
ESRI.ArcGIS.DatasourcesRaster
Assembly
ESRI.Server.DatasourcesRaster.dll
[ClassInterface(ClassInterfaceType.None)]
[Guid("D0CC7770-AA1A-4FE3-BD82-1D8BB7B3781F")]
public class FunctionRasterDatasetClass : FunctionRasterDataset, IFunctionRasterDataset2, IFunctionRasterDataset, IMultidimensionalRasterDataset, IRasterDataset3, IRasterDataset2, IRasterDataset, IDataset, IGeoDataset2, IGeoDataset, IRasterBandCollection, IItemPaths, INativeTypeInfo, IMetadata, IMetadataEdit, ITemporaryDataset, IRasterDatasetContainer, IPersistStream, IPersist
Inheritance
FunctionRasterDatasetClass
Implements
Inherited Members

Constructors

FunctionRasterDatasetClass()

public FunctionRasterDatasetClass()

Explicit Interface Implementations

Add(IRasterBand, int)

Adds a RasterBand to the band collection.

virtual void Add(IRasterBand Element, int Index)

Parameters

Element IRasterBand
Index int

Remarks

This method is only applicable to work with a Raster, not with a RasterDataset.

AlterDefinition()

Saves any changes made to this dataset.

virtual void AlterDefinition()

AppendBand(IRasterBand)

Appends a RasterBand to the band collection.

virtual void AppendBand(IRasterBand Element)

Parameters

Element IRasterBand

Remarks

This method is only applicable to work with a Raster, not with a RasterDataset.

AppendBands(IRasterBandCollection)

Appends a collection of RasterBands to the band collection.

virtual void AppendBands(IRasterBandCollection Bands)

Parameters

Bands IRasterBandCollection

Remarks

This method is only applicable to work with a Raster, not with a RasterDataset.

Arguments

The raster function arguments.

virtual object Arguments { get; set; }

Returns

object

BandByName[string]

A RasterBand given its name.

virtual IRasterBand BandByName[string Name] { get; }

Parameters

Name string

Returns

IRasterBand

BandIndex[string]

The index of a RasterBand given its name.

virtual int BandIndex[string Name] { get; }

Parameters

Name string

Returns

int

Bands

All the bands in the collection as an interface to the RasterBands enumerator object.

virtual IEnumRasterBand Bands { get; }

Returns

IEnumRasterBand

BasicOpenFromFile(string)

Opens the dataset from file.

virtual void BasicOpenFromFile(string Path)

Parameters

Path string

BlockHeight

The native block height.

virtual int BlockHeight { get; }

Returns

int

BlockWidth

The native block width.

virtual int BlockWidth { get; }

Returns

int

BrowseName

The browse name of the dataset.

virtual string BrowseName { get; set; }

Returns

string

Remarks

BrowseName returns file names without their extension. For example, States.shp would appear as States.

CanCopy()

Returns true if this dataset can be copied.

virtual bool CanCopy()

Returns

bool

CanDelete()

True if this dataset can be deleted.

virtual bool CanDelete()

Returns

bool

Remarks

The CanCopy, CanDelete, and CanRename properties are meant to be used in conjunction with the Copy, Delete, and Rename methods and signify whether a dataset is supported by these methods.  For example, you may not delete a network feature class nor can you use the Copy method on a Geodatabase feature class.  To copy Geodatabase datasets, including feature classes, geometric networks, topologies, etc., use the IGeoDBDataTransfer interface.

CanEditMetadata

Indicates if metadata can be edited.

virtual bool CanEditMetadata { get; }

Returns

bool

Remarks

This property is available to those objects that support metadata.

CanRename()

True if this dataset can be renamed.

virtual bool CanRename()

Returns

bool

Remarks

The CanCopy, CanDelete, and CanRename properties are meant to be used in conjunction with the Copy, Delete, and Rename methods and signify whether a dataset is supported by these methods.  For example, you may not delete or rename a network feature class nor can you use the Copy method on a Geodatabase feature class.  To copy Geodatabase datasets, including feature classes, geometric networks, topologies, etc., use the IGeoDBDataTransfer interface.

CanWrite

Indicates if this RasterDataset is writable.

virtual bool CanWrite { get; }

Returns

bool

Category

The category of the dataset.

virtual string Category { get; }

Returns

string

Remarks

IDataset::Category returns a description of the category of the dataset.  The description returned from the Category property is the same value that is displayed in the Type column within the Contents tab in ArcCatalog.  The value will contain a description of the dataset such as "Topology" prefixed with a description of the type of workspace containing the dataset such as "File Geodatabase".

The description returned from IDataset::Category may change between releases of ArcGIS. In addition to this, returned strings are localized, meaning that code relying on a specific string being provided may fail when deployed with a different version of ArcGIS than it was developed with, or when deployed to a client using a different language than it was developed with.

Clear()

Removes all the elements in the collection.

virtual void Clear()

Remarks

This method is only applicable to work with a Raster, not with a RasterDataset.

ClearCache()

Clear the cache.

virtual void ClearCache()

CompleteName

The full path of the RasterDataset.

virtual string CompleteName { get; }

Returns

string

CompressionType

The compression technique applied to this RasterDataset.

virtual string CompressionType { get; }

Returns

string

ComputeFootprint(int)

Computes the footprint.

virtual IGeometry ComputeFootprint(int MaximumVertices)

Parameters

MaximumVertices int

Returns

IGeometry

ComputeFootprintAndCenter(int, out IGeometry, out IGeometry)

Computes the footprint and center.

virtual void ComputeFootprintAndCenter(int MaximumVertices, out IGeometry ppFootprint, out IGeometry ppCenter)

Parameters

MaximumVertices int
ppFootprint IGeometry
ppCenter IGeometry

Copy(string, IWorkspace)

Copies this dataset to a new dataset with the specified name.

virtual IDataset Copy(string copyName, IWorkspace copyWorkspace)

Parameters

copyName string
copyWorkspace IWorkspace

Returns

IDataset

Count

The number of bands in the collection.

virtual int Count { get; }

Returns

int

CreateDefaultRaster()

Creates a raster object with the default properties for this dataset.

virtual IRaster CreateDefaultRaster()

Returns

IRaster

Remarks

The CreateDefaultRaster method creates a Raster that has a square cell size and contains only three raster bands if the dataset has more than three bands. The three bands are the default bands used in raster RGB renderer and are determined by the settings for default raster behavior made on the RasterDefaultsEnv object in esriCarto library.

CreateFullRaster()

Creates a raster containing all bands in this raster dataset.

virtual IRaster CreateFullRaster()

Returns

IRaster

CreateRaster()

Creates an empty raster.

virtual IRaster CreateRaster()

Returns

IRaster

Remarks

An empty raster means that properties of the Raster are not defined. The width, height, and the number of bands of the raster are all 0. It can not be used before populating pixels to it.

CreateRasters()

Creates a collection of rasters from a multidimensional raster dataset.

virtual IArray CreateRasters()

Returns

IArray

Delete()

Deletes this dataset.

virtual void Delete()

Remarks

Certain feature classes, such as network and topology feature classes, cannot be deleted until their containing objects are deleted.

Extent

The extent of the GeoDataset.

virtual IEnvelope Extent { get; }

Returns

IEnvelope

Remarks

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.

The red box represents the IGeoDataset extent

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.

The red box represents the IGeoDataset extent after some of the features have been deleted

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.

The red box represents the IGeoDataset extent after it has been updated

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.

 

FindMemberFunctionsArgumentsByCLSID(UID, ref IArray)

Finds raster function arguments in this dataset that match the given function arguments CLSID.

virtual void FindMemberFunctionsArgumentsByCLSID(UID functionArgumentsCLSID, ref IArray ppMatchingFunctionArguments)

Parameters

functionArgumentsCLSID UID
ppMatchingFunctionArguments IArray

FindMemberFunctionsByCLSID(UID)

Finds raster functions in this dataset that match the given function CLSID.

virtual IArray FindMemberFunctionsByCLSID(UID rasterFunctionCLSID)

Parameters

rasterFunctionCLSID UID

Returns

IArray

FindMemberFunctionsByName(string)

Finds raster functions in this dataset that match the given function name.

virtual IArray FindMemberFunctionsByName(string rasterFunctionName)

Parameters

rasterFunctionName string

Returns

IArray

FirstPyramidLevel

The first available pyramid level.

virtual int FirstPyramidLevel { get; }

Returns

int

Format

The format of this RasterRataset.

virtual string Format { get; }

Returns

string

FullName

The name of this function raster dataset.

virtual IName FullName { set; }

Returns

IName

Function

The raster function.

virtual IRasterFunction Function { get; set; }

Returns

IRasterFunction

GeodataXform

The geodata transformation of the GeoDataset.

virtual IGeodataXform GeodataXform { get; }

Returns

IGeodataXform

GetClassID(out Guid)

virtual void GetClassID(out Guid pClassID)

Parameters

pClassID Guid

GetFiles(IGeometry, ref IStringArray)

Gets source files within a given clipping geometry.

virtual void GetFiles(IGeometry pGeometry, ref IStringArray ppFiles)

Parameters

pGeometry IGeometry
ppFiles IStringArray

GetPaths()

Returns all paths associated with the object.

virtual IStringArray GetPaths()

Returns

IStringArray

GetSizeMax(out _ULARGE_INTEGER)

virtual void GetSizeMax(out _ULARGE_INTEGER pcbSize)

Parameters

pcbSize _ULARGE_INTEGER

GetSubRasterDatasetByID(int)

The given subdataset by id.

virtual IRasterDataset GetSubRasterDatasetByID(int SubdatasetID)

Parameters

SubdatasetID int

Returns

IRasterDataset

GetSubRasterDatasetByName(string)

The given subdataset by name.

virtual IRasterDataset GetSubRasterDatasetByName(string SubdatasetName)

Parameters

SubdatasetName string

Returns

IRasterDataset

GetSubRasterDatasetCompleteName(int)

The given subdataset's complete name.

virtual string GetSubRasterDatasetCompleteName(int SubdatasetID)

Parameters

SubdatasetID int

Returns

string

GetSubRasterDatasetCount()

The number of subdatasets.

virtual int GetSubRasterDatasetCount()

Returns

int

GetSubRasterDatasetFullName(int)

The given subdataset's full name.

virtual IName GetSubRasterDatasetFullName(int SubdatasetID)

Parameters

SubdatasetID int

Returns

IName

GetSubRasterDatasetName(int)

The given subdataset's name.

virtual string GetSubRasterDatasetName(int SubdatasetID)

Parameters

SubdatasetID int

Returns

string

IDataset_CanCopy()

True if this dataset can be copied.

virtual bool IDataset_CanCopy()

Returns

bool

Remarks

The CanCopy, CanDelete, and CanRename properties are meant to be used in conjunction with the Copy, Delete, and Rename methods and signify whether a dataset is supported by these methods.  For example, you may not delete a network feature class nor can you use the Copy method on a Geodatabase feature class.  To copy Geodatabase datasets, including feature classes, geometric networks, topologies, etc., use the IGeoDBDataTransfer interface.

The CanCopy method is supported by:

  • CAD Drawings
  • Coverages
  • DBase Tables
  • Info Tables
  • Raster Datasets
  • SDC datasets
  • SDC Network Datasets
  • Shapefiles
  • Shapefile Network Datasets

IDataset_Copy(string, IWorkspace)

Copies this dataset to a new dataset with the specified name.

virtual IDataset IDataset_Copy(string copyName, IWorkspace copyWorkspace)

Parameters

copyName string
copyWorkspace IWorkspace

Returns

IDataset

Remarks

IDataset::Copy should only be used with datasets from file-based data sources, such as shapefiles and coverages.

IDataset_FullName

The associated name object.

virtual IName IDataset_FullName { get; }

Returns

IName

Remarks

The FullName property returns a Name object for the dataset. The Name object can be persisted and provides a way to get back to the dataset in a future session of the application, via the Open method on the Name object.

IFunctionRasterDataset2_AlterDefinition()

virtual void IFunctionRasterDataset2_AlterDefinition()

IFunctionRasterDataset2_Arguments

virtual object IFunctionRasterDataset2_Arguments { get; set; }

Returns

object

IFunctionRasterDataset2_FindMemberFunctionsArgumentsByCLSID(UID, ref IArray)

virtual void IFunctionRasterDataset2_FindMemberFunctionsArgumentsByCLSID(UID functionArgumentsCLSID, ref IArray ppMatchingFunctionArguments)

Parameters

functionArgumentsCLSID UID
ppMatchingFunctionArguments IArray

IFunctionRasterDataset2_FindMemberFunctionsByCLSID(UID)

virtual IArray IFunctionRasterDataset2_FindMemberFunctionsByCLSID(UID rasterFunctionCLSID)

Parameters

rasterFunctionCLSID UID

Returns

IArray

IFunctionRasterDataset2_FindMemberFunctionsByName(string)

virtual IArray IFunctionRasterDataset2_FindMemberFunctionsByName(string rasterFunctionName)

Parameters

rasterFunctionName string

Returns

IArray

IFunctionRasterDataset2_FullName

virtual IName IFunctionRasterDataset2_FullName { set; }

Returns

IName

IFunctionRasterDataset2_Function

virtual IRasterFunction IFunctionRasterDataset2_Function { get; set; }

Returns

IRasterFunction

IFunctionRasterDataset2_Init(IRasterFunction, object)

virtual void IFunctionRasterDataset2_Init(IRasterFunction pFunction, object pArguments)

Parameters

pFunction IRasterFunction
pArguments object

IFunctionRasterDataset2_MemberDatasetNames

virtual IArray IFunctionRasterDataset2_MemberDatasetNames { get; }

Returns

IArray

IFunctionRasterDataset2_MemberRasterDatasets

virtual IArray IFunctionRasterDataset2_MemberRasterDatasets { get; }

Returns

IArray

IFunctionRasterDataset2_Properties

virtual IPropertySet IFunctionRasterDataset2_Properties { get; set; }

Returns

IPropertySet

IFunctionRasterDataset2_RasterInfo

virtual IRasterInfo IFunctionRasterDataset2_RasterInfo { get; }

Returns

IRasterInfo

IFunctionRasterDataset2_Simplify()

virtual void IFunctionRasterDataset2_Simplify()

IGeoDataset2_Extent

virtual IEnvelope IGeoDataset2_Extent { get; }

Returns

IEnvelope

IGeoDataset2_SpatialReference

virtual ISpatialReference IGeoDataset2_SpatialReference { get; }

Returns

ISpatialReference

IPersistStream_GetClassID(out Guid)

virtual void IPersistStream_GetClassID(out Guid pClassID)

Parameters

pClassID Guid

IRasterDataset2_BasicOpenFromFile(string)

virtual void IRasterDataset2_BasicOpenFromFile(string Path)

Parameters

Path string

IRasterDataset2_CanCopy()

virtual bool IRasterDataset2_CanCopy()

Returns

bool

IRasterDataset2_CompleteName

virtual string IRasterDataset2_CompleteName { get; }

Returns

string

IRasterDataset2_CompressionType

virtual string IRasterDataset2_CompressionType { get; }

Returns

string

IRasterDataset2_Copy(string, IWorkspace)

virtual IDataset IRasterDataset2_Copy(string copyName, IWorkspace copyWorkspace)

Parameters

copyName string
copyWorkspace IWorkspace

Returns

IDataset

IRasterDataset2_CreateDefaultRaster()

virtual IRaster IRasterDataset2_CreateDefaultRaster()

Returns

IRaster

IRasterDataset2_Format

virtual string IRasterDataset2_Format { get; }

Returns

string

IRasterDataset2_OpenFromFile(string)

virtual void IRasterDataset2_OpenFromFile(string Path)

Parameters

Path string

IRasterDataset2_PrecalculateStats(object)

virtual void IRasterDataset2_PrecalculateStats(object index_list)

Parameters

index_list object

IRasterDataset2_SensorType

virtual string IRasterDataset2_SensorType { get; }

Returns

string

IRasterDataset3_BasicOpenFromFile(string)

virtual void IRasterDataset3_BasicOpenFromFile(string Path)

Parameters

Path string

IRasterDataset3_CanCopy()

virtual bool IRasterDataset3_CanCopy()

Returns

bool

IRasterDataset3_CompleteName

virtual string IRasterDataset3_CompleteName { get; }

Returns

string

IRasterDataset3_CompressionType

virtual string IRasterDataset3_CompressionType { get; }

Returns

string

IRasterDataset3_Copy(string, IWorkspace)

virtual IDataset IRasterDataset3_Copy(string copyName, IWorkspace copyWorkspace)

Parameters

copyName string
copyWorkspace IWorkspace

Returns

IDataset

IRasterDataset3_CreateDefaultRaster()

virtual IRaster IRasterDataset3_CreateDefaultRaster()

Returns

IRaster

IRasterDataset3_CreateFullRaster()

virtual IRaster IRasterDataset3_CreateFullRaster()

Returns

IRaster

IRasterDataset3_CreateRaster()

virtual IRaster IRasterDataset3_CreateRaster()

Returns

IRaster

IRasterDataset3_Format

virtual string IRasterDataset3_Format { get; }

Returns

string

IRasterDataset3_IsEmpty

virtual bool IRasterDataset3_IsEmpty { get; }

Returns

bool

IRasterDataset3_OpenFromFile(string)

virtual void IRasterDataset3_OpenFromFile(string Path)

Parameters

Path string

IRasterDataset3_PrecalculateStats(object)

virtual void IRasterDataset3_PrecalculateStats(object index_list)

Parameters

index_list object

IRasterDataset3_SensorType

virtual string IRasterDataset3_SensorType { get; }

Returns

string

Init(IRasterFunction, object)

Initializes this function raster dataset.

virtual void Init(IRasterFunction pFunction, object pArguments)

Parameters

pFunction IRasterFunction
pArguments object

IsCacheStale

Indicates if the raster cache is stale and needs to be refreshed.

virtual bool IsCacheStale { get; }

Returns

bool

IsDirty()

virtual void IsDirty()

IsDynamic

Indicates the collection is dynamic.

virtual bool IsDynamic { get; }

Returns

bool

IsEmpty

Indicates whether the raster dataset is empty.

virtual bool IsEmpty { get; }

Returns

bool

Remarks

An empty raster means that properties of the Raster are not defined. The width, height, and the number of bands of the raster are all 0. It can not be used before populating pixels to it.

Co-create a Raster and IRasterDataset2::CreateRaster create an empty raster.

 

IRasterBandCollection::AppendBands or AppendBand allows you to populate this raster.

 

IsTemporary()

Indicates if the dataset is temporary.

virtual bool IsTemporary()

Returns

bool

Item(int)

Returns a RasterBand given its index.

virtual IRasterBand Item(int BandIndex)

Parameters

BandIndex int

Returns

IRasterBand

LODInfos

The custom LOD infos.

virtual IRasterLODInfos LODInfos { get; }

Returns

IRasterLODInfos

Load(IStream)

virtual void Load(IStream pstm)

Parameters

pstm IStream

MakePermanent()

Persists this temporary dataset permanent.

virtual void MakePermanent()

MakePermanentAs(string, IWorkspace, string)

Persists this temporary dataset to a new permanent dataset.

virtual IDataset MakePermanentAs(string new_name, IWorkspace Workspace, string Format)

Parameters

new_name string
Workspace IWorkspace
Format string

Returns

IDataset

MaximumPyramidLevel

The maximum available pyramid level.

virtual int MaximumPyramidLevel { get; }

Returns

int

MemberDatasetNames

The constituent datasets names referenced by this function raster dataset.

virtual IArray MemberDatasetNames { get; }

Returns

IArray

MemberRasterDatasets

The constituent raster datasets in this function raster dataset.

virtual IArray MemberRasterDatasets { get; }

Returns

IArray

Metadata

The PropertySet containing metadata.

virtual IPropertySet Metadata { get; set; }

Returns

IPropertySet

Remarks

The variable to hold the data must be of IPropertySet data type.

The metadata property is frequently used to save, or update, changes to metadata documents that have taken place through methods available on the IPropertySet, IXmlPropertySet, and/or IXmlPropertySet2 interfaces.

Name

The name of the Dataset.

virtual string Name { get; }

Returns

string

NativeExtent

The native extent of the GeoDataset (before transformation applied).

virtual IEnvelope NativeExtent { get; }

Returns

IEnvelope

NativeSpatialReference

The native spatial reference of the GeoDataset (before transformation applied).

virtual ISpatialReference NativeSpatialReference { get; }

Returns

ISpatialReference

NativeType

The native type.

virtual INativeType NativeType { get; }

Returns

INativeType

OpenFromFile(string)

Attaches dataset to a particular file.

virtual void OpenFromFile(string Path)

Parameters

Path string

PrecalculateStats(object)

Calculates statistics and histograms for specified bands.

virtual void PrecalculateStats(object index_list)

Parameters

index_list object

Properties

The function raster dataset proprties.

virtual IPropertySet Properties { get; set; }

Returns

IPropertySet

PropertySet

The set of properties for the dataset.

virtual IPropertySet PropertySet { get; }

Returns

IPropertySet

Remarks

Examples of intrinsic properties for which explicit methods exist include the SpatialReference and the Extent methods available on the IGeoDataset interface. In most cases this PropertySet will be empty.

IDataset::PropertySet is not supported for Graph objects such as a Geometric Network.

RasterInfo

The raster information.

virtual IRasterInfo RasterInfo { get; }

Returns

IRasterInfo

Read(IPnt, IRaster, IPixelBlock)

Reads a block of pixels starting from the top left corner.

virtual void Read(IPnt tlc, IRaster Raster, IPixelBlock PixelBlock)

Parameters

tlc IPnt
Raster IRaster
PixelBlock IPixelBlock

ReadPyramid(IPnt, int, IRaster, IPixelBlock)

Reads a block of pixels at a given pyramid level.

virtual void ReadPyramid(IPnt tlc, int PyramidLevel, IRaster Raster, IPixelBlock PixelBlock)

Parameters

tlc IPnt
PyramidLevel int
Raster IRaster
PixelBlock IPixelBlock

Refresh()

Refreshes opened RasterDataset.

virtual void Refresh()

RefreshCache()

Refresh raster cache.

virtual void RefreshCache()

Remove(int)

Removes an element from the collection.

virtual void Remove(int Index)

Parameters

Index int

Remarks

This method is only applicable to work with a Raster, not with a RasterDataset.

Rename(string)

Renames this Dataset.

virtual void Rename(string Name)

Parameters

Name string

Remarks

IDataset::Rename does not support the renaming of Graph objects such as a Geometric Network.  In addition, certain feature classes, such as network feature classes, cannot be renamed.

ReplacePaths(IStringArray, IStringArray)

Updates all paths associated with the object using the specified mapping rule. The number of values in the two arrays must be the same.

virtual void ReplacePaths(IStringArray pOldPaths, IStringArray pNewPaths)

Parameters

pOldPaths IStringArray
pNewPaths IStringArray

Save(IStream, int)

virtual void Save(IStream pstm, int fClearDirty)

Parameters

pstm IStream
fClearDirty int

SaveAs(string, IWorkspace, string)

Creates a new persistent RasterDataset with the bands in the collection.

virtual IDataset SaveAs(string new_name, IWorkspace worksp, string Format)

Parameters

new_name string
worksp IWorkspace
Format string

Returns

IDataset

Remarks

The SaveAs method can create a raster dataset in Imagine, TIFF, GRID, JPEG2000, JPEG, BMP, GIF, PNG, PCI Raster, USGS ASCII DEM, X11 Pixmap, Memory Raster and geodatabase raster.

The format strings used for the supported formats are below, and they are case sensitive:

Format Name String Used
Imagine "IMAGINE Image"
TIFF "TIFF"
GRID "GRID"
JPEG "JPG"
JP2000 "JP2"
BMP "BMP"
PNG "PNG"
GIF "GIF"
PCI Raster "PIX"
X11 Pixmap "XPM"
PCRaster "MAP"
Memory Raster "MEM"
HDF4 "HDF4"
BIL "BIL"
BIP "BIP"
BSQ "BSQ"
Idrisi Raster Format "RST"
ENVI Raster Format "ENVI"
Geodatabase Raster "GDB"
 

The format string "TIFF" creates a TIFF file with ".tif" extension. ArcGIS also supports TIFF format with ".tiff" and ".tff" extensions. A format string "TIF" creates a  TIFF file with ".tiff" extention and a format string "TFF" creates a TIFF file with ".tff" extension.

 

 

Note, SaveAs will return a RasterDataset, to prevent from SaveAs holding the output, .NET ReleaseCOMObject needs to be called to release the referene to the output raster dataset:

    System.Runtime.InteropServices.Marshal.ReleaseComObject(outRasterDS);

SensorType

The sensor type used for this RasterDataset.

virtual string SensorType { get; }

Returns

string

Simplify()

Simplifies the function raster dataset by removing redundant raster functions.

virtual void Simplify()

SpatialReference

The spatial reference of the GeoDataset.

virtual ISpatialReference SpatialReference { get; }

Returns

ISpatialReference

Remarks

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.

Subsets

Datasets contained within this dataset.

virtual IEnumDataset Subsets { get; }

Returns

IEnumDataset

Remarks

IDataset::Subsets is not supported for Graph objects such as a Geometric Network.  To return the feature classes contained in a Geometric Network, use the IFeatureClassContainer interface.

Synchronize()

Synchronizes changes.

virtual void Synchronize()

Synchronize(esriMetadataSyncAction, int)

Updates metadata with the current properties; may create metadata if it doesn't already exist.

virtual void Synchronize(esriMetadataSyncAction action, int interval)

Parameters

action esriMetadataSyncAction
interval int

Remarks

The following actions will result in synchronization given each of the listed conditions:

Action Metadata status Esri/Sync element Interval parameter
esriMSAAccessed Doesn't matter Must not be FALSE Must be less than actual interval
esriMSAAlways Doesn't matter Doesn't matter Doesn't matter
esriMSACreated Must not exist Must not be FALSE Must be less than actual interval
esriMSANotCreated Must exist Must not be FALSE Must be less than actual interval
esriMSAOverwrite Doesn't matter Doesn't matter Doesn't matter

The difference between esriMSAAlways and esriMSAOverwrite lies in which elements are synchronized. esriMSAAlways will honor the removal or value change of an element's Sync attribute (to disable synchronization), whereas using esriMSAOverwrite is equivalent to setting the IXmlPropertySet2.OverwriteSyncAttribute to true for the metadata's property set, meaning that even elements without a Sync attribute of TRUE will be synchronized.

Type

The type of the Dataset.

virtual esriDatasetType Type { get; }

Returns

esriDatasetType

Remarks

The Type property returns the an esriDatasetType value indicating the dataset type, such as esriDTTable or esriDTFeatureClass.

Workspace

The workspace containing this dataset.

virtual IWorkspace Workspace { get; }

Returns

IWorkspace

Remarks

<p>A Workspace is a container of spatial and non-spatial datasets such as feature classes, raster datasets, and tables. It provides methods to instantiate existing datasets and to create new datasets. Workspaces are classified into types specified by the <b><a href="esriWorkspaceType.htm">esriWorkspaceType</a></b> enumerator: FileSystemWorkspace, LocalDatabaseWorkspace, and RemoteDatabaseWorkspace. Shapefiles and ArcGIS for Desktop Advanced workspaces are examples of FileSystemWorkspace. A personal geodatabase stored in an Access or a File Geodatabase is an example of a LocalDatabaseWorkspace. A geodatabase stored in an RDBMS such as Oracle, DB2, SQL Server, or Informix and accessed via ArcSDE is an example of a RemoteDatabaseWorkspace.</p> <p>A Workspace hands out a <b><a href="WorkspaceName.htm">WorkspaceName</a> </b>object as the value of its FullName property. For example, the WorkspaceName for a workspace can be persisted in a map document. An application can call the <b>Open()</b> method on the workspace name after loading it from persistent storage to connect to and get an object reference to the workspace.</p>

Write(IPnt, IRaster, esriRasterWriteMode, IPixelBlock)

Writes a block of pixels starting from the top left corner.

virtual void Write(IPnt tlc, IRaster Raster, esriRasterWriteMode mode, IPixelBlock PixelBlock)

Parameters

tlc IPnt
Raster IRaster
mode esriRasterWriteMode
PixelBlock IPixelBlock