GeoServer

WMS raster interpolation settings are ignored

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.7.0-beta1
  • Fix Version/s: 1.6.5, 1.7.0-beta2
  • Component/s: WMS
  • Labels:
    None
  • Number of attachments :
    5

Description

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

  1. 12_1020_6055_gdalinfo.txt
    29/Jul/08 3:57 AM
    0.6 kB
    Guillaume Lathoud
  2. 12_1020_6055_identify_verbose.txt
    29/Jul/08 3:57 AM
    15 kB
    Guillaume Lathoud
  1. wms-164b-bicubic-2.jpg
    71 kB
    29/Jul/08 2:05 AM
  2. wms-164b-bilinear-2.jpg
    71 kB
    29/Jul/08 2:04 AM
  3. wms-164b-nn-2.jpg
    70 kB
    29/Jul/08 2:04 AM

Issue Links

Activity

Hide
Guillaume Lathoud added a comment -

Geoserver 1.6.4b with WMS > Rendering > Nearest neighbour

Show
Guillaume Lathoud added a comment - Geoserver 1.6.4b with WMS > Rendering > Nearest neighbour
Hide
Guillaume Lathoud added a comment -

Geoserver 1.6.4b with WMS > Rendering > Bilinear

Show
Guillaume Lathoud added a comment - Geoserver 1.6.4b with WMS > Rendering > Bilinear
Hide
Guillaume Lathoud added a comment -

Geoserver 1.6.4b with WMS > Rendering > Bicubic

Show
Guillaume Lathoud added a comment - Geoserver 1.6.4b with WMS > Rendering > Bicubic
Hide
Guillaume Lathoud added a comment -
  • 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).
Show
Guillaume Lathoud added a comment -
  • 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).
Hide
Andrea Aime added a comment -

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.

Show
Andrea Aime added a comment - 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.
Hide
Guillaume Lathoud added a comment -

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

Show
Guillaume Lathoud added a comment - The raster data is a bunch of PNG files so I guess not.
Hide
Guillaume Lathoud added a comment -

gdalinfo output on a raster

Show
Guillaume Lathoud added a comment - gdalinfo output on a raster
Hide
Guillaume Lathoud added a comment -

"identify -verbose" output on a raster

Show
Guillaume Lathoud added a comment - "identify -verbose" output on a raster
Hide
Simone Giannecchini added a comment -

committed initial fix on 1.7.x

Show
Simone Giannecchini added a comment - committed initial fix on 1.7.x
Hide
Andrea Aime added a comment -

Simone noticed GEOS-2060 while fixing 2057

Show
Andrea Aime added a comment - Simone noticed GEOS-2060 while fixing 2057
Hide
Andrea Aime added a comment -

Fixed on 1.6.x and trunk as well.

Show
Andrea Aime added a comment - Fixed on 1.6.x and trunk as well.
Hide
Guillaume Lathoud added a comment -

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

Show
Guillaume Lathoud added a comment - The nightly version 1.7.x-073008 worked on my side as well. Thanks for the fast work!
Hide
Andrea Aime added a comment -

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

Show
Andrea Aime added a comment - The merit goes to Simone Giannecchini that provided the actual patch, thanks a lot from my side as well.

People

Vote (0)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: