[Qgis-user] R: QGIS Server, Lizmap / OpenLayer, QGIS2Web

Gerald Kogler geraldo at servus.at
Wed Jun 30 08:12:25 PDT 2021


On 30/6/21 16:42, Riccardo D'Alvito wrote:
> Thank you for your reply, it really helped me to understand some of the
> steps but on the other hand, it triggered more questions.
> 
>  1. So QGIS2Web doesn't need QGIS Server for online map publishing? Just
>     take the files that are generated by exporting the project (into
>     QGIS), upload them to any server and they are visible?

You are right, just take the generated files and upload them. The server
only has to serve them, everything else happens client side in the browser.

>  2. Does QGIS Server contain already the QGIS software libraries or does
>     it use map viewers such as OpenLayers? For the visualization of a
>     map using QGIS Server, then, one needs a map viewer like OpenLayers
>     or Leaflet in which to insert the various scripts?

QGIS Server offers OGC services like WMS and WFS to serve your tiles
through HTTP but it doesn't include a map viewer, you have to code your
own one.

>  3. Is LizMap then an easier way to not go through map viewer like
>     OpenLayers?

LizMap (and others like QGIS Cloud, G3W-Suite, etc.) is the easy way as
you don't have to care about hosting and web viewers. But you should
have a look at the demos first to be sure that it fits for your needs,
also it's quite flexible in configuration.

So probably, if you need a really personalized viewer with custom
functionality, you'll have to code your own map viewer. If you need
standard functionality you should be fine with LizMap. And if qgis2web
offers enough functionality, just go with it.


> 
> 
> Thank you very much for your patience.
> 
> Riccardo
> 
> ------------------------------------------------------------------------
> *Da:* Qgis-user <qgis-user-bounces at lists.osgeo.org> per conto di Gerald
> Kogler <geraldo at servus.at>
> *Inviato:* mercoledì 30 giugno 2021 16:02
> *A:* qgis-user at lists.osgeo.org <qgis-user at lists.osgeo.org>
> *Oggetto:* Re: [Qgis-user] QGIS Server, Lizmap / OpenLayer, QGIS2Web
>  
> Hi,
> 
> qgis2web exports a static version of your QGIS project to web using
> OpenLayers or Leaflet as webmap technologies. It gives you some options
> on export, furthermore you could take the exported code and customize it
> furthermore. It produces pure HTML+JS+CSS so you could host it on any
> server.
> 
> One limitation is that all your data is exported as GeoJSON, so it's
> only suitable for limited amount of data as loading of big files could
> be quite slow on web.
> 
> QGIS Server needs a more powerful server infrastructure as you have to
> install QGIS Server package with all it's dependencies. It has the big
> advantage that it serves QGIS projects with all it's symbology exactly
> as they are shown on desktop. But you have to code your own web viewer,
> for example using OpenLayers.
> 
> LizMap uses QGIS Server but offers you the hosting so you don't have to
> care about server setup and maintenance and the web map viewer based on
> OpenLayers.
> 
> Hope that helps
> Gerald
> 
> 
> 
> On 30/6/21 15:10, Riccardo D'Alvito wrote:
>> Morning.
>> 
>> I would like to get information on the differences that there are
>> between QGIS Server and LizMap and between OpenLayers and QGIS2Web. I
>> can't quite figure out where the operation of one ends and the operation
>> of the other begins.
>> I know I'm getting a little confused so I need some keys to enlighten me. 
>> 
>> Thank you.
>> 
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> <https://lists.osgeo.org/mailman/listinfo/qgis-user>
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> <https://lists.osgeo.org/mailman/listinfo/qgis-user>
>> 
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> <https://lists.osgeo.org/mailman/listinfo/qgis-user>
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> <https://lists.osgeo.org/mailman/listinfo/qgis-user>



More information about the Qgis-user mailing list