geotools/geotools — pull request #84 by jive (2012-12-17 16:29:19+00:00)
Title: Avoid trying ConcatenatedTransform inverse for 3D to 2D downcast

ConcatenatedTransform inverse is fatal when configured for 3D to 2D downcast, detect this case and avoid trying each time (and protect with a try / catch as inverse is only used to enable decimation as an optimisation during getShape).

See https://jira.codehaus.org/browse/GEOT-4350