|
From: <ji...@co...> - 2005-05-26 15:35:27
|
Multilinestring and Multipolygon issue in Oracle SDO
----------------------------------------------------
Key: GEOT-536
URL: http://jira.codehaus.org/browse/GEOT-536
Project: GeoTools
Type: Bug
Components: oraclespatial =20
Versions: 2.1.M5 =20
Environment: Windows XP, Java 1.5, Oracle 9i
Reporter: Rub=E9n B=E9jar
Assigned to: Sean Geoghegan=20
Priority: Critical
Class org.geotools.data.oracle.sdo.SDO
Methods createMultiLine and createMultiPolygon:
the next code snippet (common for both methods) seems to be an error (the c=
omment says the opposite to the condition in the if sentence). We have trie=
d accessing multipolygons and multilines in Oracle and it gives us the warn=
ing. Removing the ! operator in the if condition seems to fix the problem.
------------------------------------------------
if (!(INTERPRETATION > 1)){
// we cannot represent INTERPRETATION > 1=20
LOGGER.warning( "Could not create MultiLineString with INTERPRETATION "=
+INTERPRETATION+" - we can only represent 1 for straight edges");
return null;
}
--------------------------------------------------
--=20
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
|