[Geoserver-devel] [jira] Created: (GEOS-3064) Problem handling complex axis definitions

Problem handling complex axis definitions
-----------------------------------------

                 Key: GEOS-3064
                 URL: http://jira.codehaus.org/browse/GEOS-3064
             Project: GeoServer
          Issue Type: Bug
          Components: Global
    Affects Versions: 1.7.3
         Environment: Windows XP Professional, Apache Tomcat Version 6.0.18, Java 1.6.0_13, Intel Core 2 Duo E8500 processor, 3.25 GByte Ram.
            Reporter: Alexander Paul Robin Cooper
            Assignee: Andrea Aime

Data are held in a Postgres Database using EPSG 3031 coordinates. The following WFS request:

<wfs:GetFeature service="WFS" version="1.0.0"
  outputFormat="SHAPE-ZIP"
  xmlns:add="http://www.add.scar.org"
  xmlns:wfs="http://www.opengis.net/wfs&quot;
  xmlns:ogc="http://www.opengis.net/ogc&quot;
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
  xsi:schemaLocation="http://www.opengis.net/wfs
                      http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd&quot;&gt;
  <wfs:Query typeName="add:cst10_linestring">
    </wfs:Query>
</wfs:GetFeature>

Returns the following service exception report:

  <?xml version="1.0" ?>
- <ServiceExceptionReport version="1.2.0" xmlns="http://www.opengis.net/ogc&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation="http://www.opengis.net/ogc http://schemas.opengis.net/wfs/1.0.0/OGC-exception.xsd&quot;&gt;
  <ServiceException>org.geotools.referencing.wkt.UnformattableObjectException: This "AxisDirection" object is too complex for WKT syntax. This "AxisDirection" object is too complex for WKT syntax.</ServiceException>
  </ServiceExceptionReport>
</wfs:GetFeature>

The bug may be duplicated against version 1.6.0 on www.add.scar.org:8080; this is publicly visible.

The Projection is:

PROJCS["WGS 84 / Antarctic Polar Stereographic",
  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["Polar Stereographic (variant B)", AUTHORITY["EPSG","9829"]],
  PARAMETER["central_meridian", 0.0],
  PARAMETER["standard_parallel_1", -71.0],
  PARAMETER["false_easting", 0.0],
  PARAMETER["false_northing", 0.0],
  UNIT["m", 1.0],
  AXIS["Easting", "North along 90 deg East"],
  AXIS["Northing", "North along 0 deg"],
  AUTHORITY["EPSG","3031"]]

Which I note is reported in WKT from Geoserver!

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira