Draft Geometry Format

Current (Evolving) Spec

Each chunk consists of a token (2 bytes), a length (2 bytes) and data (any length).
For data chunks, length is the number of bytes contained in the data.
For chunks which contain other chunks, length is the number of contained sub-chunks.
Strings data chunks include the terminating 0 byte.

Header: identifying 4 bytes "SOGF"

Hierarchy of chunks
optional chunks shown in italics
chunks are listed as NAME, type (length), contents