kartoza / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
http://qgis.org
GNU General Public License v2.0
0 stars 2 forks source link

support adding styles to geonode layers #18

Open gubuntu opened 7 years ago

gubuntu commented 7 years ago

depends on https://github.com/kartoza/geonode/issues/149

ismailsunni commented 7 years ago

Per @timlinux's request, I made a diagram to show the user interaction when do push and pull style from / to GeoNode. stylepushpull

ismailsunni commented 7 years ago

It seems my diagram won't work. Since we added the layer as WFS, WMS, or XYZ, they are independent from the geonode instance. I am not sure that we can make a variable to register all geonode layer that related to geonode. One example, if I saved a project with WFS/WMS/XYZ layer from geonode, then open it to the other QGIS that doesn't have geonode, it will still work.

And correct me if I am wrong:

  1. For WMS layer, since it is a raster, we can't style it like a vector layer. But since the layer in geonode can be vector, it won't be compatible
  2. Same goes for XYZ.
  3. For WFS layer, the style from the geonode/QGIS Server/geoserver is not applied when we loaded it in QGIS.

One way to do it is to download the layer as it is (vector or raster), the do style manipulation in QGIS. Then we added context menu to push/pull the style or upload the layer. It will be available for all layers in QGIS.

ismailsunni commented 7 years ago

Here I propose another interaction to push layer/style/metadata by using layer context menu. It should work for all layers. geonodecontextmenu

cc @timlinux @myarjunar