[mapserver-users] SLD and antialiasing

thomas bonfort thomas.bonfort at gmail.com
Sat Jan 24 02:59:18 EST 2009


I don't have an answer to your antialiasing keyword with the gd driver
you are using, however you could switch to the agg renderer which
antialiases by default:

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=aggpng24&SRS=EPSG%3A31255&BBOX=39500,299250,81750,341500&WIDTH=256&HEIGHT=256

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=aggpng24&SRS=EPSG%3A31255&BBOX=39500,299250,81750,341500&WIDTH=256&HEIGHT=256&sld=http://www.carto.net/ps/sld/sld_stat.xml

best regards,
thomas

On Fri, Jan 23, 2009 at 20:40, Peter Sykora <peter_sykora at gmx.at> 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.
>
> Thanks in advance for any ideas
> Peter
>
>
> --
> ______________________________________________________
>
> Peter Sykora
>   A-4040 Linz, Fröhlerweg 45
>   Festnetz: +43 732 995435
>   Mobil: +43 676 5832583
>   mailto: peter_sykora at gmx.at
>
> http://www.carto.net/ps/
> http://canyon.carto.net/
> http://doris.ooe.gv.at/
>
> Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


More information about the mapserver-users mailing list