Mauro:
I was looking into layer group interpolation quality for a customer, and
had a chance to step through the code associated with the recent back port
of GEOS-7005 and GEOS-6614.
The following code in RenderedImageMapOutputFormat:
if(request.getInterpolations() != null &&
!request.getInterpolations().isEmpty()) {
int count = 0;
List<Interpolation> interpolations =
request.getInterpolations();
for(Layer layer : mapContent.layers()) {
if(count < interpolations.size()) {
Interpolation interpolation = interpolations.get(count);
if(interpolation != null) {
layer.getUserData().put(StreamingRenderer.BYLAYER_INTERPOLATION,
interpolation);
}
}
count++;
}
}
This code grinds through the request interpolations assigning them to
mapContent layers.
When a layer group is used these two lists no longer line up (as the number
of mapContent.layers is greater than the number of interpolations provided).
--
Jody Garnett
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel