Hi,
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.
In both cases my SLD is (excerpt):

<sld:Rule>
                    <sld:RasterSymbolizer>
                        <sld:Geometry>
                            <ogc:PropertyName>grid</ogc:PropertyName>
                        </sld:Geometry>
                        <sld:ColorMap type="ramp">
                            <sld:ColorMapEntry color="#FFFFFF"
opacity="0.0" quantity="-9999" label="-9999"/>
                            <sld:ColorMapEntry color="#FFFFFF"
opacity="0.0" quantity="0" label="0"/>
                            <sld:ColorMapEntry color="#FFFFD7"
opacity="1.0" quantity="0.01" label="1%"/>
                            <sld:ColorMapEntry color="#FFFF00"
opacity="1.0" quantity="0.05" label="5%"/>
                            <sld:ColorMapEntry color="#FFAF50"
opacity="1.0" quantity="0.2" label="20%"/>
                            <sld:ColorMapEntry color="#E60000"
opacity="1.0" quantity="0.35" label="35%"/>
                            <sld:ColorMapEntry color="#FF00FF"
opacity="1.0" quantity="0.50" label="50%"/>
                            <sld:ColorMapEntry color="#9123B4"
opacity="1.0" quantity="0.99" label="99%"/>
                        </sld:ColorMap>
                    </sld:RasterSymbolizer>
                </sld:Rule>

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.

Question: does Mapserver support color ramps with SLD? If yes what am I
doing wrong?

Thanks,
Giovanni

-- 
Giovanni Allegri
http://about.me/giovanniallegri
Gis3W - http://gis3w.it
Ikare - http://ikare.it
Twitter: https://twitter.com/_giohappy_
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to