Upgrade your QGIS to something from this decade, maybe via Anaconda if using the official repos does not work. This is crucial for vector tiles! Then use the Vector Tiles Reader plugin to load a vector tile mbtile file (and style) or try drag and drop again, which should work in milliseconds for an unstyled display. Openmaptiles files should work fine if you don't want to build your own (try planetiler if you do).
Tangential: When you say "importing" shapefiles from geofabrik.de, what do you mean? Loading them in QGIS for a small area definitely should not take minutes but seconds unless your system is struggling by itself already :o)
If Germany is your main focus, you could also download the mapproxy caches from https://gdz.bkg.bund.de/index.php/default/wmts-topplusopen-wmts-topplus-open.html (warning, they are named .mbtile but are NOT ready-to-go files in the MBTiles standard) and run a local mapproxy. The Webmercator/EPSG:3857 mbtile files can be used in QGIS if you rename them to .mbtiles.
Cheers, Hannes Am 10.07.22 um 10:58 schrieb Andreas via Qgis-user:
Hello! First I have to say that I'm a qgis beginner and I'm not very much into the concepts about functions and design behind QGIS, and GIS in general. So please apologize for any strange question... Currently I have an older core i7 with 8 GB RAM running QGIS Desktop 3.10 on Linux Mint 20.3, which I know is already obsolete but it's in the repositories of this most recent Linux Mint LTS version, and I need a stable system that does not break due to a library update etc. I want to visualize data points, that I collect "on the road" over large distances, on the fly. So far so good everything works very fine, opening the data log file in a text layer with surveillance of log changes. Except having an offline background map for orientation. There is not always internet connection, and also it would be quite expensive to continuously download the tiles from a server over LTE. Up to now I tried using shapefiles from geofabrik.de, but even importing a small town takes minutes. Also the plugins for downloading xyz tiles will not work, as I needwhole europe offline available in the best case, at least a whole country.Then I imported a .osm file in a spatialite database but there are thousands of attributes I have to chose from, not knowing which ones, and also I cannot import more than a small region due to the insane time it takes. The last thing I tried was a download of Germany vector tiles from maptiler.com, about 3,5 GB. When I drag and drop it into QGIS, it loads for hours without coming to an end, there is no information about what the software is doing (progress bar) or a button to stop the import, so I finally killed the QGIS process. I was also looking for GeoPackage maps, as they seemed to have an index and mbtiles not (which may be what causes the described problems), but did not find any resources on the net except from a site that provides the whole planet earth (which is way too much for me). Yesterday I tried to setup a QGIS Server to set up a WMTS service on the same machine, but I failed on finding out how to make map data available on the server (I have to provide a QGIS project file but as I already wrote, I was not even able to import a simple all-germany map). So, finally, there must be something I'm missing or I don't understand. If you have a smartphone or a Garmin GPS, you can easily download a map for whole germany that is about 2 GB, that can be imported in a few seconds, then accessed very performant by slow processors with tiny available memory. I also don't see why it should be necessary to go via a WMTS Server (http) to provide map data in a way QGIS can them handle with performance - how is the server getting its high performance, and why QGIS can't do it on it's own? Or can it - how?? Any hints about how I can get large area offline maps into QGIS are highly appreciated - thank you very much in advance! Andreas _______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
-- Johannes Kröger / GIS-Entwickler/-Berater --------------------------------------------- Schon gewusst? In unserem Blog geben wir Tipps & Tricks zu Open-Source-GIS-Software und berichten aus unserem Experten-Alltag: https://wheregroup.com/blog/ --------------------------------------------- WhereGroup GmbH Grevenweg 89 20537 Hamburg Germany Tel: +49 (0)228 / 90 90 38 - 36 Fax: +49 (0)228 / 90 90 38 - 11 [email protected] www.wheregroup.com Geschäftsführer: Olaf Knopp, Peter Stamm Amtsgericht Bonn, HRB 9885 -------------------------------
OpenPGP_0x840A4B843789797F.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Qgis-user mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-user Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
