geotrellis/geotrellis — pull request #565 by ejc123 (2013-09-20 14:09:42+00:00)
Title: Need to handle count == 0 case.

Throwing an exception if we have a polygon with no data in the raster (cell count == 0). This is handled the same way that Histogram handles Mean.