<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 5.50.4522.1800" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT face="Times New Roman" size=2>Sidnei de Souza<SPAN 
class=00130921-31072002><FONT face=Arial color=#0000ff>&nbsp; 
writes:&nbsp;</FONT></SPAN></FONT></DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">I 
  think what is really happening is that MapServer is drawing the polygons 
  always with outline. 
  <P>If I specify "outlinecolor -1 -1 -1" or don't specify outlinecolor at all, 
  it draws the outline with the same color used to fill the polygon. 
  <P>We tested the same layer on ArcView and if we ask ArcView to use 
  outlinecolor = fill color, the result is the same as MapServer. If we ask 
  ArcView not to use outline, the result is equal to MapObjects. 
  <P>Any new ideas on this? Please!&nbsp;<SPAN class=00130921-31072002><FONT 
  face=Arial color=#0000ff size=2>&nbsp;</FONT></SPAN>
  <P><SPAN class=00130921-31072002><FONT face=Arial color=#0000ff size=2>You 
  could test your hypothesis by changing the 'C" code in 
  mapprimitive.c</FONT></SPAN>
  <P><SPAN class=00130921-31072002><FONT face=Arial color=#0000ff 
  size=2>FROM</FONT></SPAN>
  <P><SPAN class=00130921-31072002><FONT face=Arial color=#0000ff size=2>void 
  msImageScanline(gdImagePtr im, int x1, int x2, int y, int c)<BR>{<BR>&nbsp; 
  int x;</FONT></SPAN>
  <P><SPAN class=00130921-31072002><FONT face=Arial color=#0000ff size=2>&nbsp; 
  for(x=x1; x&lt;=x2; x++)<BR>&nbsp;&nbsp;&nbsp; gdImageSetPixel(im, x, y, 
  c);<BR>}</FONT></SPAN></P>
  <P><SPAN class=00130921-31072002><FONT face=Arial color=#0000ff 
  size=2>TO</FONT></SPAN></P>
  <P><SPAN class=00130921-31072002><FONT face=Arial color=#0000ff size=2>void 
  msImageScanline(gdImagePtr im, int x1, int x2, int y, int c)<BR>{<BR>&nbsp; 
  int x;</FONT></SPAN></P>
  <P><SPAN class=00130921-31072002><FONT face=Arial color=#0000ff size=2>&nbsp; 
  for(x=x1+1; x&lt;x2; x++)<BR>&nbsp;&nbsp;&nbsp; gdImageSetPixel(im, x, y, 
  c);<BR>}</FONT></SPAN></P>
  <P><SPAN class=00130921-31072002><FONT face=Arial color=#0000ff size=2>Note I 
  am not really sure of all of the ramifications </FONT></SPAN><SPAN 
  class=00130921-31072002><FONT face=Arial color=#0000ff size=2>of doing this 
  </FONT></SPAN><SPAN class=00130921-31072002><FONT face=Arial color=#0000ff 
  size=2>but ...</FONT></SPAN></P>
  <P><SPAN class=00130921-31072002><FONT face=Arial color=#0000ff size=2>it 
  should&nbsp;make&nbsp;a good test and if this gives the results that you 
  want</FONT></SPAN></P>
  <P><SPAN class=00130921-31072002><FONT face=Arial color=#0000ff size=2>I will 
  look further into this :-)</FONT></SPAN></P>
  <P><SPAN class=00130921-31072002><FONT face=Arial color=#0000ff 
  size=2>Cheers</FONT></SPAN></P>
  <P><SPAN class=00130921-31072002><FONT face=Arial color=#0000ff 
  size=2>Norman</FONT></SPAN></P></BLOCKQUOTE></BODY></HTML>