Hi,
me and Daniele were wondering how to add a hint to the ecw reader allowing
the user to control wheter the JAI subsystem should be used during reads
(enabling tiling caching and whatnot) or wheter to use a direct, non
deffered, non cached read instead.

The idea is to add a USE_JAI_IMAGE_READ hint to Hints, type boolean, and
then allow for the following:
* allow the client code (say, GeoServer) to use Hints.putSystemDefault to
specify an application wide preference
* allow client to to provide the same hint during image reader creation,
for a reader specific setting

The reader would check if a hint was provided in the constructor,
otherwise it will fall back on the system hint, and if that one is not
defined either, assume a default behaviour.

We are wondering if this follows the "best practices" on how to use hints
in GeoTools.

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to