Raster data is currently not included in WMS GetMap responses formatted as SVG.
In GeoServer 2.5.x, it was simply a matter of adding "batik-codec.jar" to the classpath. And then data from raster layers was automatically included in the SVG output (as Base64-encoded PNG, thanks to Batik's ImageHandlerBase64Encoder).
However, with GeoServer 2.6.x, the presence of "batik-codec.jar" in the classpath makes SVG-formatted GetMap requests fail if they include any raster layer.
Here's the stack trace that I get:
|