Changes between Version 1 and Version 2 of rfc45_virtualmem
- Timestamp:
- Dec 17, 2013, 12:21:02 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
rfc45_virtualmem
v1 v2 68 68 * GDALDatasetGetVirtualMem() : takes almost the same arguments as GDALDatasetRasterIO(), with the notable exception of a pData buffer. It returns a CPLVirtualMem* object, from which the base address of the virtual memory mapping can be obtained with CPLVirtualMemGetAddr(). 69 69 70 [[Image(rfc_2d_array.png)]] 71 70 72 * GDALRasterBandGetVirtualMem(): equivalent of GDALDatasetGetVirtualMem() that operates on a raster band object rather than a dataset object. 71 73 72 74 * GDALDatasetGetTiledVirtualMem(): this is a rather original API. Instead of presenting a 2D view of the image data (i.e. organized rows by rows), the mapping exposes it as an array of tiles, which is more suitable, performance wise, when the dataset is itself tiled. 73 75 74 [ INSERT SCHEMA HERE ] 75 76 When they are several bands, 3 different organizations of band components are possible. To the best of our knowledge, there is no standard way of calling those organizations, which consequently will be best illustrated by the folowing schemas : 77 78 [ INSERT SCHEMAS HERE ] 76 [[Image(rfc_tiled.png)]] 77 78 When they are several bands, 3 different organizations of band components are possible. To the best of our knowledge, there is no standard way of calling those organizations, which consequently will be best illustrated by the following schemas : 79 80 - TIP / Tile Interleaved by Pixel : [[Image(rfc_TIP.png)]] 81 - BIT / Band Interleaved by Tile : [[Image(rfc_BIT.png)]] 82 - BSQ / Band SeQuential organization : [[Image(rfc_BSQ.png)]] 79 83 80 84 * GDALRasterBandGetTiledVirtualMem(): equivalent of GDALDatasetGetTiledVirtualMem() that operates on a raster band object rather than a dataset object. … … 875 879 On a Linux AMD64 machine with 4 GB RAM, the Python binding of 876 880 GDALDatasetGetTiledVirtualMem() has been successfully used to access random points 877 on the new [http://www.eea.europa.eu/data-and-maps/data/eu-dem/ Europe 3'' DEM dataset],881 on the new [http://www.eea.europa.eu/data-and-maps/data/eu-dem/#tab-original-data Europe 3'' DEM dataset], 878 882 which is a 20 GB compressed GeoTIFF ( and 288000 * 180000 * 4 = 193 GB uncompressed ) 879 883