I'm creating Quantile breaks in uDig on a shapefile with five features 
numbered 1-5.  Since I'm asking for 5 "bins" I'm getting one item in 
each bin.  The Quantile Function creates the following RangedClassifier:
1 - 1
2 - 2
3 - 3
4 - 4
5 - 5

Which would be okay except the SLD generated from such a 
RangedClassifier is:
1 <= x < 1
2 <= x < 2
3 <= x < 3
4 <= x < 4
5 <= x <= 5

This means only the last feature is displayed.

Looking at the RangeClassifier.classify function it assumes that min <= 
value < max.  So I would like to update the Quantile Function to produce 
these bins:
1 - 2  (1 <= x < 2)
2 - 3  (2 <= x < 3)
3 - 4  (3 <= x < 4)
4 - 5  (4 <= x < 5)
5 - 5  (5 <= x < 5)

If this is okay then I will update the code, add some test cases, and 
create a bug report.

Emily


------------------------------------------------------------------------------
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
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to