[Lizmap] external WMS service with legend and GetFeatureInfo in Lizmap

G. Wagner, Wagner-IT info at wagner-it.de
Wed Dec 28 09:35:28 PST 2022


Hi GM,

 

thanks for the tips.

The legend image works in QGIS but unfortunately not in Lizmap (it was copied to the server, into the project directory).

And the legend URL does not work in Lizmap either. Maybe my URL syntax is wrong here. If there is no other possibility I have to try further.

 

Best regards,

 

Günter Wagner

 

 

 

Von: Giovanni Manghi <giovanni.manghi at gmail.com> 
Gesendet: Mittwoch, 28. Dezember 2022 14:04
An: G. Wagner, Wagner-IT <info at wagner-it.de>
Cc: lizmap at lists.osgeo.org
Betreff: Re: [Lizmap] external WMS service with legend and GetFeatureInfo in Lizmap

 

Hi,

 

but why can't the legend be displayed?

 

Well, maybe (just guessing) it is because the legend is not automatically cascaded when passing through QGIS Server.

 

You can try workaround the problem in two ways, in WMS layer properties (in QGIS):

 

*) set the legend URL (from the remote service) in "legend URL" in the "QGIS server" tab

*) set a "legend placeholder image" in "legend" tab

 

 

cheers!

 

-- GM --

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20221228/c4be8151/attachment.htm>


More information about the Lizmap mailing list