Converts a raster between two coordinate systems on region bases.
[Visual Basic .NET] Public Function ProjectFast ( _ ByVal GeoDataset As IGeoDataset, _ ByVal newSpatialReference As ISpatialReference, _ ByVal resampleType As esriGeoAnalysisResampleEnum, _ [ByRef CellSize As Object] _ ) As IGeoDataset
[C#] public IGeoDataset ProjectFast ( IGeoDataset GeoDataset, ISpatialReference newSpatialReference, esriGeoAnalysisResampleEnum resampleType, ref object CellSize );
Optional Values
[C++]
HRESULT ProjectFast(
IGeoDataset* GeoDataset,
ISpatialReference* newSpatialReference,
esriGeoAnalysisResampleEnum resampleType,
VARIANT* CellSize,
IGeoDataset** outGeoDataset
);
[C++]Parameters
GeoDataset [in]GeoDataset is a parameter of type IGeoDataset
newSpatialReference [in]newSpatialReference is a parameter of type ISpatialReference
resampleType [in]resampleType is a parameter of type esriGeoAnalysisResampleEnum
CellSize [optional] CellSize is a parameter of type VARIANTTo indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.
outGeoDataset [out, retval]outGeoDataset is a parameter of type IGeoDataset
Product Availability
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. |