I've worked a fair bit with Oracle Spatial and I've had some requests to transition to PostgreSQL Spatial.

Is there a common interface for SDO_Geometry and ST_Geometry? I'm working in Java with EclipseLink ORM.

2 Answers 2


GeoTools http://geotools.org provides PostGIS and OracleSpatial datastores which will abstract away the differences.


OGR supports both Oracle Spatial and PostGIS and there are Java bindings for OGR. Maybe OGR's ogr2ogr can help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.