Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There are two popular options: open source <code>ogr2ogr</code> or a commercial offering from <a href="http://www.safe.com/" rel="nofollow">Safe Software</a>.</p> <p>Here is how I'd approach the <code>ogr2ogr</code> solution.</p> <p>First, you need to have the right tools: <a href="http://gdal.org/" rel="nofollow">GDAL/OGR</a>. If you are on Unix, compile using the right libraries to get Oracle support (not enabled by default). But I'm going to assume you are on Windows. The simplest way to get open source geospatial tools is with <a href="http://trac.osgeo.org/osgeo4w/" rel="nofollow">OSGeo4W</a>. To enable Oracle support for GDAL/OGR, you need to also select the <code>gdal-oracle10g</code> package in setup.exe with the "Advanced Install" mode. More info about the Oracle package is at <a href="http://trac.osgeo.org/osgeo4w/wiki/pkg-gdal-oracle-10g" rel="nofollow">this page</a>, and note that you also need to supply the non-free <code>OCI.DLL</code>. When working, you should see the driver name appear with <code>ogr2ogr --formats</code>.</p> <p>Your basic command from the OSGeo4W Shell should look something like:</p> <pre><code>ogr2ogr -f "PostgreSQL" PG:"host=localhost user=someuser dbname=somedb password=password port=5432" OCI:someuser/password layername </code></pre> <p>Here is more info on GDAL/OGR:</p> <ul> <li>ogr2ogr command usage: <a href="http://www.gdal.org/ogr2ogr.html" rel="nofollow">http://www.gdal.org/ogr2ogr.html</a></li> <li>Oracle Driver: <a href="http://www.gdal.org/drv_oci.html" rel="nofollow">http://www.gdal.org/drv_oci.html</a></li> <li>PostgreSQL/PostGIS driver: <a href="http://www.gdal.org/drv_pg.html" rel="nofollow">http://www.gdal.org/drv_pg.html</a></li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload