Changes between Version 3 and Version 4 of rfc40_enhanced_rat_support
- Timestamp:
- May 15, 2013, 4:16:35 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
rfc40_enhanced_rat_support
v3 v4 21 21 }}} 22 22 23 It is also proposed that Boolean data is supported using the GByte type, so the following function would be added.24 25 {{{26 CPLErr ValuesIO(GDALRWFlag eRWFlag, int iField, int iStartRow, int iLength, GByte *pbData);27 void SetValue(int iRow, int iField, GByte bValue)28 GByte GetValueAsBoolean (int iRow, int iField) const29 }}}30 31 23 It is expected that the application will allocate the required space for reading in the same way as with the RasterIO() call. 32 24 33 25 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 26 35 These methods will be available from C as GDALRATValuesIOAsDouble, GDALRATValuesIOAsInteger , GDALRATValuesIOAsBooleanand GDALRATValuesIOAsString.27 These methods will be available from C as GDALRATValuesIOAsDouble, GDALRATValuesIOAsInteger and GDALRATValuesIOAsString. 36 28 37 29 This is also an opportunity to remove unused functions on the attribute table such as GetRowMin(), GetRowMax() and GetColorOfValue().