lizmap-web-client icon indicating copy to clipboard operation
lizmap-web-client copied to clipboard

printing orthophotos which are not by IGN

Open InnovPlantProtect opened this issue 2 years ago • 6 comments

Description

hello! Is there a way to print an orthophoto which is not by IGN? the documentation is very clear but it only describes what to do if the QGIS project has IGN orthophotos. How about orthophotos from other countries and providers?

Environment

  • Lizmap version: 3.4.4
  • QGIS Server FULL version: >3.0
  • QGIS Desktop FULL version: 3.16LTR
  • OS (Windows, Linux, MacOS, Android…): Linux
  • Browser (Firefox, Chrome…): Firefox/Chrome
  • Lizmap admin information (users, logs…) stored into Sqlite (default)? PostgreSQL? MySQL? Postgresql

InnovPlantProtect avatar Mar 10 '22 15:03 InnovPlantProtect

Hi,

Is the raster stored locally or are lizmap accesses it remotely (WMS, COG) ? In the first case, you should have no difficulty to print your map. In the second case, it really depends on the provider.

arno974 avatar Mar 23 '22 09:03 arno974

@arno974 the raster is accessed remotely via WMS so it depends on the provider. I didn't know it hence thanks a lot for your reply!

InnovPlantProtect avatar Apr 05 '22 11:04 InnovPlantProtect

If its a simple WMS, you can simply add it to your map. Then, when you will print your map, it will print all the layers selectionned by the user.

arno974 avatar Apr 05 '22 13:04 arno974

@arno974 what you suggest does not work with our WMS. Thus, based on your previous reply i thought that the provider somehow had protected the orthophoto. Have you tried to add a WMS raster in Lizmap and print it?

InnovPlantProtect avatar Apr 05 '22 13:04 InnovPlantProtect

Yes, I've several project that used external WMS and the print feature works perfectly. It might be related to your provider.

arno974 avatar Apr 05 '22 14:04 arno974

Hiya! This issue has gone quiet. 👻 We get a few questions in the bug tracker, so we currently slowly closing issues. If we missed this issue or if you want to keep it open, please reply here. As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Thanks for being a part of the Lizmap community! 🦎

3liz-bot avatar Oct 03 '22 05:10 3liz-bot