Changes between Version 29 and Version 30 of WKTRasterDriver
- Timestamp:
- Jul 8, 2009, 10:58:24 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
WKTRasterDriver
v29 v30 85 85 == Implementing the RasterBand == 86 86 87 With the Dataset, we will be able to access the table (or tables) that form the WKT Raster object, and to know w ith which type of raster are we dealing with. But we need to read the information of this raster. This is, to read the Raster Bands. There are two important methods to implement:87 With the Dataset, we will be able to access the table (or tables) that form the WKT Raster object, and to know which type of raster are we dealing with. But we need to read the information of this raster. This is, to read the Raster Bands. There are two important methods to implement: 88 88 * Constructor. In this method, the object gets important info, like the band number thar represents, the data type (data size) and the block size. 89 89 * IReadBlock: This method is the one that really needs the WKT Raster data (the image or tile data). This method take as input the offset over the data (in tiled images, this offset is an index to move over the data pointed by the data field in the Dataset) and a buffer to store the block (tile) read.