Is it possible to add a PostGIS raster layer to a project using PyQGIS?
The PyQGIS Developer Cookbook mentions adding rasters from files,
geopackages and WCS services.
If I try using a QgsDataSourceUri by feeding it a raster column instead of a
geometry column, the PostGIS error that is generated shows that is not going
to work because raster is not a geometry:
WARNING Erroneous query: SELECT 0, array_agg(DISTINCT
st_srid("rast")::text || ':' || UPPER(geometrytype("rast"))) FROM
"public"."indicators__g_economic_rebal_r_62ft" returned 7 [ERROR: function
geometrytype(raster) does not exist
Any ideas of what I can do? Do I just have to give up on PostGIS rasters and
just turn it into WCS on the server?
--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user