Ok, I've kind of answered my own question.  mapresample.c only has the
following 3 resampling options below, but is it possible to add BICUBIC into
this?  It seems like these are gdal reasampling methods, so it should be
possible.

/* -------------------------------------------------------------------- */
/*      Perform the resampling.                                         */
/* -------------------------------------------------------------------- */
    if( EQUAL(resampleMode,"AVERAGE") )
        result =
            msAverageRasterResampler( srcImage, layer->offsite, image,
                                      anCMap, msApproxTransformer, pACBData,
                                      layer->debug );
    else if( EQUAL(resampleMode,"BILINEAR") )
        result =
            msBilinearRasterResampler( srcImage, layer->offsite, image,
                                       anCMap, msApproxTransformer,
pACBData,
                                       layer->debug );
    else
        result =
            msNearestRasterResampler( srcImage, layer->offsite, image,
                                      anCMap, msApproxTransformer, pACBData,
                                      layer->debug );


On Wed, Jan 7, 2009 at 3:50 PM, Roger André <[email protected]> wrote:

> Hi All,
>
> I'm curious to know if the BICUBIC resampling option is available as a
> processing directive in Mapserver 5.2?  I see it mentioned in an RFC,
> http://mapserver.org/development/rfc/ms-rfc-4.html#rfc4, but not in the
> raster data documentation at
> http://mapserver.org/input/raster.html#special-processing-directives.
>
> I've tried using BICUBIC and it doesn't seem to do anything.
>
> Thanks,
>
> Roger
> --
>
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to