[Qgis-developer] implementing a custom QGIS data provider
Martin Dobias
wonder.sk at gmail.com
Sun Jun 20 07:28:52 EDT 2010
>> Option 2: Write an SA12 data provider plugin for QGIS in Python
>> Pros: distribution/management is taken care of by the Python plugin
>> manager
>> Cons/Questions:
>> a. Is this even possible? Looking through the repositories, I can't
>> find an example of a data provider written in python, or at least not one
>> that that allows definition of a DBMS-backed layer with full read/write
>> access.
>
> The bindings to QgsVectorDataProvider are there. So it should be possible, but
> I never tried.
To clarify: currently there is no support for loading data providers
written in Python, only C++ providers are supported. Using Python for
data provider that should access lots of features will likely bring
quite some overhead, so I would strongly recommend C++ anyway.
Regards
Martin
More information about the Qgis-developer
mailing list