Common Lisp Package: CL-EWKB

README:

FUNCTION

Public

COPY-GEOMETRY (SEQUENCE)

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

COPY-GEOMETRY-COLLECTION (SEQUENCE)

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

COPY-LINE-STRING (SEQUENCE)

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

COPY-LINEAR-RING (SEQUENCE)

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

COPY-MULTI-LINE-STRING (SEQUENCE)

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

COPY-MULTI-POINT (SEQUENCE)

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

COPY-MULTI-POLYGON (SEQUENCE)

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

COPY-POINT (SEQUENCE)

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

COPY-POINT-PRIMITIVE (SEQUENCE)

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

COPY-POINTM-PRIMITIVE (SEQUENCE)

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

COPY-POINTZ-PRIMITIVE (SEQUENCE)

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

COPY-POINTZM-PRIMITIVE (SEQUENCE)

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

COPY-POLYGON (SEQUENCE)

Return a copy of SEQUENCE which is EQUAL to SEQUENCE but not EQ.

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

Undocumented

GEOMETRY-COLLECTION-GEOMETRIES (STRUCTURE)

SETFGEOMETRY-COLLECTION-GEOMETRIES (NEW-VALUE STRUCTURE)

GEOMETRY-COLLECTION-P (G1752)

GEOMETRY-P (G1012)

GEOMETRY-SRID (STRUCTURE)

SETFGEOMETRY-SRID (NEW-VALUE STRUCTURE)

GEOMETRY-TYPE (STRUCTURE)

SETFGEOMETRY-TYPE (NEW-VALUE STRUCTURE)

LINE-STRING-P (G1202)

LINE-STRING-POINTS-PRIMITIVE (STRUCTURE)

SETFLINE-STRING-POINTS-PRIMITIVE (NEW-VALUE STRUCTURE)

LINEAR-RING-P (G963)

LINEAR-RING-POINTS-PRIMITIVE (STRUCTURE)

SETFLINEAR-RING-POINTS-PRIMITIVE (NEW-VALUE STRUCTURE)

MAKE-GEOMETRY-COLLECTION (TYPE SRID GEOMETRIES)

MAKE-LINE-STRING (TYPE SRID POINTS-PRIMITIVE)

MAKE-LINEAR-RING (POINTS-PRIMITIVE)

MAKE-MULTI-LINE-STRING (TYPE SRID LINE-STRINGS)

MAKE-MULTI-POINT (TYPE SRID POINTS)

MAKE-MULTI-POLYGON (TYPE SRID POLYGONS)

MAKE-POINT (TYPE SRID POINT-PRIMITIVE)

MAKE-POINT-PRIMITIVE (X Y)

MAKE-POINTM-PRIMITIVE (X Y M)

MAKE-POINTZ-PRIMITIVE (X Y Z)

MAKE-POINTZM-PRIMITIVE (X Y Z M)

MAKE-POLYGON (TYPE SRID LINEAR-RINGS)

MULTI-LINE-STRING-LINE-STRINGS (STRUCTURE)

SETFMULTI-LINE-STRING-LINE-STRINGS (NEW-VALUE STRUCTURE)

MULTI-LINE-STRING-P (G1532)

MULTI-POINT-P (G1422)

MULTI-POINT-POINTS (STRUCTURE)

SETFMULTI-POINT-POINTS (NEW-VALUE STRUCTURE)

MULTI-POLYGON-P (G1642)

MULTI-POLYGON-POLYGONS (STRUCTURE)

SETFMULTI-POLYGON-POLYGONS (NEW-VALUE STRUCTURE)

POINT-P (G1092)

POINT-POINT-PRIMITIVE (STRUCTURE)

SETFPOINT-POINT-PRIMITIVE (NEW-VALUE STRUCTURE)

POINT-PRIMITIVE-P (G591)

POINT-PRIMITIVE-X (STRUCTURE)

SETFPOINT-PRIMITIVE-X (NEW-VALUE STRUCTURE)

POINT-PRIMITIVE-Y (STRUCTURE)

SETFPOINT-PRIMITIVE-Y (NEW-VALUE STRUCTURE)

POINTM-PRIMITIVE-M (STRUCTURE)

SETFPOINTM-PRIMITIVE-M (NEW-VALUE STRUCTURE)

POINTM-PRIMITIVE-P (G751)

POINTZ-PRIMITIVE-P (G658)

POINTZ-PRIMITIVE-Z (STRUCTURE)

SETFPOINTZ-PRIMITIVE-Z (NEW-VALUE STRUCTURE)

POINTZM-PRIMITIVE-M (STRUCTURE)

SETFPOINTZM-PRIMITIVE-M (NEW-VALUE STRUCTURE)

POINTZM-PRIMITIVE-P (G844)

POLYGON-LINEAR-RINGS (STRUCTURE)

SETFPOLYGON-LINEAR-RINGS (NEW-VALUE STRUCTURE)

POLYGON-P (G1312)

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)

GEOMETRY-COLLECTION-SRID (STRUCTURE)

SETFGEOMETRY-COLLECTION-SRID (NEW-VALUE STRUCTURE)

GEOMETRY-COLLECTION-TYPE (STRUCTURE)

SETFGEOMETRY-COLLECTION-TYPE (NEW-VALUE STRUCTURE)

LINE-STRING-SRID (STRUCTURE)

SETFLINE-STRING-SRID (NEW-VALUE STRUCTURE)

LINE-STRING-TYPE (STRUCTURE)

SETFLINE-STRING-TYPE (NEW-VALUE STRUCTURE)

MAKE-GISGEOMETRY (TYPE SRID)

MULTI-LINE-STRING-SRID (STRUCTURE)

SETFMULTI-LINE-STRING-SRID (NEW-VALUE STRUCTURE)

MULTI-LINE-STRING-TYPE (STRUCTURE)

SETFMULTI-LINE-STRING-TYPE (NEW-VALUE STRUCTURE)

MULTI-POINT-SRID (STRUCTURE)

SETFMULTI-POINT-SRID (NEW-VALUE STRUCTURE)

MULTI-POINT-TYPE (STRUCTURE)

SETFMULTI-POINT-TYPE (NEW-VALUE STRUCTURE)

MULTI-POLYGON-SRID (STRUCTURE)

SETFMULTI-POLYGON-SRID (NEW-VALUE STRUCTURE)

MULTI-POLYGON-TYPE (STRUCTURE)

SETFMULTI-POLYGON-TYPE (NEW-VALUE STRUCTURE)

POINT-SRID (STRUCTURE)

SETFPOINT-SRID (NEW-VALUE STRUCTURE)

POINT-TYPE (STRUCTURE)

SETFPOINT-TYPE (NEW-VALUE STRUCTURE)

POINTM-PRIMITIVE-X (STRUCTURE)

SETFPOINTM-PRIMITIVE-X (NEW-VALUE STRUCTURE)

POINTM-PRIMITIVE-Y (STRUCTURE)

SETFPOINTM-PRIMITIVE-Y (NEW-VALUE STRUCTURE)

POINTZ-PRIMITIVE-X (STRUCTURE)

SETFPOINTZ-PRIMITIVE-X (NEW-VALUE STRUCTURE)

POINTZ-PRIMITIVE-Y (STRUCTURE)

SETFPOINTZ-PRIMITIVE-Y (NEW-VALUE STRUCTURE)

POINTZM-PRIMITIVE-X (STRUCTURE)

SETFPOINTZM-PRIMITIVE-X (NEW-VALUE STRUCTURE)

POINTZM-PRIMITIVE-Y (STRUCTURE)

SETFPOINTZM-PRIMITIVE-Y (NEW-VALUE STRUCTURE)

POINTZM-PRIMITIVE-Z (STRUCTURE)

SETFPOINTZM-PRIMITIVE-Z (NEW-VALUE STRUCTURE)

POLYGON-SRID (STRUCTURE)

SETFPOLYGON-SRID (NEW-VALUE STRUCTURE)

POLYGON-TYPE (STRUCTURE)

SETFPOLYGON-TYPE (NEW-VALUE STRUCTURE)

MACRO

Private

DEFSTRUCT-AND-EXPORT (STRUCTURE &REST MEMBERS)

Define a structure STRUCT with members MEMBERS and export the standard functions created. SPECIALS is a list of extra parameters eg ((:print-function pf)). Note double parentheses.

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

VARIABLE

Private

Undocumented

+ENDIANNESSES+

+WKB-M+

+WKB-SRID+

+WKB-TYPEMASK+

+WKB-TYPES+

+WKB-Z+