StyleGenerator bug with creating ExplicitRules
----------------------------------------------
Key: GEOT-2542
URL: http://jira.codehaus.org/browse/GEOT-2542
Project: GeoTools
Issue Type: Bug
Affects Versions: 2.6-M2
Environment: Java 1.5.0_16; Windows XP
Reporter: Emily Gouge
Attachments: StyleGeneratorPatchWithTestCase.patch
ExcplicitClassifiers with more than one element in a bin only ever generate
rules for the first element in the bin.
The error seems to be in this code (StyleGenerator.java lines 381):
if (filters.size() > 1) {
rule.setFilter(filters.get(0));
} else {
rule.setFilter(ff.or(filters));
}
I've attached a patch with a test case that should fix this issue.
--
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
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel