[Geoserver-devel] [jira] (GEOS-5204) publish tiff in EPSG:3575 fails

Justin Deoliveira created BugGEOS-5204
publish tiff in EPSG:3575 fails

Issue Type:

BugBug

Affects Versions:

2.2-RC1

Assignee:

Andrea Aime

Created:

03/Jul/12 8:11 PM

Description:

Situation is a geotiff in EPSG:3575 which has the following the WKT representation:

PROJCS["WGS 84 / North Pole LAEA Europe", 
  GEOGCS["WGS 84", 
    DATUM["World Geodetic System 1984", 
      SPHEROID["WGS 84", 6378137.0, 298.257223563, AUTHORITY["EPSG","7030"]], 
      AUTHORITY["EPSG","6326"]], 
    PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], 
    UNIT["degree", 0.017453292519943295], 
    AXIS["Geodetic longitude", EAST], 
    AXIS["Geodetic latitude", NORTH], 
    AUTHORITY["EPSG","4326"]], 
  PROJECTION["Lambert_Azimuthal_Equal_Area", AUTHORITY["EPSG","9820"]], 
  PARAMETER["latitude_of_center", 90.0], 
  PARAMETER["longitude_of_center", 10.0], 
  PARAMETER["false_easting", 0.0], 
  PARAMETER["false_northing", 0.0], 
  UNIT["m", 1.0], 
  AXIS["Easting", "South along 100 deg East"], 
  AXIS["Northing", "South along 170 deg West"], 
  AUTHORITY["EPSG","3575"]]

The issue occurs when we serialize out the WKT, using CoordinateReferenceSystem.toWKT().

Caused by: org.geotools.referencing.wkt.UnformattableObjectException: This "AxisDirection" object is too complex for WKT syntax.
	at org.geotools.referencing.wkt.Formattable.toWKT(Formattable.java:179)
	at org.geotools.referencing.wkt.Formattable.toWKT(Formattable.java:144)
	at org.geotools.referencing.wkt.Formattable.toWKT(Formattable.java:123)
	at org.geotools.referencing.wkt.Formattable.toWKT(Formattable.java:105)
	at org.geoserver.config.util.XStreamPersister$CRSConverter.toString(XStreamPersister.java:1064)

Project:

GeoServer

Priority:

MajorMajor

Reporter:

Justin Deoliveira

This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your [JIRA administrators](https://jira.codehaus.org/secure/ContactAdministrators!default.jspa). For more information on JIRA, see: [http://www.atlassian.com/software/jira](http://www.atlassian.com/software/jira)