[Qgis-user] loading WCS through PyQGIS

Richard Duivenvoorde rdmailings at duif.net
Tue May 18 12:01:15 PDT 2021


On 5/18/21 8:27 PM, Guillermo D'Angelo wrote:
> Hello list.
> Is it possible to load a raster from a Web Coverage Service through PyQGIS?
> I'm struggling with this and can't find a working code snippet on the web.

Hi, I wrote some about WCS requests for our national service here:
https://qgis.nl/2019/01/20/wcs-qgis-en-pdok/?lang=en
and here is some working code to create the uri needed:
https://github.com/rduivenvoorde/pdokservicesplugin/blob/master/pdokservicesplugin.py#L425-L445

Hope this is usefull

Regards,

Richard Duivenvoorde


More information about the Qgis-user mailing list