How to persist a geodata transformation on a raster dataset


Persisting a geodata transformation on a raster dataset

GeodataXform can be stored as part of a raster dataset and applied to transform pixels in the dataset on the fly when accessing the raster dataset. To add a GeodataXform on a raster dataset, use the following code:
 
[Java]
static void addGeodataXformToRasterDataset(IRasterDataset rasterDataset,
    IGeodataXform xform)throws Exception{
    IGeoDatasetSchemaEdit2 datasetSchemaEdit = new IGeoDatasetSchemaEdit2Proxy
        (rasterDataset);
    datasetSchemaEdit.alterGeodataXform(xform);
}






Development licensing Deployment licensing
ArcView ArcView
ArcEditor ArcEditor
ArcInfo ArcInfo
Engine Developer Kit Engine Runtime