Issue Type: Bug Bug
Affects Versions: 9.0-M1
Assignee: Andrea Aime
Components: jdbc-oracle plugin, render
Created: 01/Dec/12 8:42 AM
Description:

Having hooked things up on the GeoServer end WFS is working, but WMS is not:

The following code from StreamingRenderer:

private MathTransform2D buildTransform(CoordinateReferenceSystem sourceCRS,
            CoordinateReferenceSystem destCRS) throws FactoryException {
        // the basic crs transformation, if any
        MathTransform2D mt;
        if (sourceCRS == null || destCRS == null || CRS.equalsIgnoreMetadata(sourceCRS,
                destCRS))
            mt = null;
        else
            mt = (MathTransform2D) CRS.findMathTransform(sourceCRS, destCRS, true);
        return mt;
    }

Fails with a:

02 Dec 00:38:42 WARN [geotools.rendering] - org.geotools.referencing.operation.transform.ConcatenatedTransform cannot be cast to org.opengis.referencing.operation.MathTransform2D
java.lang.ClassCastException: org.geotools.referencing.operation.transform.ConcatenatedTransform cannot be cast to org.opengis.referencing.operation.MathTransform2D
	at org.geotools.renderer.lite.StreamingRenderer.buildTransform(StreamingRenderer.java:1187)
	at org.geotools.renderer.lite.StreamingRenderer.access$3(StreamingRenderer.java:1179)
	at org.geotools.renderer.lite.StreamingRenderer$RenderableFeature.getShape(StreamingRenderer.java:3135)
	at org.geotools.renderer.lite.StreamingRenderer.processSymbolizers(StreamingRenderer.java:2690)
	at org.geotools.renderer.lite.StreamingRenderer.process(StreamingRenderer.java:2602)
	at org.geotools.renderer.lite.StreamingRenderer.drawPlain(StreamingRenderer.java:2435)
	at org.geotools.renderer.lite.StreamingRenderer.processStylers(StreamingRenderer.java:1986)
	at org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRenderer.java:814)
Environment: Oracle 11g XE
Project: GeoTools
Priority: Major Major
Reporter: Jody Garnett
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Keep yourself connected to Go Parallel: 
INSIGHTS What's next for parallel hardware, programming and related areas?
Interviews and blogs by thought leaders keep you ahead of the curve.
http://goparallel.sourceforge.net
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to