[mapserver-users] SLD and antialiasing

Yewondwossen Assefa yassefa at dmsolutions.ca
Mon Jan 26 09:32:07 EST 2009


Peter Sykora wrote:
> Hi all,
> I would like to create a WMS with antialiased Polygons. The "ANTIALIAS true" statement in the style object works fine until I use an SLD to style my polygons.
> 
> See the difference:
> - Styling with mapfile
> http://81.10.192.123:443/cgi/stat?LAYERS=stat&REASPECT=false&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fpng&SRS=EPSG%3A31255&BBOX=39500,299250,81750,341500&WIDTH=256&HEIGHT=256
> 
> - Styling with an external SLD
> http://81.10.192.123:443/cgi/stat?LAYERS=stat&REASPECT=false&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FORMAT=image%2Fpng&SRS=EPSG%3A31255&BBOX=39500,299250,81750,341500&WIDTH=256&HEIGHT=256&sld=http://www.carto.net/ps/sld/sld_stat.xml
> 
> Certainly there is no possiblity to define the antialiasing in the SLD, but I wonder whether there is a mechanism to keep the antialias statement somehow in the styling object, independently of the definition in the SLD.
> 

Peter,

This is not possible currently. As you noted there are elements that are 
  not translated between SLD-Mapserver. As suggested agg would give 
anti-aliasing by default and could be work around.


Best Regards

> Thanks in advance for any ideas
> Peter
> 
> 


-- 
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst

Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/

Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925
----------------------------------------------------------------



More information about the mapserver-users mailing list