[gdal-dev] How to register ArcSDE driver
Tamas Szekeres
szekerest at gmail.com
Tue Aug 9 15:32:31 EDT 2011
Hi,
Make sure to place the ogr_SDE.dll into the /gdalplugins subdirectory from
where your application is running. Alternatively you can set the
GDAL_DRIVER_PATH environment setting to point to the directory of the plugin
dll-s
Best regards,
Tamas
2011/8/9 L.M Tan <konglongbt at gmail.com>
> 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!
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20110809/4380ebbb/attachment.html
More information about the gdal-dev
mailing list