Changes between Version 2 and Version 3 of rfc40_enhanced_rat_support
- Timestamp:
- May 6, 2013, 2:20:14 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
rfc40_enhanced_rat_support
v2 v3 5 5 6 6 7 Raster Attrbute Tables from some applications (notably segmentation) can be very large and are slow to access with the current API due to the way only one element can get read or written at a time. Also, when an attribute table is requested by the application the whole table must be read - there is no way of delaying this so just the required subset is read off disk. These changes these limitations at proposedwill bring the attribute table support more in line with the way raster data is accessed.7 Raster Attrbute Tables from some applications (notably segmentation) can be very large and are slow to access with the current API due to the way only one element can get read or written at a time. Also, when an attribute table is requested by the application the whole table must be read - there is no way of delaying this so just the required subset is read off disk. These changes will bring the attribute table support more in line with the way raster data is accessed. 8 8 9 9 … … 31 31 It is expected that the application will allocate the required space for reading in the same way as with the RasterIO() call. 32 32 33 The char** type will be used for reading and writing strings. When reading strings, it is expected that the array is created of the correct size and ValuesIO will just create the individual strings for each row. The application should use CSLDestroy when finished to deallocate all the memory.33 The char** type will be used for reading and writing strings. When reading strings, it is expected that the array is created of the correct size and ValuesIO will just create the individual strings for each row. The application should call CPLFree on each of the strings before de-allocating the array. 34 34 35 35 These methods will be available from C as GDALRATValuesIOAsDouble, GDALRATValuesIOAsInteger, GDALRATValuesIOAsBoolean and GDALRATValuesIOAsString.