CSS Module doesn't always encode filters into SLD
-------------------------------------------------
Key: GEOS-4099
URL: http://jira.codehaus.org/browse/GEOS-4099
Project: GeoServer
Issue Type: Bug
Reporter: David Winslow
Assignee: Andrea Aime
Here's the outline of the CSS (stripped the details since I'm guessing
they aren't relevant):
{code}
/* @title 5011 - motorvag */
[KKOD = 5011] {
...
}
/* @title motorvag-text */
[KKOD = 5011][@scale<3000000] {
label: [VAGNR1];
...
}
/* @title 5213 - allman vag */
[KKOD = 5213][@scale<2000000] {
...
}
/* @title allman vag-text */
[KKOD = 5213][@scale<500000] {
label: [VAGNR1];
...
}
{code}
What I want to accomplish is:
* KKOD 5011 should always be shown
* Labels for KKOD 5011 should be shown if scale is less than 3,000,000
* KKOD 5213 should be should if scale is less than 2,000,000
* Labels for KKOD 5213 should be shown if scale is less than 500,000
But this CSS is turned into an SLD which shows *all* roads, regardless
of KKOD, at scales lower than 2,000,000 but rendered as if they had
KKOD 5213.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira