[mapserver-users] SLD and Mapserver

2011-05-31 Thread luis peinado
Hi list, I'm using mapserver as a WMS server and I try to use an SLD file to render my map, instead of the usual CLASS and STYLE labels. I've succeded using an SLD parameter on my querystring but I can not get the same result removing the sld url from the querystring and writing it into

Re: [mapserver-users] SLD and Mapserver

2011-05-31 Thread Yewondwossen Assefa
Hi, It is not yet possible to use directly sld styles in a map file. We have discussed that a couple of times but It is still in the wish list for future versions. If you are interested to see that sooner than later and might be possible for you to contribute toward it's development, let

Re: [mapserver-users] SLD with Mapserver 5.4.2

2009-07-31 Thread Andrea Dessì
Hi Michael, Thank you for your answer :) Now SLD is working i had a mistake with names references. I have just another question: how is possible to add a style using SLD without overriding the whole server style? I explain what i want to do: I have a map served by MapServer, so a mapfile with

Re: [mapserver-users] SLD with Mapserver 5.4.2

2009-07-31 Thread Michael Schulz
Hi Andrea, mapserver uses sld in library mode, meaning that if for a certain layer of the mapfile an sld symbolization is provided it takes precedence over the mapfile symbolization. If for another layer no sld id provided, then the mapfile symbolization is used. Thus, As far as I know you can

Re: [mapserver-users] SLD with Mapserver 5.4.2

2009-07-31 Thread Andrea Dessì
Michael Schulz ha scritto: Hi Andrea, mapserver uses sld in library mode, meaning that if for a certain layer of the mapfile an sld symbolization is provided it takes precedence over the mapfile symbolization. If for another layer no sld id provided, then the mapfile symbolization is used.

[mapserver-users] SLD with Mapserver 5.4.2

2009-07-30 Thread Andrea Dessì
Hi, i've started using Mapserver few days ago and i cannot apply SLD styles. i'm using MapServer version 5.4.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER

Re: [mapserver-users] SLD with Mapserver 5.4.2

2009-07-30 Thread Michael Schulz
Hi Andrea, to use SLD you won't need very special mapfile configuration. You should pay attention to setting the imgpath parameter of the web section correctly, i.e. accessible and writable by mapserver-cgi, since the sld's are stored there temporarily while/after downloading them from the