opengeospatial / ogcapi-connected-systems

Public Repository for the Connected Systems SWG
Other
7 stars 6 forks source link

Special values as Count component value #17

Closed alexrobin closed 1 year ago

alexrobin commented 1 year ago

Should we allow special values described in #16 as Count component values?

alexrobin commented 1 year ago

SWG Decision: NO

Reason: Allowing special values as the Count value itself would make it harder for implementations to store the count value on integer data types.

However, special values are already allowed in intervals used to constrain Count values (so that unbounded intervals can be used).

The recommendation is to define NIL values that fit on an integer, e.g. -1, or 999. The other alternative is to use a Quantity component whenever NaN or infinite values are really needed.