Re: [gdal-dev] Using SWIG from a Driver

2012-02-23 Thread Stefano Moratto
Hi, I think it is possibile using the swig's director feature: Calling back non c/c++ from c/c++ code. Basically you have to develop your driver as a C++ class declared in a swig interface file (.i) declaring virtual functions that have to implements the features of your driver. This driver

Re: [gdal-dev] Using SWIG from a Driver

2012-02-22 Thread Even Rouault
Selon Michael Speth : > Greetings GDAL devs, >I am interested in developing a GDAL driver that calls out to a Java > library that accesses a database that we are developing using SWIG's > Java Bindings. Are there any examples of existing GDAL drivers using > the SWIG bindings? Not that I am

[gdal-dev] Using SWIG from a Driver

2012-02-21 Thread Michael Speth
Greetings GDAL devs, I am interested in developing a GDAL driver that calls out to a Java library that accesses a database that we are developing using SWIG's Java Bindings. Are there any examples of existing GDAL drivers using the SWIG bindings? If not, how might I use the SWIG library fro