Template
based on
GeoTools'
* http://svn.geotools.org/geotools/trunk/gt/module/main/src/org/geotools/renderer/lite/StyledShapePainter.javaStyledShapePainter that produces a BufferedImage with the appropiate
legend graphic for a given GetLegendGraphic WMS request.