FDO API Reference Feature Data Objects

__property System::Void IRasterImp::set_DataModel NAMESPACE_OSGEO_FDO_RASTER::RasterDataModel *  dataModel  ) 
 

Sets the data model used by this raster property. Allowed values are only those data models that are acceptable to the SupportsDataModel capability. This attribute specifies the colour/palette model, bits per pixel, tiling and interleaving. For example, if the bits per pixel of the data model is 8 and it is set to 24, a conversion would be performed when image data is requested, to return 24 bit data. If an update command is executed to save this value, the raster data would be transformed and saved. The next time this image is retrieved by the client the bits per pixel value would indicate 24.

Parameters:
dataModel The dataModel to be used.

Comments or suggestions? Send us feedback.