[mapserver-users] missing colors with an xml color table

Maciej Sieczka msieczka at sieczka.org
Sat Jan 10 17:30:53 EST 2009


Hi!

There are missing colors when rendering a raster map with a
colortable stored in an xml file. Example:

I have an ESRI ASCII GRID with a colortable in xml (the files along with
a mapfile all available at http://www.sieczka.org/tmp/smp.zip).

Rendering the raster in QGIS I get a picture as the attached
smp_qgis.png - which is OK.

Rendering it with MapServer the result is as in the attached smp_ms.png
- lacking the grey&black tones.

Why the difference? Could/should MapServer follow QGIS behaviour?


Using GDAL 1.6, MapServer 5.2.0 and QGIS 1.0 on Debian testing amd64.


The command to reproduce the smp_ms.png:

shp2img -e -4 20 36 61 -s 640 480 -m smp.map -o smp_ms.png


Maciek

-- 
Maciej Sieczka
www.sieczka.org


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smp_qgis.png
Type: image/png
Size: 8738 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090110/940d451f/smp_qgis.png
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smp_ms.png
Type: image/png
Size: 5286 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090110/940d451f/smp_ms.png


More information about the mapserver-users mailing list