[Geoserver-devel] Does Geoserver supports EPSG:4900(LGD2006)?

Hi All,
   My source layers need to projected with EPSG:4900 (LGD2006).
   Geoserver could not identify this projection if provided in SRS box.

   So, I got the OGCWKT from
http://spatialreference.org/ref/epsg/4900/ogcwkt/
   and included the new definition in epsg.properties file as:

    4900=PROJCS["LGD2006",GEOGCS["LGD2006",DATUM["Libyan Geodetic Datum
2006",SPHEROID["International
1924",6378388.0,297.0,AUTHORITY["EPSG","7022"]],TOWGS84[-208.4058,-109.8777,-2.5764,0.0,0.0,0.0,0.0],AUTHORITY["EPSG","6754"]],PRIMEM["Greenwich",0.0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.017453292519943295],AXIS["Geodetic
latitude",NORTH],AXIS["Geodetic longitude",EAST],AXIS["Ellipsoidal
height",UP],AUTHORITY["EPSG","4900"]]]

   So, while defining the featuretype for the same, if i provide SRS=4900
and click "generate", I get the following exception:

The following exception was thrown:

    * class org.opengis.geometry.MismatchedDimensionException: Illegal
transform of type "ConcatenatedTransform".

Details:

org.opengis.geometry.MismatchedDimensionException: Illegal transform of type
"ConcatenatedTransform".
        at org.geotools.geometry.jts.JTS.transform(JTS.java:166)
        at
org.vfny.geoserver.action.data.TypesEditorAction.executeBBox(TypesEditorAction.java:282)
        at
org.vfny.geoserver.action.data.TypesEditorAction.execute(TypesEditorAction.java:136)
        at
org.vfny.geoserver.action.ConfigAction.execute(ConfigAction.java:101)
        at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
        at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487)
        at
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1093)
        (truncated)

I may be wrong in defining the projection for EPSG:4900 in the
epsg.properties file
OR
Geoserver does not support LGD2006 Projection.

Any suggestion on this will be helpful.

Regards,
Suvajit

--
View this message in context: http://www.nabble.com/Does-Geoserver-supports-EPSG%3A4900(LGD2006)--tp22051707p22051707.html
Sent from the GeoServer - Dev mailing list archive at Nabble.com.

Suvajit Sengupta ha scritto:

Hi All,

Hi Suvajit,
first off, a couple of directions about making questions on
the mailing lists:
- you have to subscribe to a mailing list before posting a
   question
- the devel list is for meant for developers to discuss the
   technical details and direction of GeoServer, not for users
   making questions about GeoServer features or issues

   My source layers need to projected with EPSG:4900 (LGD2006).
   Geoserver could not identify this projection if provided in SRS box.

   So, I got the OGCWKT from
http://spatialreference.org/ref/epsg/4900/ogcwkt/
   and included the new definition in epsg.properties file as:

    4900=PROJCS["LGD2006",GEOGCS["LGD2006",DATUM["Libyan Geodetic Datum
2006",SPHEROID["International
1924",6378388.0,297.0,AUTHORITY["EPSG","7022"]],TOWGS84[-208.4058,-109.8777,-2.5764,0.0,0.0,0.0,0.0],AUTHORITY["EPSG","6754"]],PRIMEM["Greenwich",0.0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.017453292519943295],AXIS["Geodetic
latitude",NORTH],AXIS["Geodetic longitude",EAST],AXIS["Ellipsoidal
height",UP],AUTHORITY["EPSG","4900"]]]

   So, while defining the featuretype for the same, if i provide SRS=4900
and click "generate", I get the following exception:

The following exception was thrown:

    * class org.opengis.geometry.MismatchedDimensionException: Illegal
transform of type "ConcatenatedTransform".

Ah, I see. EPSG:4900 is a 3D spatial reference system, GeoServer
can only handle 2D data at the moment. So no, EPSG:4900 is not
supported.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

Hi Andrea,
I understood my mistake after i posted the message.
Sorry for it. I will careful about it to maintain the decorum of the mailing list in future.
Regards,
Suvajit

My galleria @ http://www.flickr.com/photos/jeet_sen

On Sun, Mar 8, 2009 at 2:34 PM, Andrea Aime <aaime@anonymised.com…> wrote:

Suvajit Sengupta ha scritto:

Hi All,

Hi Suvajit,
first off, a couple of directions about making questions on
the mailing lists:

  • you have to subscribe to a mailing list before posting a
    question
  • the devel list is for meant for developers to discuss the
    technical details and direction of GeoServer, not for users
    making questions about GeoServer features or issues

My source layers need to projected with EPSG:4900 (LGD2006).
Geoserver could not identify this projection if provided in SRS box.

So, I got the OGCWKT from
http://spatialreference.org/ref/epsg/4900/ogcwkt/
and included the new definition in epsg.properties file as:

4900=PROJCS[“LGD2006”,GEOGCS[“LGD2006”,DATUM[“Libyan Geodetic Datum
2006”,SPHEROID[“International
1924”,6378388.0,297.0,AUTHORITY[“EPSG”,“7022”]],TOWGS84[-208.4058,-109.8777,-2.5764,0.0,0.0,0.0,0.0],AUTHORITY[“EPSG”,“6754”]],PRIMEM[“Greenwich”,0.0,AUTHORITY[“EPSG”,“8901”]],UNIT[“degree”,0.017453292519943295],AXIS[“Geodetic
latitude”,NORTH],AXIS[“Geodetic longitude”,EAST],AXIS[“Ellipsoidal
height”,UP],AUTHORITY[“EPSG”,“4900”]]]

So, while defining the featuretype for the same, if i provide SRS=4900
and click “generate”, I get the following exception:

The following exception was thrown:

  • class org.opengis.geometry.MismatchedDimensionException: Illegal
    transform of type “ConcatenatedTransform”.

Ah, I see. EPSG:4900 is a 3D spatial reference system, GeoServer
can only handle 2D data at the moment. So no, EPSG:4900 is not
supported.

Cheers
Andrea


Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.