[Lizmap] Behavior of popup when using relations in Lizmap Web Client

Zizi Jama mazizi.jama at gmail.com
Sat Feb 19 01:31:13 PST 2022


Hello,

I have defined a relation between a spatial layer and an attribute table,
both in a Postgis database.

In QGIS clicking a feature with the identify tool one is able to see the
spatial layer (parent) and its related attribute table (child).

Publishing this using Lizmap plugin
1. enabling popup and display related children for the spatial layer and
popup source is auto.
2. enabling popup for the attribute layer and popup source is auto

Clicking a feature in Lizmap Web Client, I only get a popup for the spatial
layer and not the related attribute table.

Using the data icon and selecting a feature I am able to view the related
record when using toggle children table.

I am not sure why this is happening - but I see 400 status ([HTTP/1.1 400
Bad Request 26ms]) in developer tools for POST
http://127.0.0.1:8090/index.php/lizmap/service/?repository=municipalgis&project=DBNGIS_Application
the request parameter is
LAYERS=Owner&QUERY_LAYERS=Owner&STYLES=&SERVICE=WMS&VERSION=1.3.0&CRS=EPSG%3A4326&REQUEST=GetFeatureInfo&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&FEATURE_COUNT=10&INFO_FORMAT=text%2Fhtml&FILTER=Owner%3A%22sgkey%22+IN+%28+%27C03500020000047500000%27+%29+AND+%22sgkey%22+%3D+%27C03500020000047500000%27

Any pointers on how to proceed are appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20220219/47456a56/attachment.html>


More information about the Lizmap mailing list