[Geoserver-devel] [jira] Created: (GEOS-4703) Reprojection from EPSG:4326 to EPSG:900913 (Google Mercator) fails

Reprojection from EPSG:4326 to EPSG:900913 (Google Mercator) fails
------------------------------------------------------------------

                 Key: GEOS-4703
                 URL: https://jira.codehaus.org/browse/GEOS-4703
             Project: GeoServer
          Issue Type: Bug
          Components: WMS
    Affects Versions: 2.1.1
         Environment: Occurs on both Windows and Linux version of GeoServer
            Reporter: David Stevenson
            Assignee: Andrea Aime

Create a POSTGIS table with a geometry (multi-polygon) column with SRID of EPSG:4326 and populate the table.

Using the "add layer" gui screens in the web admin pages, create a new layer with Native SRS of EPSG:4326 and Declared SRS of EPSG:900913 and "Force Declared" selected from "SRS Handling" drop-down. The first indication of a problem is that "Lat/Lng Bounding Box, Compute from Native Bounds" fails to compute correctly. On previewing the layer, the geometry shape is not displayed.

To confirm the bug, create a duplicate table with the same data, but with the data transferred using POSTGIS "St_transform" so it as stored into the table in EPSG:900913 projection. Create another layer and with both native and declared SRS as EPSG:900913. Both the compute Lat/Long bounds and the layer preview work correctly.

Note that using the "Demo" functionality to submit a WMS url also exhibits this bug.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira