[Lizmap] Dataviz - Limitations?
Immo Blecher
immo at blecher.co.za
Thu Apr 1 06:03:55 PDT 2021
Hi Etienne,
I have now upgraded desktop and server to 3.18.1 and the latest Lizmap
3.4.3, and also updated the Lizmap plugin. Still the same problem:
The Lizmap popups do not show the children from the relations, although
ticked and published in WFS. And Dataviz does not show the charts any
more. The chart header briefly pops up and the chart is not shown.
I guess it has something to do with the relations set up in the QGIS
project and my project is valid. So something has changed between 2.16
and 2.18 or any subversions in between?
I also checked the "popupDisplayChildren": "True" in the .cfg and the
relation in the .qgs...all seem to be fine.
Any ideas?
Immo
On 2021/03/18 11:27, Etienne Trimaille wrote:
> On the first tab of the Lizmap plugin, we tried to highlight the fact
> that it is required to have the same version between QGIS Desktop and
> Server.
> It's not linked to your issue directly, but QGIS Server 3.16 might not
> read correctly a QGS file made with QGIS Desktop 3.18. So some configs
> might be unread/lost by the server. Always keep the same version.
>
> Le jeu. 18 mars 2021 à 16:23, Immo Blecher <immo at blecher.co.za
> <mailto:immo at blecher.co.za>> a écrit :
>
> Hi,
>
> reverting to 3.10 will be difficult as the QGIS server is on an
> external server on which I have little control. But maybe I must
> mention that I am on Desktop 3.18 and the server on 3.16. I could
> maybe go back to the LTR desktop and see what happens.
>
> But also during the process I upgraded the Lizmap plugin...not
> sure whether that made a difference. But I also noticed that the
> "display children" in the popup does not work (it also used to
> work). So somewhere there is a problem with detecting the
> relationship?
>
> I will try a few things, including updating the server and provide
> feedback if I find anything worth noting.
>
> Immo
>
> On 2021/03/18 10:46, Nicolas Boisteault wrote:
>>
>> Hi,
>>
>> Can you try with QGIS Desktop and Server 3.10 ?
>>
>> Le 17/03/2021 à 16:41, Immo Blecher a écrit :
>>>
>>> Hi All,
>>>
>>> My Setup:
>>>
>>> 1. Lizmap 3.4.0
>>> 2. QGIS Server 3.16
>>> 3. All on Linux Server (not sure which one, offsite)
>>> 4. All spatial and table data in PosgreSQL
>>>
>>> I had a Dataviz set up with a bar chart for monthly rainfall
>>> [mm] to display in the popup by clicking on a rainfall station
>>> on the map. First I only had 3 sites which worked fine. Then I
>>> added another four sites and now the chart header briefly
>>> flashes and disappears again.
>>>
>>> The rainfall station table is the master and the rainfall
>>> readings are in a detail table (1-N) with 4 fields...ID,
>>> site_id, date, reading and the relation set up with the Rainfall
>>> station table's site_id. The readings are 1 per month (monthly
>>> rainfall), so in Dataviz the X is the date field and the Y is
>>> the reading field. There are about 3700 readings (about 400 to
>>> 700 per site). Is there any limitation on that? Why did it work
>>> with 3 sites and not with the seven? But now even when reverting
>>> to the 3 sites it does not work any more. Is that a cache
>>> problem? The detail table with the rainfall readings is ticked
>>> in the WFS QGIS Server setup and the whole project is valid.
>>>
>>> It seems to be a problem with the relation (maybe???), but in
>>> QGIS info tool the relations show fine (the detail data is there).
>>>
>>> This is quite frustrating.
>>>
>>> Regards
>>>
>>> --
>>>
>>> *Immo F. Blecher**
>>> Street: */50 Lynedoch Eco Village, Lynedoch, Stellenbosch, 7603,
>>> South Africa
>>> //*Postal:*//PO Box 74, Lynedoch, 7603, South Africa
>>> //*Cell:*///+27 83 272 6791 |*Office:*+27 81 359 3704 |*Fax:
>>> *+27 81 359 3704
>>> *Email:*_immo at blecher.co.za_ <mailto:immo at blecher.co.za> |
>>> _immob19 at gmail.com_ <mailto:immob19 at gmail.com>
>>> *Internet:*_https://www.blecher.co.za/_ <https://www.blecher.co.za/>
>>>
>>> Please consider your environmental responsibility. Before
>>> printing this e-mail message, ask yourself whether you really
>>> need a hard copy.
>>>
>>> *IMPORTANT*: The contents of this email and any attachments are
>>> confidential. They are intended for the named recipient(s) only.
>>> If you have received this email by mistake, please notify the
>>> sender immediately and do not disclose the contents to anyone or
>>> make copies thereof.
>>>
>>>
>>> _______________________________________________
>>> Lizmap mailing list
>>> Lizmap at lists.osgeo.org <mailto:Lizmap at lists.osgeo.org>
>>> https://lists.osgeo.org/mailman/listinfo/lizmap <https://lists.osgeo.org/mailman/listinfo/lizmap>
>>
>> _______________________________________________
>> Lizmap mailing list
>> Lizmap at lists.osgeo.org <mailto:Lizmap at lists.osgeo.org>
>> https://lists.osgeo.org/mailman/listinfo/lizmap <https://lists.osgeo.org/mailman/listinfo/lizmap>
> --
>
> *Immo F. Blecher**
> Street: */50 Lynedoch Eco Village, Lynedoch, Stellenbosch, 7603,
> South Africa
> //*Postal:*//PO Box 74, Lynedoch, 7603, South Africa
> //*Cell:*///+27 83 272 6791 |*Office:*+27 81 359 3704 |*Fax: *+27
> 81 359 3704
> *Email:*_immo at blecher.co.za_ <mailto:immo at blecher.co.za> |
> _immob19 at gmail.com_ <mailto:immob19 at gmail.com>
> *Internet:*_https://www.blecher.co.za/_ <https://www.blecher.co.za/>
>
> Please consider your environmental responsibility. Before printing
> this e-mail message, ask yourself whether you really need a hard copy.
>
> *IMPORTANT*: The contents of this email and any attachments are
> confidential. They are intended for the named recipient(s) only.
> If you have received this email by mistake, please notify the
> sender immediately and do not disclose the contents to anyone or
> make copies thereof.
>
> _______________________________________________
> Lizmap mailing list
> Lizmap at lists.osgeo.org <mailto:Lizmap at lists.osgeo.org>
> https://lists.osgeo.org/mailman/listinfo/lizmap
> <https://lists.osgeo.org/mailman/listinfo/lizmap>
>
>
>
> --
>
> Etienne Trimaille
> Ingénieur géomaticien
> www.3liz.com <http://www.3liz.com>
>
> WhatsApp uniquement le matin +33 6 12 93 11 39
> <https://wa.me/0033612931139>
>
>
> *Siège social*
> 73, allée Kleber
> Boulevard de Strasbourg
> 34000 Montpellier
>
--
*Immo F. Blecher**
**Street:***/50 Lynedoch Eco Village, Lynedoch, Stellenbosch, 7603,
South Africa
//*Postal:*//PO Box 74, Lynedoch, 7603, South Africa
//*Cell:*///+27 83 272 6791 |*Office:*+27 81 359 3704 |*Fax:***+27 81
359 3704
*Email:*_immo at blecher.co.za_ <mailto:immo at blecher.co.za>|
_immob19 at gmail.com_ <mailto:immob19 at gmail.com>
*Internet:*_https://www.blecher.co.za/_ <https://www.blecher.co.za/>
Please consider your environmental responsibility. Before printing this
e-mail message, ask yourself whether you really need a hard copy.
*IMPORTANT*: The contents of this email and any attachments are
confidential. They are intended for the named recipient(s) only. If you
have received this email by mistake, please notify the sender
immediately and do not disclose the contents to anyone or make copies
thereof.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20210401/4ff9ad9e/attachment-0001.html>
More information about the Lizmap
mailing list