Issue Details (XML | Word | Printable)

Key: GEOS-2057
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Critical Critical
Assignee: Andrea Aime
Reporter: Andrea Aime
Votes: 0
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
GeoServer

WMS raster interpolation settings are ignored

Created: 28/Jul/08 07:48 AM   Updated: 30/Jul/08 09:02 AM   Resolved: 29/Jul/08 06:18 AM
Component/s: WMS
Affects Version/s: 1.7.0-beta1
Fix Version/s: 1.6.5, 1.7.0-beta2

Time Tracking:
Not Specified

File Attachments: 1. Text File 12_1020_6055_gdalinfo.txt (0.6 kB)
2. Text File 12_1020_6055_identify_verbose.txt (15 kB)

Image Attachments:

1. wms-164b-bicubic-2.jpg
(71 kB)

2. wms-164b-bilinear-2.jpg
(71 kB)

3. wms-164b-nn-2.jpg
(70 kB)
Issue Links:
Related
 


 Description  « Hide

This happens at least on 1.7.x, haven't tried out in 1.6.x



Guillaume Lathoud added a comment - 29/Jul/08 02:04 AM

Geoserver 1.6.4b with WMS > Rendering > Nearest neighbour


Guillaume Lathoud added a comment - 29/Jul/08 02:04 AM

Geoserver 1.6.4b with WMS > Rendering > Bilinear


Guillaume Lathoud added a comment - 29/Jul/08 02:05 AM

Geoserver 1.6.4b with WMS > Rendering > Bicubic


Guillaume Lathoud added a comment - 29/Jul/08 02:07 AM
  • With 1.7.0-beta1 I obtained exactly (=pixelwise) the same result for all three settings of WMS > Rendering.
  • With 1.6.4b I obtained very slight differences (effective size and bounding box) but the processing seems to be the same (I suspect nearest neighbour).

Andrea Aime added a comment - 29/Jul/08 02:09 AM

Daniele, Simone, any idea about what's going on here? Maybe the new raster renderer code has issues with intepolation settings?
Guillame, one question, do you have overviews embedded in your raster data? GeoServer will use them, so the starting point for interpolation will look just as good as the overview you have. I'm asking because most tools default on nn interpolation when creating the overviews.


Guillaume Lathoud added a comment - 29/Jul/08 03:56 AM

The raster data is a bunch of PNG files so I guess not.


Guillaume Lathoud added a comment - 29/Jul/08 03:57 AM

gdalinfo output on a raster


Guillaume Lathoud added a comment - 29/Jul/08 03:57 AM

"identify -verbose" output on a raster


Simone Giannecchini added a comment - 29/Jul/08 05:39 AM

committed initial fix on 1.7.x


Andrea Aime added a comment - 29/Jul/08 05:53 AM

Simone noticed GEOS-2060 while fixing 2057


Andrea Aime added a comment - 29/Jul/08 06:18 AM

Fixed on 1.6.x and trunk as well.


Guillaume Lathoud added a comment - 30/Jul/08 07:29 AM

The nightly version 1.7.x-073008 worked on my side as well. Thanks for the fast work!


Andrea Aime added a comment - 30/Jul/08 09:02 AM

The merit goes to Simone Giannecchini that provided the actual patch, thanks a lot from my side as well.