From: Ian T. <ijt...@gm...> - 2007-07-10 21:24:53
|
On 7/10/07, Shaw, Richard A <ric...@at...> wrote: > > > > Can anybody help me work out why my attached SLD doesn't work. > > I have two tables called 'points' and 'polylines' which are identical except > for the type of the geometry column. > > The second layer will not draw anything if the filter contains an ogc:And - > you can see at the end of the attached file that I have commented everything > out except for the session ID filter and this then works. I've tried the > layers in the a different order and it makes no difference. > > Its because <ogc:And> <filter1>...</filter1> <filter2>...</filter2> </ogc:And> is legal and <ogc:And> <filter1>...</filter1> <filter2>...</filter2> <filter3>....</filter3> </ogc:And> is not - you need to do <ogc:And> <ogc:And> <filter1>...</filter1> <filter2>...</filter2> </ogc:And> <filter3>....</filter3> </ogc:And> Ian -- Ian Turton http://www.geotools.org http://pennspace.blogspot.com/ |