Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/GEOS-229
Here is an overview of the issue:
---------------------------------------------------------------------
Key: GEOS-229
Summary: sdo_geom.gtype not set correctly when inserting features on Oracle (10g)
Type: Bug
Status: Open
Priority: Major
Original Estimate: 1 hour
Time Spent: Unknown
Remaining: 1 hour
Project: GeoServer
Components:
WFS
Transactions/Locking
Oracle
Assignee: Sean Geoghegan
Reporter: Thijs Brentjens
Created: Thu, 14 Oct 2004 5:30 AM
Updated: Thu, 14 Oct 2004 5:30 AM
Environment: Oracle 10g
Description:
When inserting features with the WFS on an Oracle database (10g), it seems that the SDO_GEOM.GTYPE is not set correctly. For example: for points the gtype is set 1 (or: 0001), for lines gtype is set 1002. So the first digit (the dimension) is not correct.
As far as I get it, this gtype-value is set with GeoTools, in org/SQLEncoderOracle.java. So maybe this is the place to report the issue, but hopefully someone can help out.
Anyway, I'm not a Java-developer, but my guess is that in SQLEncoderOracle.java the function [geometryType].getDimension(), e.g. used in SQLEncoderOracle.java as point.getDimension or line.getDimension(), doesn't return the correct value (that is '2'). I do not have a Java environment to develop/debug anything now, so hopefully somebody can solve this problem.
Thijs
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira