Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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.

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

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

share|improve this answer
add comment

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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