Hi - digging into programming with geoserver myself for the first time, and I'm curious about being able to define the min max values for an interval range through sldservice. the sld editors seem to allow selection of interval type and interval counts, but the range the intervals are derived from seem to be restricted to the values the sldservice retrieves from the associated featureType. such as in RulesBuilder::equalIntervalClassification. I'm not seeing something in RulesBuilder that would allow one to define the min max range, but maybe I'm not understanding the equalIntervalClassification method correctly.
The reason I'm looking to be able to define the min max values of an interval range is because sometimes a featureType dataset will not actually have all the possible values that it _could_ contain, and this leads to odd interval ranges. This is most easy to understand in considering datasets of percentages, where you might have multiple data sets and some may have 0 - 100% and others may have just a limited representation. To get a desirable style where percentages are styled relative to where they fall on the full 100% scale, the extreme min and max values may need to be defined explicitly independent of the dataset.
Can someone tell me if geoserver can or can not handle such a scenario, and if RulesBuilder would be the right place to begin exploring how to handle this.
Hi - digging into programming with geoserver myself for the first time,
and I'm curious about being able to define the min max values for an
interval range through sldservice. the sld editors seem to allow
selection of interval type and interval counts, but the range the
intervals are derived from seem to be restricted to the values the
sldservice retrieves from the associated featureType. such as in
RulesBuilder::equalIntervalClassification. I'm not seeing something in
RulesBuilder that would allow one to define the min max range, but maybe
I'm not understanding the equalIntervalClassification method correctly.
The reason I'm looking to be able to define the min max values of an
interval range is because sometimes a featureType dataset will not
actually have all the possible values that it _could_ contain, and this
leads to odd interval ranges. This is most easy to understand in
considering datasets of percentages, where you might have multiple data
sets and some may have 0 - 100% and others may have just a limited
representation. To get a desirable style where percentages are styled
relative to where they fall on the full 100% scale, the extreme min and
max values may need to be defined explicitly independent of the dataset.
Can someone tell me if geoserver can or can not handle such a scenario,
and if RulesBuilder would be the right place to begin exploring how to
handle this.
No, the sld service does not support this functionality right now.
RulesBuilder would need to be modified to implement it, and you would
probably also need to modify the ClessifierResource to recognize the new
query parameters.
Feel free to join the the irc channel
(irc://irc.freenode.net/GeoServer) if you want to discuss this further.
(The mailing list is fine too, just wanted to throw that out there.)