Gabriel,

I think level zero (the "base" level of a raster) is i ==0

Level one (the "next up" level of a raster) is sometimes skipped because
it's only 1/4 the size, and on-the-fly interpolation of the interesting
area can be faster than the space saved by the level-one pyramid area.

I could be wrong though!

--saul

Gabriel Roldan wrote:
> Hey Saul,
>
> I'm having a bit of trouble understanding the usage of ArcSDEPyramid, may be 
> you can bring some light :)
>
> I'm pretty sure I've come to an exception in ArcSDEPyramid constructor last 
> week with a raster dataset for which skipLevelOne was set to false.
>
> My question is regarding the following snippet in the constructor:
>
> for (int i = 0; i < numLevels; i++) {
>                 if (i == 1 && rasterAttributes.skipLevelOne()) {
>                     continue;
>                 }
> ..........
>
> shouldn't it be like this:
> if (i == 0 && rasterAttributes.skipLevelOne()) 
>
> Cheers
>   

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to