Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Duplicate
-
Affects Version/s: 2.0-beta2
-
Fix Version/s: 2.2-beta2
-
Component/s: Configuration, REST
-
Labels:None
-
Environment:Ubuntu GNU/Linux. Sun Java, Tomcat, GeoServer was built from trunk and Shapefiles
-
Number of attachments :
Description
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.
can someone delete this one ? thx,