Wait... maybe they are not gdal-based. Never mind. That's a fair bit of code to implement.<br>--<br><br><div class="gmail_quote">On Wed, Jan 7, 2009 at 4:18 PM, Roger André <span dir="ltr"><<a href="mailto:randre@gmail.com">randre@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">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.<br>
<br>/* -------------------------------------------------------------------- */<br>/* Perform the resampling. */<br>/* -------------------------------------------------------------------- */<br>
if( EQUAL(resampleMode,"AVERAGE") )<br> result =<br> msAverageRasterResampler( srcImage, layer->offsite, image,<br> anCMap, msApproxTransformer, pACBData,<br>
layer->debug );<br> else if( EQUAL(resampleMode,"BILINEAR") )<br> result =<br> msBilinearRasterResampler( srcImage, layer->offsite, image,<br> anCMap, msApproxTransformer, pACBData,<br>
layer->debug );<br> else<br> result =<br> msNearestRasterResampler( srcImage, layer->offsite, image,<br> anCMap, msApproxTransformer, pACBData,<br>
layer->debug );<div><div></div><div class="Wj3C7c"><br><br><br><div class="gmail_quote">On Wed, Jan 7, 2009 at 3:50 PM, Roger André <span dir="ltr"><<a href="mailto:randre@gmail.com" target="_blank">randre@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi All,<br><br>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, <a href="http://mapserver.org/development/rfc/ms-rfc-4.html#rfc4" target="_blank">http://mapserver.org/development/rfc/ms-rfc-4.html#rfc4</a>, but not in the raster data documentation at <a href="http://mapserver.org/input/raster.html#special-processing-directives" target="_blank">http://mapserver.org/input/raster.html#special-processing-directives</a>.<br>
<br>I've tried using BICUBIC and it doesn't seem to do anything.<br><br>Thanks,<br><br>Roger<br><font color="#888888">--<br>
</font></blockquote></div><br>
</div></div></blockquote></div><br>