<div dir="ltr">I'm running a tiling server that uses MapServer 7.0.4 to generate PNGs.<div><br></div><div>My colleagues came up with an ingenious idea to animate traffic conditions that would require them to identify road segments based on their color. They asked me to generate tiles with a predetermined RGBA value per road segment. </div><div><br></div><div>I configured a layer of type LINE, with a STYLE section containing 'COLOR [palette]' (palette being a field in the database query). Initially, I thought I was creating the images my colleagues needed, but it seems that the anti-aliasing causes some pixels to have colors other than the one I specified; this prevents us from identifying the road segments.</div><div><br></div><div>We can live without anti-aliasing, but I was unable to turn it off; I tried both the AGG/PNG and GD/PNG drivers and messed with various FORMATOPTION identifiers, but nothing seemed to make any difference.</div><div><br></div><div>Any suggestions?</div><div><br></div><div>Thanks.</div></div>