[Lizmap] Lizmap/qgis server : cache management (seeding)

celati Laurent laurent.celati at gmail.com
Mon May 15 06:05:58 PDT 2023


Good afternoon,
On debian/apache, I succeed in installing qgis server and lizmap. I am a
little surprised by the poor performance that I can observe currently. They
must probably be explained by a bad configuration that I need to improve. I
am thinking in particular of the cache.
I'm trying to follow this page from the doc:
https://docs.lizmap.com/current/en/admin/cache.html#seeding
If I understand correctly, I would benefit from generating the tile cache.

When I do:

*lizmap-web-client-3.6.3# php lizmap/console.php wmts:cache:seed -v -f dr0
drills_2154 EPSG:2154 1 7*

I get :

In Input.php line 76:









*   [Symfony\Component\Console\Exception\RuntimeException]   Not enough
arguments (missing: "TileMatrixMax").Exception trace:   at
/var/www/lizmap/lizmap-web-client-3.6.3/lizmap/vendor/symfony/console/Input/Input.php:76
Symfony\Component\Console\Input\Input->validate() at
/var/www/lizmap/lizmap-web-client-3.6.3/lizmap/vendor/symfony/console/Command/Command.php:293
Symfony\Component\Console\Command\Command->run() at
/var/www/lizmap/lizmap-web-client-3.6.3/lizmap/vendor/symfony/console/Application.php:1040
Symfony\Component\Console\Application->doRunCommand() at
/var/www/lizmap/lizmap-web-client-3.6.3/lizmap/vendor/symfony/console/Application.php:301
Symfony\Component\Console\Application->doRun() at
/var/www/lizmap/lizmap-web-client-3.6.3/lizmap/vendor/symfony/console/Application.php:171
Symfony\Component\Console\Application->run() at
/var/www/lizmap/lizmap-web-client-3.6.3/lizmap/vendor/jelix/jelix/lib/jelix/Scripts/ModulesCommands.php:48
Jelix\Scripts\ModulesCommands::run() at
/var/www/lizmap/lizmap-web-client-3.6.3/lizmap/console.php:2*

*wmts:cache:seed [--dry-run] [--bbox BBOX] [-f|--force] [--] <repository>
<project> <layers> <TileMatrixSet> <TileMatrixMin> <TileMatrixMax>[/ coded]*

And when I try to add a layer as an argument:
*lizmap-web-client-3.6.3# php lizmap/console.php wmts:cache:seed -v -f dr0
forages_2154 Ouvrage_a_Realiser_Pt EPSG:2154 1 7*

I get :




*[code]The cache in not available!The WMTS Service has not been
initialized!The WMTS Service has been initialized!No layers configured with
cache![/code]*

In advance, thanks for your help.

Kind regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/lizmap/attachments/20230515/a1900aca/attachment.htm>


More information about the Lizmap mailing list