[Qgis-developer] Writing a data provider in Python

Tim Sutton tim at linfiniti.com
Fri Mar 16 06:11:45 EDT 2007


Hi

Martin is it possible to write  a provider in python with your bindings?

Regards

Tim

2007/3/15, Barry Rowlingson <b.rowlingson at lancaster.ac.uk>:
> I'm working with the 0.9 version and I've been writing python plugins
> happily. One thing I wanted to do was to be able to read excel
> spreadsheets into QGis.
>
> I looked at the delimited text C++ plugin and so I understand the
> fundamentals of a vector data provider, but I can't see how to add a new
> one to the registry. It seems that the registry populates itself at
> startup time, and there's no 'add provider' method of QgsProviderRegistry.
>
> So am I right in thinking that data providers have to be in C++ at the
> moment?
>
> The workaround is to insist that my users export their excel
> spreadsheets as CSV files and then I use the very lovely delimited text
> plugin...
>
> Barry
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.qgis.org
> http://lists.qgis.org/cgi-bin/mailman/listinfo/qgis-developer
>


-- 
-- 
Tim Sutton

Visit http://qgis.org for a great Open Source GIS
Home Page: http://linfiniti.com
Skype: timlinux
MSN: tim_bdworld at msn.com
Yahoo: tim_bdworld at yahoo.com
Jabber: timlinux
Irc: timlinux on #qgis at freenode.net



More information about the Qgis-developer mailing list