<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13px">Hello,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I'm a developer of GDAL PostGIS Raster driver, and I'd like to know if it would be possible to modify the "Add PostGIS Layer" menu option to allow adding PostGIS Raster data, in addition to the PostGIS data.</div>

<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><div>Opening the QgsPostgresProvider class definition [1], I see it inherits from QgsVectorDataProvider. I guess I could make the class also inherit from QgsRasterDataProvider, like GDAL does [2], but as I don't have any previous experience developing for QGIS core, I'm probably underestimating the difficulty (besides, I would also need GUI changes...).</div>

<div><br></div><div>I do have experience developing in C/C++, and developing for GDAL and PostGIS libraries. So, do you think this could be an affordable task, without changing a lot of existent code? I'd like this task to be my "August project"</div>

<div><br></div><div>Many thanks in advance.</div><div><br></div><div>Best regards,</div><div class=""><div id=":1lw" class="" tabindex="0"><img class="" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div>

</div><span class=""><font color="#888888">-- <br>Jorge Arevalo<br><br><a href="http://about.me/jorgeas80" target="_blank">http://about.me/jorgeas80</a></font></span></div><span class="" style="font-family:arial,sans-serif;font-size:13px"><font color="#888888"><div>

<br></div><div>[1] <a href="https://github.com/qgis/QGIS/blob/master/src/providers/postgres/qgspostgresprovider.h" target="_blank">https://github.com/qgis/QGIS/blob/master/src/providers/postgres/qgspostgresprovider.h</a></div>

<div>[2] <a href="https://github.com/qgis/QGIS/blob/master/src/providers/gdal/qgsgdalprovider.h" target="_blank">https://github.com/qgis/QGIS/blob/master/src/providers/gdal/qgsgdalprovider.h</a></div></font></span></div>