Ciao Ian,
another option is to use the zonal stats operation or even better the process.
The operation is part of the coverage module:
https://github.com/geotools/geotools/blob/12.x/modules/library/coverage/src/main/java/org/geotools/coverage/processing/operation/ZonalStats.java
https://github.co
http://stackoverflow.com/q/27761590/439194 - asks how to "filter" a grid
coverage. I've had a go at answering it but my method (using a histogram)
feels clunky, but I can't think of a better way to do it.
Any of you coverage guys want to chip in? My only other thought was to
produce a new operatio