Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeoJSON refresh layer not shown #28

Open
rduivenvoorde opened this issue Feb 6, 2019 · 6 comments
Open

GeoJSON refresh layer not shown #28

rduivenvoorde opened this issue Feb 6, 2019 · 6 comments

Comments

@rduivenvoorde
Copy link
Owner

Though not a plugin problem, I just created a little wsgi which returns a geojson: https://duif.net/mwdemo/
that if loaded as vector protocol layer, is not shown ? Not sure if that is just not using QgsNetworkmanager or it is something else...

@nyalldawson
Copy link
Collaborator

I suspect this is because it's being loaded as an OGR layer, right? In this case OGR has its own completely separate network stack, and no knowledge or ability to utilise QgsNetworkAccessManager at all. Not sure if there's another way we can hook in here -- might be worth asking on the GDAL list?

@rduivenvoorde
Copy link
Owner Author

Just for reference, Nyall asked: https://lists.osgeo.org/pipermail/gdal-dev/2019-February/049732.html
So (my conclusion): not easy/soon...

@olivierdalang
Copy link

This would be really helpful for debugging COG (Cloud Optimized Geotiffs) too

@rduivenvoorde
Copy link
Owner Author

rduivenvoorde commented Jun 17, 2020

@olivierdalang Note that this plugin is now actually obsolete he, since 3.13. The one that is in QGIS itself now is even better and c++

For what I know it was hard to retrieve the networklog/info from gdal ....

@mstuyts
Copy link

mstuyts commented Jun 18, 2020

You mean since QGIS 3.13? I don't think it's available in version 3.12.

@rduivenvoorde
Copy link
Owner Author

Ah, duh, Yes @mstuyts you are very right. Sorry for confusion. Will try to edit comment.

For reference: inbuild networklogger is available since QGIS 3.14 (Pi) / 3.13(dev).
I will update the plugin metadata so it will not show up in >=3.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants