[QGIS-Developer] Adding a new DataProvider - not found by QgsProviderRegistry

Even Rouault even.rouault at spatialys.com
Tue Aug 29 06:36:22 PDT 2017


On mardi 29 août 2017 15:28:48 CEST Mark Johnson wrote:
> I would like to create a new RasterDataProvider within the same Library as
> the
> QgsSpatiaLiteProvider, which is called: QgsRasterLite2Provider.
> 
> An extra class has been created, but cannot be found by
> the QgsProviderRegistry, reporting 'Invalid data provider rasterlite2'.
> 
> I have assumed, that since Grass also has both a Raster and Vector provider
> that this would not cause a problem.
> 
> Some sort of extra step seems to be needed that I have overlooked.

I'm not sure if you are aware of it, but GDAL 2.2 SQLite driver supports rasterlite2 datasets 
(in read-only), provided it is built against librasterlite2.

Even


-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170829/fe8baf34/attachment-0001.html>


More information about the QGIS-Developer mailing list