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
ArcGIS for Desktop Basic ArcGIS for Desktop Basic
ArcGIS for Desktop Standard ArcGIS for Desktop Standard
ArcGIS for Desktop Advanced ArcGIS for Desktop Advanced
Engine Developer Kit Engine