Already defined in schema.
noData: NoData values represent missing data (also known as sentinel values). If omitted, property values are considered to be present for all features — with the exception of variable-lengthARRAYelements, which may be left empty without a NoData value.
Details and questions:
- for
ENUM, shouldnoDatabe {always, never, sometimes} part of the enum set?- Opinion: I'd consider it best practice to include an "UNSPECIFIED" value for enums used in APIs and public data, per https://google.aip.dev/126. So I would advise that it should be at least valid for the
noDatavalue to appear in the enum; whether this should be required I'm not sure.
- Opinion: I'd consider it best practice to include an "UNSPECIFIED" value for enums used in APIs and public data, per https://google.aip.dev/126. So I would advise that it should be at least valid for the
- for
STRINGwould you explicitly list""as anoDatavalue?- Opinion: Empty string should be considered a value like any other, unless specified in
noData.
- Opinion: Empty string should be considered a value like any other, unless specified in
- for
FLOAT32andFLOAT64, do we allowNaN? IEEE-754 supports it. Is it implicitly anoDatavalue, if so?- Opinion: I'm not sure whether
NaNshould be allowed. If it is allowed, I think it should be implicitly considerednoData, because it can't be serialized as JSON.
- Opinion: I'm not sure whether
- for
BOOL,noDatais disallowed?- Opinion: Probably better to disallow it than to complicate boolean storage for this case... recommend use of enum (
UNSPECIFIED|TRUE|FALSE) whennoDatais required.
- Opinion: Probably better to disallow it than to complicate boolean storage for this case... recommend use of enum (
- can a variable-length array have NoData values?
- Opinion: When order is important, I suppose
[1, 2, 3, _, 4]might be meaningful... what about a single-element[ _ ]array, whose only element is anoDatavalue? This seems "bad" but I'm not sure whether prohibiting it is (a) providing useful consistency to the format, or (b) overzealous.
- Opinion: When order is important, I suppose
- can a fixed-length array have NoData values? or should it be variable-length instead?
VECN/MATNtypes?- Opinion: ???
schema.class.count defines number of features, where feature IDs start at 0. Feature ID storage may include values outside [0, count-1], which are to be interpreted as "not a feature".