The WKB and AGF formats are differ in only a
few significant details:
WKB defines a byte order of the data in every
piece of geometry. This is stored as a byte field, which as a result
might change the memory alignment from word to byte. In AGF, only
one memory alignment type is supported, which is the same alignment
type as used by the .NET framework and Windows (encoded using the
little-endian byte order format). As a result, this byte flag does
not need to be stored.
WKB is defined as a 2D format only. This
is insufficient to represent 3D points, polylines and polygons.
In AGF, the dimension flag has been added. In particular, a flag
is included for each geometry piece to indicate whether the geometry
is 2D, 3D, or even 4D (storing a measure value as used by dynamic
segmentation.
In AGF, geometry types are included that
are not yet covered by any WKB specification.