Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Data load from GML to Oracle Spatial using Java SDO API

gkk1969Oct 7 2002
Hello folks,

I am trying to load spatial data contained in a GML file into an Oracle Spatial DB. What approach would you recomend?

I intend to use the Java SDO API. For this I'll have to implement a GML to SDO adapter first (as per the examples for using the Java SDO API, the shapefile adpater) and then use the example as a guidline to load the data.

Another possibility perhaps is to convert the GML file into a (ESRI) shapefile and use the shp2sdo utility to convert the existing file and then use the SQL*Loader to do the actual load into the Oracle Spatial DB.

Please, let me know what you think it would be the easiest and fastest way to do this. We'd like to use Java, but if it is not easy to load data to an Oracle Spatial db with it, then we'll use whatever tool/method available. Thank you in advance.

Georgi
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 6 2002
Added on Oct 7 2002
1 comment
528 views