[Qgis-user] [QGIS-Developer] Python Implementation of QgsNetworkContentFetcher

Richard Duivenvoorde rdmailings at duif.net
Mon Nov 25 23:22:37 PST 2019


On 26/11/2019 00.06, Nyall Dawson wrote:

> There's not. But there's the ex-boundless "networkaccessmanager"
> implementation that supports authcfg, which you can find at
> https://github.com/north-road/qgis-redistricting-plugin/blob/master/redistrict/linz/networkaccessmanager.py
> (and other projects -- as far as I'm aware there's no real upstream
> for this... Alessandro?).

I used this Boundless thingie for several plugins now (original source
is now pointing/redirecting to planetlabs [0]).

I think we already discussed several times that it would be good to
incorporate this into a commons lib for QGIS. But if I'm correct the
actual interface was not exactly what some wanted, and if I recall
correct Nyall tried to pull this into c++ but hit some multithreading
issues.

But as Nyall says: I think this is a great lib to use in a plugin (also
because it used the QgisNetwork-stuff, so you can receive the signals
from it or log the precise urls, like we do in the QGISnetworklogger
plugin [1]

Regards,

Richard Duivenvoorde

[0]
https://github.com/planetfederal/lib-qgis-commons/blob/master/qgiscommons2/network/networkaccessmanager.py
[1] https://github.com/rduivenvoorde/qgisnetworklogger


More information about the Qgis-user mailing list