[Geoserver-devel] Oracle-error: could not import geometry

Hello,

I'm trying to get features from an Oracle database, using geoserver. But I keep getting this error back when I request for features:

<?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://localhost:8080/geoserver/data/capabilities/wfs/1.0.0/OGC-exception.xsd&quot;&gt;
   <ServiceException locator="test_boundary">
      While getting connection to datasource: org.geotools.data.DataSourceException: Could not import geometry
   </ServiceException>
</ServiceExceptionReport>

The table TEST_BOUNDARY only has a column OBJECT_ID and a column SHAPE (mdsys.sdo_geometry). The table contains lines.

I can't figure out where this error is caused.

Is there anyone familiar with this error or does anyone have suggestions what could be the problem?

Many thanks in advance!

Thijs Brentjens

Sean resolved this issue off-list, as we didn't want to clutter the list
with a bunch of email messages of all the stack traces and error logs.
The problem was that there was no entry in USER_SDO_GEOM_METADATA for the
test table. Sean fixed the oracle datasource to have better error
reporting on this issue in the future.

  Chris

On Mon, 27 Oct 2003, T. J. Brentjens wrote:

Hello,

I'm trying to get features from an Oracle database, using geoserver. But I keep getting this error back when I request for features:

<?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://localhost:8080/geoserver/data/capabilities/wfs/1.0.0/OGC-exception.xsd&quot;&gt;
   <ServiceException locator="test_boundary">
      While getting connection to datasource: org.geotools.data.DataSourceException: Could not import geometry
   </ServiceException>
</ServiceExceptionReport>

The table TEST_BOUNDARY only has a column OBJECT_ID and a column SHAPE (mdsys.sdo_geometry). The table contains lines.

I can't figure out where this error is caused.

Is there anyone familiar with this error or does anyone have suggestions what could be the problem?

Many thanks in advance!

Thijs Brentjens

-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community? Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--