geoserver/geoserver — pull request #616 by gberaudo (2014-06-12 15:24:14+00:00)
Title: Return empty BIL image on non intersecting box

Hi,

When requesting a box which does not intersect with the coverage, an exception is currently thrown.
This small patch creates an empty buffered image and have it outputted, which is consistent with the behaviour of other image formats.

Part of the getFinalCoverage method was moved without modification to a new getDestinationEnvelope method.