cl-geos

2018-07-11

A CFFI wrapper of GEOS for performing geometric operations in Lisp.

Upstream URL

github.com/daewok/cl-geos

Author

Eric Timmons <etimmons@mit.edu>

License

Lisp-LGPL
README

CL-GEOS

CL-GEOS is a Common Lisp library for performing geometric operations. It allows you to create geometric objects (points, lines, rings, polygons, etc.) and easily query for intersections, area, centroid, and so on. Most of the heavy lifting is done by the excellent GEOS library.

Most of the GEOS API for I/O, predicates, and topology are implemented, however this library is still in beta. Every effort will be made to preserve the external API when bumping up to version 1.0.

Prerequisites

Requires the GEOS library. On Debian based systems, this can be accomplished by running:

apt-get install libgeos-dev

Gotchas

The geos package exports INTERSECTION and UNION which are two functions defined by CL. You'll want to shadow import these if you want the GEOS versions instead of the CL ones.

Dependencies (5)

  • cffi
  • fiveam
  • trivial-garbage
  • uiop
  • xarray

Dependents (0)

    • GitHub
    • Quicklisp