kartoza / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
http://geonode.org/
GNU General Public License v3.0
8 stars 17 forks source link

Rendering problem on branch qgis_server_backend #121

Closed ldgeo closed 7 years ago

ldgeo commented 8 years ago

Hello,

i've tried several ways to have qgis-server backend working (branches develop, master, qgis_server and qgis_server_backend). Only qgis_backend_server seems to work with a quick fix related to the configuration (https://github.com/ldgeo/geonode/commit/d552c2ba45fc4b82c31519267b7590252cff5072)

i've managed to load some layers, i'm able to view layers with tiles generated from qgis-server but it seems that tiles are sometimes shifted (any problem on bbox, accuracy?)

Any ideas for this problem or any fix in newer commits ?

layers_problem

additionnal infos:

Gustry commented 8 years ago

Hello,

This was an old bug, that we have fixed. See #74. Is is possible to give your CRS for this layer ? I'm going to try again on my side.

leny-pa commented 8 years ago

Hi,

CRS of the screenshot layer is WGS84 4326. I did a test for this layer with a reprojected layer in 3857. It is worst, the layer is not visible at all.

BUT it works well with other layers so it's probably a projection issue on some of our layers. i will investigate.

Thanks

Gustry commented 7 years ago

4326 or 3857 or whatever projection should work.

I will have a look on a new geonode instance soon.

ldgeo commented 7 years ago

Ok your fix is in develop branch, but i used geonode-qgis-server from @ismailsunni

https://github.com/ismailsunni/geonode_qgis_server/blob/develop/geonode_qgis_server/views.py doesn't have the fix.

I applied the diff to views.py and it seems to fix the problem.

Could you shed some lights on the status of the qgis server backend ?
What branch we should use at this time ? The PR from Ismail has been merged into geonode but lack of some fixes (like the solution of this issue)

Thanks

ldgeo commented 7 years ago

ok fixed in kartoza/geonode_qgis_server/pull/6