cl-ewkb

API Reference

cl-ewkb

cl-ewkb is a geospatial library, based on cl-wkb, that implements the OGC Well-Known Binary geographic geometry data model with PostGIS 3d, 4d extensions, and provides WKB and EWKB encoding and decoding functionality. cl-wkb author is J.P. Larocue.

CL-EWKB

  • Function POINT-PRIMITIVE-X (structure)
  • Function (setf POINT-PRIMITIVE-X) (value structure)
  • Function POINT-PRIMITIVE-Y (structure)
  • Function (setf POINT-PRIMITIVE-Y) (value structure)
  • Function POINT-PRIMITIVE-P (x)
  • Function MAKE-POINT-PRIMITIVE (x y)
  • Function POINTZ-PRIMITIVE-Z (structure)
  • Function (setf POINTZ-PRIMITIVE-Z) (value structure)
  • Function POINTZ-PRIMITIVE-P (x)
  • Function MAKE-POINTZ-PRIMITIVE (x y z)
  • Function POINTM-PRIMITIVE-M (structure)
  • Function (setf POINTM-PRIMITIVE-M) (value structure)
  • Function POINTM-PRIMITIVE-P (x)
  • Function MAKE-POINTM-PRIMITIVE (x y m)
  • Function POINTZM-PRIMITIVE-M (structure)
  • Function (setf POINTZM-PRIMITIVE-M) (value structure)
  • Function POINTZM-PRIMITIVE-P (x)
  • Function MAKE-POINTZM-PRIMITIVE (x y z m)
  • Function LINEAR-RING-POINTS-PRIMITIVE (structure)
  • Function (setf LINEAR-RING-POINTS-PRIMITIVE) (value structure)
  • Function LINEAR-RING-P (x)
  • Function MAKE-LINEAR-RING (points-primitive)
  • Function GEOMETRY-TYPE (structure)
  • Function (setf GEOMETRY-TYPE) (value structure)
  • Function GEOMETRY-SRID (structure)
  • Function (setf GEOMETRY-SRID) (value structure)
  • Function GEOMETRY-P (x)
  • Function POINT-POINT-PRIMITIVE (structure)
  • Function (setf POINT-POINT-PRIMITIVE) (value structure)
  • Function POINT-P (x)
  • Function MAKE-POINT (type srid point-primitive)
  • Function LINE-STRING-POINTS-PRIMITIVE (structure)
  • Function (setf LINE-STRING-POINTS-PRIMITIVE) (value structure)
  • Function LINE-STRING-P (x)
  • Function MAKE-LINE-STRING (type srid points-primitive)
  • Function POLYGON-LINEAR-RINGS (structure)
  • Function (setf POLYGON-LINEAR-RINGS) (value structure)
  • Function POLYGON-P (x)
  • Function MAKE-POLYGON (type srid linear-rings)
  • Function MULTI-POINT-POINTS (structure)
  • Function (setf MULTI-POINT-POINTS) (value structure)
  • Function MULTI-POINT-P (x)
  • Function MAKE-MULTI-POINT (type srid points)
  • Function MULTI-LINE-STRING-LINE-STRINGS (structure)
  • Function (setf MULTI-LINE-STRING-LINE-STRINGS) (value structure)
  • Function MULTI-LINE-STRING-P (x)
  • Function MAKE-MULTI-LINE-STRING (type srid line-strings)
  • Function MULTI-POLYGON-POLYGONS (structure)
  • Function (setf MULTI-POLYGON-POLYGONS) (value structure)
  • Function MULTI-POLYGON-P (x)
  • Function MAKE-MULTI-POLYGON (type srid polygons)
  • Function GEOMETRY-COLLECTION-GEOMETRIES (structure)
  • Function (setf GEOMETRY-COLLECTION-GEOMETRIES) (value structure)
  • Function GEOMETRY-COLLECTION-P (x)
  • Function MAKE-GEOMETRY-COLLECTION (type srid geometries)
  • Function DECODE-FROM (in)
    Function to decode geoobject from WKB/EWKB representation from stream.
  • Function DECODE (octets)
    Function to decode geoobject from WKB/EWKB representation from sequence.
  • Function ENCODE-TO (object stream &optional (endianness :little-endian))
    Function to encode geoobject to WKB/EWKB representation to binary stream. Endianness: :little-endian, :big-endian
  • Function ENCODE (object &optional (endianness :little-endian))
    Function to encode geoobject to WKB/EWKB representation to sequence. Endianness: :little-endian, :big-endian

CL-WKB

  • Type IEEE754-DOUBLE
  • Class POINT-PRIMITIVE
    X   Reader: X
    Y   Reader: Y
    Z   Reader: Z
    M   Reader: M
  • Class LINEAR-RING
    POINTS-PRIMITIVE   Accessor: POINTS-PRIMITIVE
  • Class GEOMETRY
    GEOMTYPE   Accessor: GEOMTYPE
    SRID   Accessor: SRID
  • Class POINT  (GEOMETRY)
    POINT-PRIMITIVE   Reader: POINT-PRIMITIVE
  • Method X ((point point))
  • Method Y ((point point))
  • Method Z ((point point))
  • Method M ((point point))
  • Class LINE-STRING  (GEOMETRY)
    POINTS-PRIMITIVE   Accessor: POINTS-PRIMITIVE
  • Class POLYGON  (GEOMETRY)
    LINEAR-RINGS   Accessor: LINEAR-RINGS
  • Class MULTI-POINT  (GEOMETRY)
    POINTS   Accessor: POINTS
  • Class MULTI-LINE-STRING  (GEOMETRY)
    LINE-STRINGS   Accessor: LINE-STRINGS
  • Class MULTI-POLYGON  (GEOMETRY)
    POLYGONS   Accessor: POLYGONS
  • Class GEOMETRY-COLLECTION  (GEOMETRY)
    GEOMETRIES   Accessor: GEOMETRIES
  • Function DECODE-FROM (in)
    Function to decode geoobject from WKB/EWKB representation from stream.
  • Function DECODE (octets)
    Function to decode geoobject from WKB/EWKB representation from sequence.
  • Function ENCODE-TO (object stream &optional (endianness :little-endian))
    Function to encode geoobject to WKB/EWKB representation to binary stream. Endianness: :little-endian, :big-endian
  • Function ENCODE (object &optional (endianness :little-endian))
    Function to encode geoobject to WKB/EWKB representation to sequence. Endianness: :little-endian, :big-endian