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