Srikanth,<br><br>The ogr2ogr utility might be of help to you.<br>Docs: <a href="http://gdal.org/ogr2ogr.html">http://gdal.org/ogr2ogr.html</a><br>Download: <a href="http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries">http://trac.osgeo.org/gdal/wiki/DownloadingGdalBinaries</a><br>
<br><div class="gmail_quote">On Fri, Jul 17, 2009 at 4:37 PM, Srikanth <span dir="ltr"><<a href="mailto:srikanth1947@gmail.com">srikanth1947@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Peter ,<br>
<br>
To be more specific, I want to store a ESRI shape file into the oracle<br>
database. I would like to know whether gdal provides such a kind of<br>
direct method where in if one passes the shape file name it gets<br>
stored in the database handling the conversion of SDO_GEOM type<br>
internally.<br>
<br>
I have gone through the example provided by Mr.Frank ( fastload.cpp<br>
and ocitest.cpp ) but he I do not want handle the oci calls by myself.<br>
<br>
Is there any possibilty to meet my requirement.<br>
<br>
Regards,<br>
Srikanth<br>
<div><div></div><div class="h5"><br>
On Fri, Jul 17, 2009 at 3:20 PM, Peter Halls<<a href="mailto:P.Halls@york.ac.uk">P.Halls@york.ac.uk</a>> wrote:<br>
> Srikanth,<br>
><br>
> with the driver documentation, Frank has provided a simple overview<br>
> example. Otherwise, the OCI driver works just like any other. Look carefully<br>
> at Frank's syntax for the connection string, though.<br>
><br>
> I've been using this driver for a couple of years now with very good<br>
> results - indeed, this seems more convenient than using the ArcSDE driver<br>
> interface and is a good test that the SDE environment is properly set up to<br>
> share data through Oracle.<br>
><br>
> I'm not in my office at the moment, however when I'm back I could dig out<br>
> some examples of how my code uses the OCI driver, if that would be any help<br>
> to you.<br>
><br>
> Best wishes,<br>
><br>
> Peter<br>
><br>
> On Jul 17 2009, Srikanth wrote:<br>
><br>
>> Dear All,<br>
>><br>
>> I want to connect to Oracle and save/retrieve the vector/raster files<br>
>> using OCI. I have identified the classes ( ogrocidriver, ogrocistatement,<br>
>> ogrocitablelayer, etc) in GDAL to achieve this.But I did not find any<br>
>> documentation or examples to guide. I would be thankful if anyone can<br>
>> provide me suitable examples or guide me in locating suitable documenation.<br>
>><br>
>><br>
><br>
> --<br>
> --------------------------------------------------------------------------<br>
> Peter Halls, University of York GIS Advisor<br>
> Snail Mail: Computing Service, Heslington, York YO10 5DD, England<br>
> Telephone: 01904 433806 FAX: 01904 433740<br>
><br>
> This message has the status of a private & personal communication<br>
> --------------------------------------------------------------------------<br>
><br>
><br>
><br>
><br>
<br>
<br>
<br>
</div></div><font color="#888888">--<br>
Regards,<br>
Srikanth K.<br>
<a href="http://www.servetheneedy.org" target="_blank">www.servetheneedy.org</a><br>
</font><div><div></div><div class="h5">_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</div></div></blockquote></div><br><br clear="all">Best regards,<br>-- <br>Chaitanya kumar CH.<br>