deegree/deegree3 — pull request #16 by copierrj (2012-12-27 15:52:59+00:00)
Title: RenderHelper.getWorldToScreenTransform bugfix

Starting from deegree 3.2-pre12 GetMap requests with a 'long' crs id (ie urn:ogc:def:crs:EPSG::4326 instead of just EPSG:4326) always results in a blank image. While poking around in the code I discovered that RenderHelper.getWorldToScreenTransform creates an incorrect transformation matrix for those cases.

This method hasn't been changed between pre11 and pre12 but for some reason this bug was not causing problems in pre11 and earlier.

This pull request contains a fixed version of RenderHelper.getWorldToScreenTransform and a unit test to demonstrate the problem.