[Lizmap] Altiprofil - change resolution

G. Wagner, Wagner-IT info at wagner-it.de
Thu Dec 2 06:45:14 PST 2021


Hi Arnaud,

 

thank you very much, just tested it and it works fine.

 

I would not have thought of long distances. At 900 meters the database has to work quite a lot but it works great.

 

Regards,

Günter

 

 

Von: Arnaud Vandecasteele <arnaud.vdc at geolab.re <mailto:arnaud.vdc at geolab.re> > 
Gesendet: Donnerstag, 2. Dezember 2021 11:29
An: G. Wagner, Wagner-IT <info at wagner-it.de <mailto:info at wagner-it.de> >; 'Etienne Trimaille' <etrimaille at 3liz.com <mailto:etrimaille at 3liz.com> >; Lizmap at lists.osgeo.org <mailto:Lizmap at lists.osgeo.org> 
Betreff: Re: AW: [Lizmap] Altiprofil - change resolution

 

Hi Gunter,

The resolution parameter can now be set in the admin panel.
This resolution is used to compute the profile.
When the line (draw on the map) is less than 1 km then the default resolution is used (e.g. a point every X meters).
When the line is more than 1 km then the script increase the default resolution (default resolution * 5). 
This is done to avoid having heavy computation when users draw a very long line.

Regards,

Arnaud

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20211202/db0e6f4c/attachment.html>


More information about the Lizmap mailing list