Martin Desruisseaux a écrit :
> Note for Cédric: please try to add the following line in 
> ScaledCoverage2D and CroppedCoverage2D (package 
> org.geotools.coverage.processing.operation) just before a call to 
> processor.createNS("Scale", ...) or processor.createNS("Translate", 
> ...) method (or JAI.create(...)):
>
>     hints.put(JAI.KEY_REPLACE_INDEX_COLOR_MODEL, Boolean.FALSE);
>
> and tell us if it is of any help.
>
>     Martin.
Hello,

I've added this line in the two java classes specified for testing, and 
it works. I can modify the bbox parameter for my WMS request in 
Geoserver, the error concerning the number of sample dimensions is no 
longer thrown.
Thanks for Martin to provide this adding to the code, even if it is a 
temporary solution, it allows me to get what I needed for the moment.

For the question from Simone concerning a test case, my netCDF file 
weights several tens of MO, and is composed of 59 depths, but for the 
moment we only display in WMS one depth chosen (the first one in our 
case). We will try to select a piece of information from this file to 
provide a test case on it.

Cheers,
Cédric B.



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to