[Geoserver-devel] [jira] Created: (GEOS-2242) Geoserver doesn't parse the EU-Projection called WigeoEU (EPSG:40103), Error in parsing Parameter "central_parallel" was not expected.

Geoserver doesn't parse the EU-Projection called WigeoEU (EPSG:40103), Error in parsing Parameter "central_parallel" was not expected.
--------------------------------------------------------------------------------------------------------------------------------------

                 Key: GEOS-2242
                 URL: http://jira.codehaus.org/browse/GEOS-2242
             Project: GeoServer
          Issue Type: Bug
    Affects Versions: 1.6.4
         Environment: Linux Debian Etch
            Reporter: GISCON.PL
            Assignee: Andrea Aime
             Fix For: 1.6.4
         Attachments: 40103.prj

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

--
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

I have several different spatial database and shape files all in different srs format, I want to server them using geoserver. The documentation says that geoserver supports wms 1.1 which allow for reprojection off data.

I have tried the following syntax

xxxx= new Openlayers("foobar",
    "http://localhost:8080/geoserver/wms",
     {
        srs: 'EPSG:27700',
        layers: 'foo',
        'reproject':true
      }

Is this the correct syntax ?, its just that nothing seemed to happen, I have the logging cranked up to the highest setting, no error messages were logged.

From the generated display, there is a reprojection issue, shapes appear in the wrong place.

Any suggestions?

Hi David,

The first thing to ensure is that GeoServer properly knows about the projection of your dataset. Is 27700 the native projection? And have you set that value on the feature type editor page?

An easy way to check if everything is set up properly is the use built in open layers map preview, available in the web admin app. From there you can view the source and see how it is set up.

The OpenLayers folks will know better but one thing you might also try is setting the projection on your map object.

-Justin

Dave Potts wrote:

I have several different spatial database and shape files all in different srs format, I want to server them using geoserver. The documentation says that geoserver supports wms 1.1 which allow for reprojection off data.

I have tried the following syntax

xxxx= new Openlayers("foobar",
   "http://localhost:8080/geoserver/wms",
    {
       srs: 'EPSG:27700',
       layers: 'foo',
       'reproject':true
     }

Is this the correct syntax ?, its just that nothing seemed to happen, I have the logging cranked up to the highest setting, no error messages were logged.

From the generated display, there is a reprojection issue, shapes appear in the wrong place.

Any suggestions?

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

------------------------------------------------------------------------

_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.