Common Lisp Package: CL-WKB

README:

FUNCTION

Public

DECODE (OCTETS)

Function to decode geoobject from WKB/EWKB representation from sequence.

DECODE-FROM (IN)

Function to decode geoobject from WKB/EWKB representation from stream.

ENCODE (OBJECT &OPTIONAL (ENDIANNESS LITTLE-ENDIAN))

Function to encode geoobject to WKB/EWKB representation to sequence. Endianness: :little-endian, :big-endian

ENCODE-TO (OBJECT STREAM &OPTIONAL (ENDIANNESS LITTLE-ENDIAN))

Function to encode geoobject to WKB/EWKB representation to binary stream. Endianness: :little-endian, :big-endian

Private

Undocumented

DECODE-IEEE754-DOUBLE (OCTETS ENDIANNESS)

DECODE-IEEE754-DOUBLE-FROM (ENDIANNESS-509 STREAM-510)

DECODE-LINEAR-RING (IN TYPE ENDIANNESS)

DECODE-PRIMITIVE-POINT (IN TYPE ENDIANNESS)

DECODE-UINT32 (OCTETS-153 ENDIANNESS-154)

DECODE-UINT32-FROM (ENDIANNESS-213 STREAM-214)

DECODE-UINT64 (OCTETS-340 ENDIANNESS-341)

DECODE-UINT64-FROM (ENDIANNESS-448 STREAM-449)

DECODE-UINT8 (OCTETS-49 ENDIANNESS-50)

DECODE-UINT8-FROM (ENDIANNESS-73 STREAM-74)

DIMENSION (TYPE)

ENCODE-IEEE754-DOUBLE (FLOAT ENDIANNESS)

ENCODE-IEEE754-DOUBLE-TO (VALUE-488 ENDIANNESS-489 STREAM-491)

ENCODE-LINEAR-RING (OBJECT OUT TYPE ENDIANNESS)

ENCODE-PRIMITIVE-POINT (OBJECT OUT TYPE ENDIANNESS)

ENCODE-UINT32 (INT-82 ENDIANNESS-83)

ENCODE-UINT32-TO (VALUE-142 ENDIANNESS-143 STREAM-145)

ENCODE-UINT64 (INT-222 ENDIANNESS-223)

ENCODE-UINT64-TO (VALUE-329 ENDIANNESS-330 STREAM-332)

ENCODE-UINT8 (INT-14 ENDIANNESS-15)

ENCODE-UINT8-TO (VALUE-38 ENDIANNESS-39 STREAM-41)

MACRO

Private

Undocumented

DEFINE-STREAM-DECODER (NAME SEQ-FUNCTION DATA-SIZE-OCTETS)

DEFINE-STREAM-ENCODER (NAME SEQ-FUNCTION)

GENERIC-FUNCTION

Private

GENERIC-DECODE-PRIMITIVE-POINT (TYPE IN ENDIANNESS)

Generic decode function for primitive point

GENERIC-ENCODE-PRIMITIVE-POINT (TYPE OBJECT OUT ENDIANNESS)

Generic decode function for primitive point

SLOT-ACCESSOR

Public

Undocumented

GEOMETRIES (OBJECT)

SETFGEOMETRIES (NEW-VALUE OBJECT)

LINE-STRINGS (OBJECT)

SETFLINE-STRINGS (NEW-VALUE OBJECT)

LINEAR-RINGS (OBJECT)

SETFLINEAR-RINGS (NEW-VALUE OBJECT)

M (OBJECT)

POINT-PRIMITIVE (OBJECT)

POINTS (OBJECT)

SETFPOINTS (NEW-VALUE OBJECT)

POINTS-PRIMITIVE (OBJECT)

SETFPOINTS-PRIMITIVE (NEW-VALUE OBJECT)

POLYGONS (OBJECT)

SETFPOLYGONS (NEW-VALUE OBJECT)

X (OBJECT)

Y (OBJECT)

Z (OBJECT)

Private

Undocumented

GEOMTYPE (OBJECT)

SETFGEOMTYPE (NEW-VALUE OBJECT)

SRID (OBJECT)

SETFSRID (NEW-VALUE OBJECT)

VARIABLE

Private

Undocumented

+ENDIANNESSES+

+WKB-M+

+WKB-SRID+

+WKB-TYPEMASK+

+WKB-TYPES+

+WKB-Z+

CLASS

Public

Undocumented

GEOMETRY

GEOMETRY-COLLECTION

LINE-STRING

LINEAR-RING

MULTI-LINE-STRING

MULTI-POINT

MULTI-POLYGON

POINT

POINT-PRIMITIVE (OBJECT)

POLYGON