Changes between Version 3 and Version 4 of rfc40_enhanced_rat_support


Ignore:
Timestamp:
May 15, 2013, 4:16:35 PM (11 years ago)
Author:
Sam Gillingham
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • rfc40_enhanced_rat_support

    v3 v4  
    2121}}}
    2222
    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) const
    29 }}}
    30 
    3123It is expected that the application will allocate the required space for reading in the same way as with the RasterIO() call.
    3224
    3325The 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.
    3426
    35 These methods will be available from C as GDALRATValuesIOAsDouble, GDALRATValuesIOAsInteger, GDALRATValuesIOAsBoolean and GDALRATValuesIOAsString.
     27These methods will be available from C as GDALRATValuesIOAsDouble, GDALRATValuesIOAsInteger and GDALRATValuesIOAsString.
    3628
    3729This is also an opportunity to remove unused functions on the attribute table such as GetRowMin(), GetRowMax() and GetColorOfValue().