The webmap is slow and unresponsive:īad: background comes cascaded over QGIS Server to the webmapįor maps with WMS/WMTS backgrounds, the map CRS should be set to one which is supported by the WMS/WMTS server. Therefore the OSM tiles are cascaded via QGIS server and reprojected. In the second map, we’ve added the OSM background layer in QGIS and forgot to switch the map CRS from EPSG:2056 (layer CRS of the hiking trails) to EPSG:3857 (CRS of OSM tiles). Good: background comes directly to the webmap The map CRS of the first map published to QGIS Cloud is set to EPSG:3857, so the OSM tiles can be treated as background layers and are coming directly to the webmap: We have hiking trails as foreground theme and an OSM background map. The following two examples illustrate this difference. Otherwise, QGIS server needs to reproject the OSM tiles and this is very slow for each zoom or pan operation. if we add an OpenStreetMap, Bing, Google background (as xyz-Layer from the browser or with the Quickmap plugin), the map CRS should be set to EPSG:3857. Keep in mind that background layers can only be directly displayed in the webmap if the raster background layer CRS matches the map CRS (not on-the-fly reprojected). QGIS Cloud also considers that these layers still need to be cascaded over QGIS Server for printing.Ĭurrently WMS, WMTS, OpenStreetMap, Bing, Google are supported as background layers. When a project is published, we try to detect which layers are background layers and can be loaded directly in the webmap. Therefore, we recently improved the handling of background layers in QGIS Cloud. If the background map comes directly to the web map and only the foreground comes as WMS, the webmap is much faster and responsive. If the foreground and the background both come as one WMS from QGIS Server, the published web map is usually slow and unresponsive. The background raster layer typically comes from a service like WMS, WMTS, OpenStreetMap, Bing, Google. So I wouldn't say its a flat out 'no', but rather QGIS needs to be complimented with additional solutions, but can be used as part of the overall solution. Other capability may need extension of the web mapping solution. However most maps consist of a foreground (vector) theme and a background raster layer. QGIS would be used in the context of managing the data sources and potentially, publishing of web services via plugins. QGIS Cloud maps are normally WMS maps delivered by QGIS Server. Today our topic is handling of background maps in QGIS Cloud. Sourcepole QGIS Cloud is a great and convenient way to publish geodata as webmaps, to have a database and to manage everything from the desktop GIS. Responsive background maps with QGIS Cloud
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |