[Gdal-dev] OLEDB Provider

Frank Warmerdam warmerdam at pobox.com
Mon Jan 20 15:20:56 EST 2003


Jean ECARD wrote:
> Hello,
> I want to create an OLEDBProvider on my own vector data. I have already
> write the OGRDriver, OGRDataSource and OGRLayer for these kind of data.
> 
> To write an OLEDBProvider (read only in a first time) as the Shape ESRI
> one (SoftmapSF.dll):
> -          what must implemented first?
> 
> 
> Thanks in advance for your help.

Jean,

There are two main ways to add your provider:

1) Add the registration call in ogr/ogrsf_frmts/generic/ogrregisterall.cpp,
    and then all utilities and also the OLEDB provider will "see" your provider.

2) Modify the sfregister.cpp file in the softmap directory to call your
    registration function after (or instead of) OGRRegisterAll().

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent





More information about the Gdal-dev mailing list