[Geoserver-devel] [jira] Created: (GEOS-4746) ImagePyramid creation fails for data in EPSG:3031

ImagePyramid creation fails for data in EPSG:3031
-------------------------------------------------

                 Key: GEOS-4746
                 URL: https://jira.codehaus.org/browse/GEOS-4746
             Project: GeoServer
          Issue Type: Bug
          Components: Image mosaic JDBC
    Affects Versions: 2.1.1
            Reporter: Andrea Aime
            Assignee: Daniele Romagnoli
             Fix For: 2.1.2

Trying to build a image pyramid in said SRS results in:
Exception in thread "main" org.geotools.referencing.wkt.UnformattableObjectException: This "AxisDirection" object is too complex for WKT syntax.

My guess is that this happens while the prj is being written out, with the code using CRS.toWKT(), which is picky about what it encodes.

Better use toString(), which uses a lenient WKT encoding path, or even better cast the object to Formattable and force the lenient behavior programmatically

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira