<div dir="ltr">Hi,<div>I'm running Mapscript from my Python code. Eveythign works fine except the image output from my (WMS) script is different from the same raster served by Geoserver.</div><div>In both cases my SLD is (excerpt):</div><div><br></div><div><sld:Rule><br>                    <sld:RasterSymbolizer><br>                        <sld:Geometry><br>                            <ogc:PropertyName>grid</ogc:PropertyName><br>                        </sld:Geometry><br>                        <sld:ColorMap type="ramp"><br>                            <sld:ColorMapEntry color="#FFFFFF" opacity="0.0" quantity="-9999" label="-9999"/><br>                            <sld:ColorMapEntry color="#FFFFFF" opacity="0.0" quantity="0" label="0"/><br>                            <sld:ColorMapEntry color="#FFFFD7" opacity="1.0" quantity="0.01" label="1%"/><br>                            <sld:ColorMapEntry color="#FFFF00" opacity="1.0" quantity="0.05" label="5%"/><br>                            <sld:ColorMapEntry color="#FFAF50" opacity="1.0" quantity="0.2" label="20%"/><br>                            <sld:ColorMapEntry color="#E60000" opacity="1.0" quantity="0.35" label="35%"/><br>                            <sld:ColorMapEntry color="#FF00FF" opacity="1.0" quantity="0.50" label="50%"/><br>                            <sld:ColorMapEntry color="#9123B4" opacity="1.0" quantity="0.99" label="99%"/><br>                        </sld:ColorMap><br>                    </sld:RasterSymbolizer><br>                </sld:Rule><br clear="all"><div><br></div><div>Geoserver produces an image with interpolated colors while UMN Mapserver produces a categoraized image, as id "intervals" was used instead of "ramp" for the type attribute.</div><div><br></div><div>Question: does Mapserver support color ramps with SLD? If yes what am I doing wrong?</div><div><br></div><div>Thanks,</div><div>Giovanni</div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Giovanni Allegri<br><a href="http://about.me/giovanniallegri" target="_blank">http://about.me/giovanniallegri</a></div><div dir="ltr">Gis3W - <a href="http://gis3w.it" target="_blank">http://gis3w.it</a></div><div dir="ltr">Ikare - <a href="http://ikare.it" target="_blank">http://ikare.it</a><br><div>Twitter: <a href="https://twitter.com/_giohappy_" target="_blank">https://twitter.com/_giohappy_</a></div><div>blog: <a href="http://blog.spaziogis.it" target="_blank">http://blog.spaziogis.it</a><br>GEO+ geomatica in Italia <a href="http://bit.ly/GEOplus" target="_blank">http://bit.ly/GEOplus</a></div></div></div></div></div>
</div></div>