Issue Type: Bug Bug
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: Major Major
Reporter: Justin Deoliveira
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to