Thanks to all it now works very nicely.
Adrien
On Fri, May 30, 2008 at 3:36 PM, Yewondwossen Assefa <[EMAIL PROTECTED]>
wrote:
> Adrien Ducos wrote:
>
>> Ok I found the error, it was on the sld itself: apparently mapserver can't
>> handle in the same rule a point symbolizer and a polygon symboli
Adrien Ducos wrote:
Ok I found the error, it was on the sld itself: apparently mapserver
can'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
Adrien
You should be able to use the sld with filter. Looking at your sld,
you should end up with several classes where the expressions in each
class should be set to something like EXPRESSION ([color] = 1),
EXPRESSION ([color] = 2). Would these expressions be valid in your case
(with your d
Ok I found the error, it was on the sld itself: apparently mapserver can'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.
(there was
Did you check the SLD TMP file problem (from the thread Re: "SLD ignored /
External Graphic ignored)" see excerpt below)?
***snip***
Using SLDs is dependent on the correct setting of the two settings
IMAGEPATH -- where the mapserver software puts the SLD and other temporary
files
IMAGEURL -- w
Hi I would like to use an SLD file linked to a wms layer comming from a
postgres query (using postgis).
In the SLD file I have rules that puts polygon colors according to an
attribute in my table the attribute data can be equal to 1,2,3,4,5,6,7 or 8.
and according to the value the polygon would be