<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
José,<br>
<br>
You might consider using OGR from <a class="moz-txt-link-freetext" href="http://www.gdal.org/ogr/">http://www.gdal.org/ogr/</a> <br>
with the ogr2ogr.exe commandline tool, you might be able to convert
directly into postGIS from an Oracle DB. <br>
You can download ogr as part of the fwtools at
<a class="moz-txt-link-freetext" href="http://fwtools.maptools.org/">http://fwtools.maptools.org/</a><br>
<br>
Formats describe that OGR has read/write support for both spatial
databases. I do know the syntax to convert ESRI shape into postGIS:<br>
<br>
ogr2ogr -overwrite -f "PostgreSQL" PG:"host=localhost user=gis_user
dbname=gismain password=gis" -nln road "C:\mapdata\data\myRoads.shp"<br>
<br>
when translating this to a direct conversion from Oracle spatial you
will come to something like:<br>
<br>
ogr2ogr -overwrite -f "PostgreSQL" PG:"host=localhost user=gis_user
dbname=gismain password=gis" -nln road
"OCI:userid/password@database_instance:table,table"<br>
<br>
Unfortunately I haven't been able to test this, I have no OCI client
and no Oracle Spatial DB available. But it should be possible!<br>
<br>
Hope I have been of some assistance.<br>
<br>
<br>
<br>
JOSE MORAN schreef:
<blockquote
 cite="mid:69f4f5160708281503l705debc3s6843b2e9b23e1c7f@mail.gmail.com"
 type="cite">Hi guys,<br>
I'm searching any way to moving oracle spatial tables to Postgis..<br>
I thought Postgis have some tool to do this.. but nothing I have found..<br>
and not luck with documentation either<br>
  <br>
Please some help in this approach
  <br>
  <br>
Saludos<br>
José<br>
  <br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<a class="moz-txt-link-freetext" href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a>
  </pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<title>3DSite</title>
<meta http-equiv="Content-Type" content="text/html; ">
<style type="text/css">
<!--
body {
        background-color: #FFFFFF;
        margin-left: 5px;
        margin-top: 5px;
        margin-right: 5px;
        margin-bottom: 5px;
}
body,td,th {
        font-family: Arial, Helvetica, sans-serif;
        font-size: 12px;
        color: #333333;
}
.style4 {font-size: 9px; }
.style5 {font-size: 9px; color: #CCCCCC; }
-->
</style>
<meta content="MSHTML 6.00.2900.2912" name="GENERATOR">
<br>
<table border="0" cellpadding="0" cellspacing="0" width="400">
  <tbody>
    <tr>
      <td rowspan="3" align="left" height="0" valign="bottom" width="15"><br>
      </td>
      <td colspan="2" align="left" height="78" valign="top" width="0">
      <p class="style4">Milo van der Linden
      <br>
      <a href="skype:milovanderlinden?add">skype: milovanderlinden</a><br>
      <a href="mailto:mlinden@zeelandnet.nl">mlinden@zeelandnet.nl</a><br>
      <a href="mailto:milovanderlinden@gmail.com">milovanderlinden@gmail.com</a><br>
      <a href="mailto:milo@3dsite.nl">milo@3dsite.nl</a><br>
      <a href="http://www.3dsite.nl">http://www.3dsite.nl</a><br>
      </p>
      </td>
      <td rowspan="3" align="left" height="0" valign="top" width="15"> </td>
      <td valign="top" width="300">
      <p class="style5"><span lang="NL">De informatie in dit bericht
reflecteert mijn persoonlijke mening en niet die van een bedrijf of
instantie. Aan de informatie kunnen geen rechten worden ontleend.
Indien dit bericht onderdeel is van een forum, mailing-list of
community dan gelden automatisch de bij het betreffende medium
behorende voorwaarden.</span>
      <span lang="EN">The information in this message reflects my
personal opinion and not that of a company or public body. All rights
reserved.If this message is contained in a mailing-list or community,
the rights on the medium are automatically adapted.</span></p>
      </td>
    </tr>
  </tbody>
</table>
</div>
</body>
</html>