Re: [gdal-dev] Call for discussion on RFC 50: OGR field subtypes

2014-11-20 Thread Pepijn Van Eeckhoudt
Hi Even, For geopackage specifically, enumerations and ranges for primitive values can be encoded in gpkg_data_columns. These may or may not be enforced by check constraints, so it’s informative information. The idea is to make it easy for code to extract that meta information rather than havin

Re: [gdal-dev] Call for discussion on RFC 50: OGR field subtypes

2014-11-20 Thread Even Rouault
Hi Dmitriy, > And what about string list field subtype? > I.e. I need restricted String field to accept only predefined strings > from the list? That could potentially be modeled with a OFSTEnumeration subtype, and an extra member variable of OGRFieldDefn with the list of accepted strings. A sim

Re: [gdal-dev] gdal_calc.py and NoData issues

2014-11-20 Thread Graeme B. Bell
Andreas, >it turns out that all pixel values with 255 are now nodata values ;-( Is >there an option so that my 255 values are not turned into nodata? I >tested with the --NoDataValue option (e.g. 99 - which I don't use in the >image), but it seems to be ignored. For me it is important that blac