[gdal-dev] How to register ArcSDE driver

L.M Tan konglongbt at gmail.com
Tue Aug 9 11:03:03 EDT 2011


hi,

I am interested in using *OGR *to read data from an ArcSDE (9.2-9.3)
database. I have built ogr_SDE.dll,but i can not open the SDE database.

This is the csharp code :

            Ogr.RegisterAll();
            Driver sdedr = Ogr.GetDriverByName("SDE");       //   sdedr =
null
            /*
-------------------------------------------------------------------- */
            /*      Open data source.
        */
            /*
-------------------------------------------------------------------- */
            DataSource ds = Ogr.Open("SDE:192.168.1.123,5151,sde,sde,sde",
0);     //   ds=null

I want to know how to register ArcSDE driver.

TIA for any advice you might give and have a great day!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110809/25da0b6e/attachment.html


More information about the gdal-dev mailing list