Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: 1.6.4
-
Fix Version/s: 1.6.4
-
Component/s: None
-
Labels:None
-
Environment:Linux Debian Etch
-
Testcase included:yes
-
Number of attachments :
Description
Here is the log:
WARN [action.SrsHelpAction] - Issues converting EPSG:40103. Error in "PARAMETER": Parameter "central_parallel" was not expected. Stack trace included at FINE logging level
05 Sep 22:35:39 WARN [action.SrsHelpAction] - Issues converting EPSG:54004. Error in "PROJCS": Unexpected end of string. Stack trace included at FINE logging level
I tried to add my data which is in Lambert EU Projection EPSG:40103, but geoserver couldn't recognize it. I tried to add this custom projection to epsg file in geoserver with WKT definition taken from ArcMap: Here this definition
PROJCS["WIGeoEU",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Conic"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",10.0],PARAMETER["Standard_Parallel_1",40.0],PARAMETER["Standard_Parallel_2",60.0],PARAMETER["Central_Parallel",30.0],UNIT["Meter",1.0]],AXIS["x", EAST],AXIS["y", NORTH],AUTHORITY["EPSG","40103"]]
Central_Parallel is the problem. This projection is not parsed when srsList requested - /geoserver/srsHelp.do
I believe it's an equivalent of "latitude_of_origin" in the official EPSG database.
Where does "central_parallel" comes from? Which software uses that value?
Here is the definition of latitude of origin in our code, along with the well known aliases:
/** * The operation parameter descriptor for the {@linkplain #latitudeOfOrigin latitude of origin} * parameter value. Valid values range is from -90 to 90°. Default value is 0. */ public static final ParameterDescriptor LATITUDE_OF_ORIGIN = createDescriptor( new NamedIdentifier[] { new NamedIdentifier(Citations.OGC, "latitude_of_origin"), new NamedIdentifier(Citations.EPSG, "Latitude of false origin"), new NamedIdentifier(Citations.EPSG, "Latitude of natural origin"), new NamedIdentifier(Citations.ESRI, "Latitude_Of_Center"), new NamedIdentifier(Citations.GEOTIFF, "NatOriginLat") // ESRI uses "Latitude_Of_Center" in orthographic. }, 0, -90, 90, NonSI.DEGREE_ANGLE);/** * The operation parameter descriptor for the {@linkplain #latitudeOfOrigin latitude of origin} * parameter value. Valid values range is from -90 to 90°. Default value is 0. */ public static final ParameterDescriptor LATITUDE_OF_ORIGIN = createDescriptor( new NamedIdentifier[] { new NamedIdentifier(Citations.OGC, "latitude_of_origin"), new NamedIdentifier(Citations.EPSG, "Latitude of false origin"), new NamedIdentifier(Citations.EPSG, "Latitude of natural origin"), new NamedIdentifier(Citations.ESRI, "Latitude_Of_Center"), new NamedIdentifier(Citations.GEOTIFF, "NatOriginLat") // ESRI uses "Latitude_Of_Center" in orthographic. }, 0, -90, 90, NonSI.DEGREE_ANGLE);