[mapserver-users] Re: RESAMPLE types available as PROCESSING directives
Roger André
randre at gmail.com
Wed Jan 7 16:20:29 PST 2009
Wait... maybe they are not gdal-based. Never mind. That's a fair bit of
code to implement.
--
On Wed, Jan 7, 2009 at 4:18 PM, Roger André <randre at gmail.com> wrote:
> 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é <randre at gmail.com> 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
>> --
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090107/45e5aab9/attachment.htm>
More information about the MapServer-users
mailing list