I'm having trouble with the CSS module. My ultimate goal is to filter out data
with the attribute data_type = 5, and use a different style for data_type = 4
(while displaying a different line color based on congestion_level and then
adjust line widths by scale) .
If I use
[data_type = 3],[data_type = 6],[data_type = 7] {
stroke-width: 2;
}
[congestion_level = 'G'][data_type = 3], [congestion_level = 'G'][data_type =
6], [congestion_level = 'G'][data_type = 7]{
stroke: #008000;
stroke-opacity: 0.5;
stroke-linecap: butt;
stroke-linejoin: miter;
}
I get expected results, but not if I do
[data_type < 4] [data_type > 5] {
stroke-width: 2;
}
[congestion_level = 'G'][data_type < 4] [data_type > 5] {
stroke: #008000;
stroke-opacity: 0.5;
stroke-linecap: butt;
stroke-linejoin: miter;
}
In this case no SLD is generated. I also can't use "data_type <> 4" either,
but I get an exception for this so I'll file a bug.
thanks,
charles
------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users