From: Jody G. <jga...@re...> - 2008-05-22 21:28:49
|
Andrea Aime wrote: > Well, since I have a customer that needs this, and there seems to be > no agreement (or lack of interest) on what to do, I'll roll a custom > variant of the quantile algorithm inside GeoServer that does what I > suggested, set apart the flat areas of the histogram in their own > classes when they are big enough (say, half of a standard sized > class?), and try to build classes with the expected size for the rest > of the values. That sounds fine; why not just update the geotools implementation? ie we found something that is a mistake (two categories with the same (0,0) range) can we fix it? > I'd like to avoid that, but I see no way to do so without introducing > extra parameters that would break all existing callers of the current > quantile function... So far you have some style generation code; and it probably would die on the case you describe anyways... if I cared to have specific functionality I would have provided test cases. Lets rock and roll... Cheers, Jody |