Thanks to all it now works very nicely.<br><br>Adrien<br><br><div class="gmail_quote">On Fri, May 30, 2008 at 3:36 PM, Yewondwossen Assefa &lt;<a href="mailto:yassefa@dmsolutions.ca">yassefa@dmsolutions.ca</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Adrien Ducos wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Ok I found the error, it was on the sld itself: apparently mapserver can&#39;t handle in the same rule a point symbolizer and a polygon symbolizer. So I have to make 2 sld layers: one for my points and one for my polygons. It is a pity since openlayers could handle this without any problem.<br>

<br>
</blockquote>
<br></div>
&nbsp;oops, saw this e-mail after I sent the previous.<br>
&nbsp;In Mapserver, a layer can only be of one geometry type. So I think It makes sense that different types of symbolizers would not be applied to the same layer. In you case if you have a point and a polygon layer, you can still use one sld with 2 &nbsp;&lt;NamedLayer&gt; (which would correspond to your 2 layers).<br>

<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
(there was no problem with the temp file since I gave a chmod access to all users in this folder; but now I understand why I have so many temp files in this directory).<br>
<br></div><div class="Ih2E3d">
On Fri, May 30, 2008 at 10:29 AM, Barend Kobben &lt;<a href="mailto:kobben@itc.nl" target="_blank">kobben@itc.nl</a> &lt;mailto:<a href="mailto:kobben@itc.nl" target="_blank">kobben@itc.nl</a>&gt;&gt; wrote:<br>
<br>
 &nbsp; &nbsp;Did you check the SLD TMP file problem (from the thread Re: &quot;SLD<br>
 &nbsp; &nbsp;ignored /<br>
 &nbsp; &nbsp;External Graphic ignored)&quot; see excerpt below)?<br>
<br>
 &nbsp; &nbsp;***snip***<br>
 &nbsp; &nbsp;Using SLDs is dependent on the correct setting of the two settings<br>
 &nbsp; &nbsp; IMAGEPATH &nbsp;-- where the mapserver software puts the SLD and other<br>
 &nbsp; &nbsp;temporary<br>
 &nbsp; &nbsp;files<br>
 &nbsp; &nbsp; IMAGEURL -- where the web browser and other http services pick them up.<br>
<br>
 &nbsp; &nbsp;Setting these incorrectly, and more importantly their security setting<br>
 &nbsp; &nbsp;incorrrectly, will normally give no problems, but when using SLDs<br>
 &nbsp; &nbsp;(and also<br>
 &nbsp; &nbsp;in other cases, eg. when chaining Mapserver to external WMS and WFS<br>
 &nbsp; &nbsp;services), they will make MS malfunction, but SILENTLY (ie. No error<br>
 &nbsp; &nbsp;messages).<br>
<br>
 &nbsp; &nbsp;Eg. in our set ups of a WMS with external SLD they are set as follows:<br>
<br>
 &nbsp; &nbsp;For &nbsp;a *nix setup ( MacOSX) with Mapserver CGI &#39;behind&#39; &nbsp;Apache:<br>
 &nbsp; &nbsp;WEB<br>
 &nbsp; &nbsp; &nbsp; IMAGEPATH &quot;/Users/kobben/Sites/ms_tmp/&quot;<br>
 &nbsp; &nbsp; &nbsp; IMAGEURL &quot;<a href="http://localhost/%7Ekobben/ms_tmp/" target="_blank">http://localhost/~kobben/ms_tmp/</a><br></div>
 &nbsp; &nbsp;&lt;<a href="http://localhost/%7Ekobben/ms_tmp/" target="_blank">http://localhost/%7Ekobben/ms_tmp/</a>&gt;&quot;<div><div></div><div class="Wj3C7c"><br>
 &nbsp; &nbsp; &nbsp; #--------------------------------------------#<br>
 &nbsp; &nbsp; &nbsp; METADATA<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[all your web metadata...]<br>
 &nbsp; &nbsp; &nbsp; END #metadata<br>
 &nbsp; &nbsp;END #web<br>
<br>
 &nbsp; &nbsp;For a Win box with Mapserver CGI &#39;behind&#39; &nbsp;IIS:<br>
 &nbsp; &nbsp; IMAGEPATH &quot;C:/tmp/ms_tmp/&quot;<br>
 &nbsp; &nbsp; IMAGEURL &quot;<a href="http://geoserver.itc.nl/ms_tmp/" target="_blank">http://geoserver.itc.nl/ms_tmp/</a>&quot;<br>
<br>
 &nbsp; &nbsp;The IMAGEPATh is a directory that is reacheable by Mapserver at this<br>
 &nbsp; &nbsp;real<br>
 &nbsp; &nbsp;location (in this case expressed as Unix BSD path on my MacOSX or as<br>
 &nbsp; &nbsp; UNC<br>
 &nbsp; &nbsp;path on Win) and that has read &amp; write access set &nbsp;for the Mapserver<br>
 &nbsp; &nbsp;process. Eg. on the Winbox it should have write access for the anonymous<br>
 &nbsp; &nbsp;system service account under which Mapserver runs (usually something<br>
 &nbsp; &nbsp;like<br>
 &nbsp; &nbsp;SERVERNAME\IWAM_SERVERNAME).<br>
<br>
 &nbsp; &nbsp;You can test this by seeing if files with names like) are being<br>
 &nbsp; &nbsp;created when<br>
 &nbsp; &nbsp;you request the WMS with external SLD. If they are the IMAGEPATH celarly<br>
 &nbsp; &nbsp;works. Then test if you can point a browser to the IMAGEURL and pick<br>
 &nbsp; &nbsp;up the<br>
 &nbsp; &nbsp;tmp file. If that worsk the IMAGEURL is also OK. Now it should work...<br>
<br>
 &nbsp; &nbsp;Hope this helps.<br>
<br>
 &nbsp; &nbsp;--<br>
 &nbsp; &nbsp;Barend Köbben<br>
 &nbsp; &nbsp;International Institute for Geo-Information<br>
 &nbsp; &nbsp;Sciences and Earth Observation (ITC)<br>
 &nbsp; &nbsp;PO Box 6<br>
 &nbsp; &nbsp;7500AA Enschede, The Netherlands<br>
 &nbsp; &nbsp;+31 (0)53 4874253<br>
<br>
 &nbsp; &nbsp;International Institute for Geo-Information Science and Earth<br>
 &nbsp; &nbsp;Observation (ITC)<br>
 &nbsp; &nbsp;Chamber of Commerce: 410 27 560<br>
<br>
 &nbsp; &nbsp;E-mail disclaimer<br>
 &nbsp; &nbsp;The information in this e-mail, including any attachments, is<br>
 &nbsp; &nbsp;intended for the addressee only. If you are not the intended<br>
 &nbsp; &nbsp;recipient, you are hereby notified that any disclosure, copying,<br>
 &nbsp; &nbsp;distribution or action in relation to the content of this<br>
 &nbsp; &nbsp;information is strictly prohibited. If you have received this e-mail<br>
 &nbsp; &nbsp;by mistake, please delete the message and any attachment and inform<br>
 &nbsp; &nbsp;the sender by return e-mail. ITC accepts no liability for any error<br>
 &nbsp; &nbsp;or omission in the message content or for damage of any kind that<br>
 &nbsp; &nbsp;may arise as a result of e-mail transmission.<br>
<br>
<br>
<br></div></div><div class="Ih2E3d">
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>
</div></blockquote><div><div></div><div class="Wj3C7c">
<br>
<br>
-- <br>
----------------------------------------------------------------<br>
Assefa Yewondwossen<br>
Software Analyst<br>
<br>
Email: <a href="mailto:assefa@dmsolutions.ca" target="_blank">assefa@dmsolutions.ca</a><br>
<a href="http://www.dmsolutions.ca/" target="_blank">http://www.dmsolutions.ca/</a><br>
<br>
Phone: (613) 565-5056 (ext 14)<br>
Fax: &nbsp; (613) 565-0925<br>
----------------------------------------------------------------<br>
<br>
</div></div></blockquote></div><br>