[Qgis-user] QGIS Web Client - QWC Issues loading map (server loads fine)

Carlos da Ponte cdaponte at sustainableelements.ca
Mon Jul 14 17:43:38 PDT 2014


I've made progress and I may have encountered a bug (or I'm just naive).

Turns out my issue with layers displaying was because of a difference in the
layers 'Layer Name' and the 'Displayed Name' (in QGIS 2.4 layer
properties/general).  If I changed the layer display name by right clicking
on the layer in the legend the layer name (in properties) doesn't match
exactly to the displayed name.  Now this makes sense...however from what I
can tell QWC is expecting the layer legend name to match the layer name and
if they don't match then it assumes the layer has no features (which also
makes sense since XML is case sensitive).

Not sure how this can be addressed in QWC.  For the meantime, if I change
the Layer Name in QGIS Layer Properties form (which then causes both the
layer name and displayed name to match) then everything appears to work just
fine in QWC.  Happy to discuss the issue in more detail in the Hub if it is
indeed a bug.

Bernhard thanks for the great support! Always appreciated!.
Carlos



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/QGIS-Web-Client-QWC-Issues-loading-map-server-loads-fine-tp5150233p5151021.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.



More information about the Qgis-user mailing list