Data Types

March 20, 2025 ยท View on GitHub

The following table shows the data types that are used by Vecorel SDL.

Vecorel SDL data typeDescription
booleana value with only two possible states, e.g. true/false, on/off, or yes/no
int8integer number without decimal places
minimum value: -128
maximum value: 127
uint8integer number without decimal places
minimum value: 0
maximum value: 255
int16integer number without decimal places
minimum value: -32768
maximum value: 32767
uint16integer number without decimal places
minimum value: 0
maximum value: 65535
int32integer number without decimal places
minimum value: -2147483648
maximum value: 2147483647
uint32integer number without decimal places
minimum value: 0
maximum value: 4294967295
int64integer number without decimal places
minimum value: -9223372036854775808
maximum value: 9223372036854775807
uint64integer number without decimal places
minimum value: 0
maximum value: 18446744073709551615
float
IEEE 32-bit
floating-point number
minimum value: ?
maximum value: ?
double
IEEE 64-bit
floating-point number
minimum value: ?
maximum value: ?
binarybinary data, e.g. an image
string
charset: UTF-8
texts
arraya list of values
object
keys: string
values: any
key-value-pairs - the keys are always textual and must be known upfront.
datea date consisting of year, month and day, e.g. 2022-07-25
date-time
with milliseconds
timezone: UTC
a date (year, month, date) and time (hour, minute, second and optionally milliseconds) in the UTC timezone
geometryA spatial geometry, e.g. a point, line or polygon.
bounding-box
x and y only, no z
A two-dimensional spatial bounding box