Changes between Version 29 and Version 30 of WKTRasterDriver


Ignore:
Timestamp:
Jul 8, 2009, 10:58:24 AM (15 years ago)
Author:
jorgearevalo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • WKTRasterDriver

    v29 v30  
    8585== Implementing the RasterBand ==
    8686
    87 With the Dataset, we will be able to access the table (or tables) that form the WKT Raster object, and to know with 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:
     87With 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:
    8888  * Constructor. In this method, the object gets important info, like the band number thar represents, the data type (data size) and the block size.
    8989  * 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.