Thanks for replying thomas

I tried removing QUANTIZE_COLORS=256 but of no use
and on changing 'DRIVER "AGG/PNG"' instead of "GD/PNG map does not show 
just blank tiles are shown

I have also posted to mapserver list
if anyone has any other idea pls do reply

Regards
Kusum


From: Thomas Raffin 
Sent: Tuesday, May 27, 2008 2:12 PM
To: Kusum 
Cc: [email protected] 
Subject: Re: [pmapper-users] Smooth Roads Problem


Hi,

Maybe it is due to the "QUANTIZE_COLORS=256" parameter. It means your image 
contains 256 colors max. Try without it, but your images will be bigger (more 
colors = bigger size !).
If you are using MapServer 5, you could try 'DRIVER "AGG/PNG"' instead of 
"GD/PNG".

To find more help, I think you should use the MapServer mailing list...

Thomas


Kusum a écrit : 
Hii All

This problem may not be intended for this list
but I am new to mapserver , so pls help. 
I was getting broken kind of roads as in 1st picture below
To give it a smoother look I added antialias true to the style of roads using 
imagetype png24
OUTPUTFORMAT
  NAME png24
  DRIVER "GD/PNG"
  EXTENSION "png"
  MIMETYPE "image/png"
  IMAGEMODE RGBA
  TRANSPARENT OFF
  FORMATOPTION "QUANTIZE_FORCE=ON"
  FORMATOPTION "QUANTIZE_DITHER=OFF"
  FORMATOPTION "QUANTIZE_COLORS=256"
END
The roads looked smoother but the  colors of roads changed as in picture below 
      Antialias false 
     
      antialias true 
Please suggest something to resolve this.
Thanks in Advance

Regards
Kusum
  ------------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/------------------------------------------------------------------------------
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users
  
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to