Re: [Geoserver-users] Poor quality of imageMosaic 1-bit rasters

2015-02-26 Thread Rahkonen Jukka (MML)
Hi, As far as I know external overviews which you created with “gdaladdo –ro” can’t be used with image mosaics. See for example https://www.mail-archive.com/geoserver-users@lists.sourceforge.net/msg20259.html . Issue seems to appear in the mailing lists about once per year. -Jukka Rahkonen-

Re: [Geoserver-users] Poor quality of imageMosaic 1-bit rasters

2015-02-26 Thread Daniele Romagnoli
Hi again, On Thu, Feb 26, 2015 at 10:16 AM, Łukasz Łagosz wrote: > Hi Daniele > > I made this test only on one raster in directory and for that raster made > overviews. > > I check properties file in that directory and as you write "heterogeneous" > flag was set on false. I changed it to "true" a

Re: [Geoserver-users] Poor quality of imageMosaic 1-bit rasters

2015-02-26 Thread Łukasz Łagosz
Hi Daniele I made this test only on one raster in directory and for that raster made overviews. I check properties file in that directory and as you write "heterogeneous" flag was set on false. I changed it to "true" and error gone. But quality still is poor :/ I didn't get an answer from Simone

Re: [Geoserver-users] Poor quality of imageMosaic 1-bit rasters

2015-02-26 Thread Daniele Romagnoli
Hi Lukasz, just providing a reply related to the IndexOutOfBoundsException. Did you create overviews for all TIFFs files or did you forgot to generate overviews/generated a different number for some of them? I'm asking this because it seems the mosaic is trying to load a missing sub-image (= imag

Re: [Geoserver-users] Poor quality of imageMosaic 1-bit rasters

2015-02-26 Thread Łukasz Łagosz
Hi One more thing about this overviews. I tried to do that today again with this command: gdaladdo -r average -ro lisow3.tif 2 4 8 16 32 64 and now in Geoserver I got this errors for previewing layer in full view of raster and zooming in. Error gone (and raster appears) in scales 1:366 , 1:183 an

Re: [Geoserver-users] Poor quality of imageMosaic 1-bit rasters

2015-02-25 Thread Łukasz Łagosz
Hi Simone reprocessing to 8bit - no way (other app is using this rasters and thats way they have to be 1bit) I tried to add overview to that one sample raster and add it to new datastore in Geoserver and preview in WMS - quality is still poor. but wat do you mean saying "you may want to try and

Re: [Geoserver-users] Poor quality of imageMosaic 1-bit rasters

2015-02-25 Thread Simone Giannecchini
Ciao Lukasz, I would do what follows: - reprocess them as 8 bits performing a color expansion - add overview with bilinear or bicubic resampling If you don't want to do that, you may want to try and ask the imagemosaic to expand the palette to RGB but without proper overviews quality will suffer

[Geoserver-users] Poor quality of imageMosaic 1-bit rasters

2015-02-23 Thread Łukasz Łagosz
Hi I have a problem with setting appropriate settings for layer, based on ImageMosaic with 1-bit monochrome rasters, that will give me on output WMS raster with good quality. I attach screenshots of original raster in irfanview and in geoserver's openlayer preview. Default conf for this layer inte