azavea/geotrellis — pull request #182 by non (2012-09-07 20:07:56+00:00)
Title: Improve color handling/allocation.

This commit touches a lot of pieces of the PNG/color rendering process. The
big idea is to try to avoid the situation where we have a mismatch between the
colors requested by a user and the number of classes to be colored.

There are also some changes which are intended to make book-keeping a little
bit simpler. I had wanted to add some demos/examples of the various ways to
"style" a raster but those will have to wait.