Hi, last year I did the imagemosic-jdbc plugin. From my experience, the 
interpolation is not the problem, or it is a  problem of cpu power. The 
space saved on disk is perhaps another argument, but not really, because its 
only 1/4 of the base level. 

The problem arise in main memory, because you need at least 4 times more 
memory as a basis for interpolation. I had calls of the garbage collector 
during interpolation slowing down performance. 

My tip, do not skip a pyramid level. 

christian 

 

Saul Farber writes: 

> 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
 


------------------------------------------------------------------------------
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