It is true that with the launch of QGIS 3 we are happy. Since it brings many features and upgrades such as improved editing of geometry, symbols, design, 3D layer, etc. But, a problem for impatient users that we don’t like to wait for, is the update of plugins.
Although many are already in QGIS 3, but unfortunately not all of them, including OpenLayers. But you can advantageously add G Maps layers and print them from QGIS 3.
The good news, some Layer TMS using NextGIS are listed below with updates qgis_basemaps.py script.
Add XYZ Tiles in QGIS 3
To add Tile service in QGIS 3 simply, go to XYZ Tiles in the Browser panel. Now click on a New Connection, right-click on XYZ Tiles.
Enter the name, for example: G Satellite. Copy and paste one of the TMS listed above into the URL. Adjust the maximum zoom level (19). Accept all changes.
This way, a connection to G Satellite is established by XYZ Tile in QGIS 3. To view inside QGIS simply double-click or drag the XYZ Tile service to the layers panel.
In the same way you can add the rest of the TMS described at the beginning of this tutorial, for example: G Maps.
Source: Geodose
And you can rotate this layer in the map composer! Woohoo
whaaat… this is owesome
Thanks!
I believe direct access to Google’s map tiles is contrary to their service terms and conditions.
Very nice. And I like that it is more flexible wrt printing, rotation and transparency. However, Warren Vick is correct, at least for commercial use (I haven’t looked into non-commercial use). The Open Layers Plugin was ideal for us as it allowed us to input our API key which we paid a hefty amount for commercial use for. I’m wondering if there is a manner to use the above but somehow include our key so that we are compliant … any thoughts?
thank you very much about this post!!
Thanks!
Thanks – a great help !
Great, thank you! Does anybody know if it is ok with Google maps service terms?
Hi franzpc. Thank you for posting this! I get all of these layers to load except the “Google Satellite” one. I tried changing a few text features (https vs. http; vt/lyrs vs. vt?lyrs) but no luck. The “Satellite Hybrid” works fine.
I figured out the issue with the “Google Satellite” URL above – use this revised URL: https://www.google.com/maps/vt/lyrs=s@189&gl=cn&x={x}&y={y}&z={z}
I just loaded it in QGIS 3.0.1 Girona and it worked fine.
Thanks, you helped me
Thank you for this!!! Question: any reason why the terrain layer is very dark? Thanks!
Thank you very much for this information…..
I am connect to qgis but not showing the display
thanks its working
This post is still helpful for QGIS beginners however the satellite and satellite hybrid aren’t giving any errors messages but they aren’t loading up, does the URL need updating?
Thanks
Hello,
I am trying this method but no information is popping up. Do you know what can be the cause of that? Thanks
Nonostante abbia copiato ed incollato URL del Google Satellite, non riesco a vederlo, non so quale potrebbe essere il problema . grazie
Thank you.
Ok! I did everything, but when I click in the google maps in the canva, it opens a Licence and Terms services window asking a Google Maps API key.
How do I get this API key?
Thanks Bro. You save a life
Thank you
Thanks! This was very helpful. Unit of Karma headed your way.
GOOD Morning.
I just a beginner in QGIS, and sorry for my english, I’m french.
But I try the solutions and no cards appears.
Have you got any solutions ?
All three URLs worked for me, thank you!
Anyone know why the resolution is less than using google earth?
Exactly what I was looking for. Thanks for your help.
how can i convert pdf file to shapefile in QGIS
Thank you for sharing the information! Any way that you can “keep” the Google Satellite imagery even though you are not connected to the imagery?
Can I use the maps visualized by using Google Maps Layer for school purposes (writing the thesis)? How about for work purposes, like making official documents?
When I use any of those links a Google error page pops up saying that I issued a malformed or illegal request. Is there anything else we can do?
Hi,
How can we know the resolution of the underlying Google satelite layer ?
Thanks!
This is very helpful. Thanks and God bless
Yeees papa!
Pour afficher les cartes il faut ENLEVER LES ESPACES 🙂
Merci!
I’v looking for terrain basemap for a long time and today comes an suprise. Thanks a lot !
This violates Google Maps Terms of Service. Do not do this in any commercial environment.
Thanks a lot for sharing this valuable knowledge. I noticed that the image is not the current updated image of google earth. There is a slight difference between the google earth image and the image from this URL. Can I get the current image of google earth ?
Just awesome. Thanks for sharing.
Thank you so much!
Thank you