/cl-gdal

Primary LanguageCommon LispOtherNOASSERTION

This package provides minimal set of CFFI-based Common Lisp bindings to the GDAL/OGR library.

This was forked from vityok/cl-gdal. It's a snapshot of what I use for the canadarasp.com backend. I added some more functionality around geo-transforms and some wrappers for somewhat ease of use.

It works with GDAL version 3 (as does the original minus the user facing change that some grid types are now lat/lon ordered not lon/lat ordered, see kludge workarounds in geo-transform for now)

Install:

git clone https://github.com/ajberkley/cl-gdal.git
# add repo to your local asdf source registry
echo "(:tree \"~/cl-gdal\")" > ~/.config/common-lisp/source-registry.conf.d/10-cl-gdal.conf
;; Start up slime
(quicklisp:quickload :cffi)
(quicklisp:quickload :trivial-garbage)

(require 'cl-gdal-local)
(use-package :cl-gdal)
(use-package :cl-ogr)