Hi all,

I'm new to GeoTools, using it underneath GeoServer with an Oracle
datastore to read feature data that is in an unusual format due to having
been originally entered using GeoMedia before being exported to Oracle.

For example, one Oracle table contains in each row a first element with
SDO_ETYPE of 0 (denoting "geometry type not supported by Oracle"): this is
done as to to approximate an "oriented points" geometry, which apparently
is supported by the latest Oracle but was not supported by the Oracle
being used at the time of table creation. Hence, although the data is
two-dimensional the SDO_ORDINATES array in fact contains three ordinates
for the element of type 0, which causes an exception to be thrown at line
2082 of org.geotools.data.oracle.sdo.SDO.coordinates(SDO.java).

For reasons of interoperability with other applications that use the data,
it's not possible for me to change the geometry structure within the
Oracle tables, so I think I need to transform the data somehow before
presenting it to GeoTools. Or should I define a new kind of DataStore? Or
might a GeoMedia datastore be able to handle the Oracle tables? Or do I
need to write a new module for GeoTools?

Any help or hints as to how to get started would be greatly appreciated.
Or can anyone point to the appropriate section(s) of the GeoTools design?

Thanks very much,

Stephen Taylor



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to