[gdal-dev] MapServer's image quality stinks serving up these NOAA NRCs

Christopher Barker Chris.Barker at noaa.gov
Thu Apr 24 12:24:06 EDT 2008


Vincent Schut wrote:
> Those kap files are single-band colortable images, right?

yes.

> I'd use 
> nearest neighbour interpolation than, for gdalwarp, instead of bilinear. 
> Simple removing the '-rb' switch from your gdalwarp command should do 
> the trick, as nn is the default.

Will GDAL even try to do bilinear with colortable images? I think it may 
only do NN anyway.

Which is why I suggested that converting to RBG should be the first 
step, before any warping or rescaling.

-Chris

-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov


More information about the gdal-dev mailing list