[Qgis-developer] calling createEmptyDataSource from python

Martin Dobias wonder.sk at gmail.com
Fri Jun 6 16:51:12 EDT 2008


On Thu, Jun 5, 2008 at 4:34 AM, Stefanie Tellex <stefie10 at media.mit.edu> wrote:
> Hi,
>
> Is there a way to call the ogr provider's createEmptyDataSource function
> from python?  I could try using ctypes, but I wasn't sure if it would work
> with the sip interface.  Combining two ways of talking to C/C++ from python
> seems hairy.

Hi Stefanie,

what about using QgsVectorFileWriter instead? Or is there anything
that you'd like to use and it's not available?

Bye
Martin


More information about the Qgis-developer mailing list