MapofLife/fossa — pull request #32 by robinkraft (2012-11-22 04:38:16+00:00)
Title: Reorganized tuple aggregation by latlon to be more general

The original implementation of the defbufferop to create INSERT and UPDATE statements used hardcoded field positions and indices when parsing tuples. This made it a bit painful - and error prone - to change the order of fields or add new ones (e.g. season). This pull request makes field handling consistent and more general in core.clj. Various helper functions in utils.clj (which has been slightly reorganized) were also added.

Documentation has been updated and rounded out throughout.