Hi all, apologies for re-opening this old thread from July 2011, but I wonder if there has been any solution to this issue. I just encountered the same problem in GeoServer 2.1.3 and would appreciate any help!
In my test case, I only wanted to display a geo-referenced TIFF with a simple colour gradient on an existing map of mine (e.g. as backdrop for another displayed geometry). Same issues as Donnacha had back then: When I preview the layer individually, everything looks fine. However together with other layer(s) in a layer group it looks messed up. The quality of the colour gradient raster image is downgraded significantly. Cf. these screenshots: Single Layer Preview: https://dl.dropbox.com/u/56544580/single_layer.png Togeter with simple grey background layer in a layer group: https://dl.dropbox.com/u/56544580/layer_group.png Has there been any work/solution to this issue within the last 1.5 years? Thanks in advance and all the best, Matthias --------------------------------------------- Donnacha NelanWed, 06 Jul 2011 00:44:45 -0700: Hi Andrea Thanks for the feedback.I will try to put together a sample of the data showing the problem. This may take a while as there are copyright issues with the raster files. The raster dataset itself is a set of digital raster maps that are typically used in the scale range 1:10000 to 1:50000. It is not aerial photography or satellite imagery and instead shows cartographic lines, text etc. This may be the reason that the difference in image quality is apparent. I will come back to you as soon as I've got permission to forward on a sample to you. Regards Donnacha ------------------------ Donnacha Nelan, Software Architect, 1Spatial Ireland Registered Office: 1 Nore House, Riverview Business Park, Mahon, Cork, Ireland Registration Number: 199077 Telephone: +353 (0)21 4359595 Fax: +353 (0)21 4359596 [email protected]<mailto:[email protected]> ------------------------------------------------- On Tue, Jul 5, 2011 at 10:15 AM, Donnacha Nelan <[email protected] > wrote: > Hi list, > > > > I have encountered a problem with a difference in the quality of display of > a raster depending on whether the layer is in a LayerGroup or not. > > On its own, i.e. not in a layer group, the image displayed is of good > quality with nice smooth text, lines etc. > > In the LayerGroup the image is of bad quality with text and lines ‘chunky’. > > I have set the interpolation method for the layer and for the wms service > to be ‘bicubic’ > > It is as if the interpolation method is not being used when the layer is in > a LayerGroup. Is this possible? Is there a way of setting the interpolation > method for a LayerGroup raster layer? > Starting with GeoServer 2.1.1 the code path to ask for a raster layer stand alone, and ask for a group of layers have been completely separated. This has been done for performance and scalability concerns, when a single raster is asked GeoServer can work in "image server" mode instead of "map server" mode, the former is definitely faster. I guess we made improvements to the image server mode that were not ported back to the classic map server mode. Do you have an example data set with styles that we can use to reproduce the issue? By your description it seems the raster is not the typical aerial/satellite imagery, nor scientific data, but sounds more like a scanned map? Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
