[Geoserver-devel] [jira] Created: (GEOS-4432) CLONE -GeoServer trunk does not correctly match a shapefile's projection to the correct epsg

CLONE -GeoServer trunk does not correctly match a shapefile's projection to the correct epsg
---------------------------------------------------------------------------------------------

                 Key: GEOS-4432
                 URL: http://jira.codehaus.org/browse/GEOS-4432
             Project: GeoServer
          Issue Type: Bug
          Components: Configuration, REST
    Affects Versions: 2.0-beta2
         Environment: Ubuntu GNU/Linux. Sun Java, Tomcat, GeoServer was built from trunk and Shapefiles
            Reporter: mickae1
            Assignee: Justin Deoliveira
             Fix For: 2.0-RC1

GeoServer fails to correctly assign the correct projection to a shapefile with a valid .prj file.

The Shapefile's .prj looks is::

GEOGCS["GCS_WGS_1984",
    DATUM["WGS_1984",
        SPHEROID["WGS_1984",6378137,298.257223563]],
    PRIMEM["Greenwich",0],
    UNIT["Degree",0.017453292519943295]]

and the correct definition for ESPG:4326 is

GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563,
            AUTHORITY["EPSG","7030"]],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0,
        AUTHORITY["EPSG","8901"]],
    UNIT["degree",0.01745329251994328,
        AUTHORITY["EPSG","9122"]],
    AUTHORITY["EPSG","4326"]]

However, I think GeoServer should be able to recognize this as 4326. If you need a shapefile that cause this bug please contact me as I cannot distribute these shapefiles.

Thanks guys.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira