I've downloaded the latest QGIS version and I cannot add basemap. I installed OpenLayers plugin and while adding any map from list QGIS crashes. I tried to enable Google Mercator CRS first, yet it's not in the list of available CRSs. Does anybody know how to fix this and how can start adding basemaps? Or is it possible to add National Geographic map as a basemap?
[GIS] QGIS 2.0.1. missing Google Mercator CRS
coordinate systemgoogle mapsqgis
Related Solutions
Do not use the OpenLayers Plugin, it sucks. Use QuickMapServices instead. (see my comment below on why I think it sucks)
Or you can add the google tileserver directly as a raster layer.
Open up an XML file and paste this in:
<GDAL_WMS>
<!-- Data is subject to term of use detailed at http://code.google.com/intl/nl/apis/maps/terms.html and
http://www.google.com/intl/en_ALL/help/terms_maps.html -->
<Service name="TMS">
<!-- <ServerUrl>http://mt.google.com/vt/lyrs=m&x=${x}&y=${y}&z=${z}</ServerUrl> --> <!-- Map -->
<ServerUrl>http://mt.google.com/vt/lyrs=s&x=${x}&y=${y}&z=${z}</ServerUrl> --> <!-- Satellite -->
<!-- <ServerUrl>http://mt.google.com/vt/lyrs=y&x=${x}&y=${y}&z=${z}</ServerUrl> --> <!-- Hybrid -->
<!-- <ServerUrl>http://mt.google.com/vt/lyrs=t&x=${x}&y=${y}&z=${z}</ServerUrl> --> <!-- Terrain -->
<!-- <ServerUrl>http://mt.google.com/vt/lyrs=p&x=${x}&y=${y}&z=${z}</ServerUrl> --> <!-- Terrain, Streets and Water -->
</Service>
<DataWindow>
<UpperLeftX>-20037508.34</UpperLeftX>
<UpperLeftY>20037508.34</UpperLeftY>
<LowerRightX>20037508.34</LowerRightX>
<LowerRightY>-20037508.34</LowerRightY>
<TileLevel>20</TileLevel>
<TileCountX>1</TileCountX>
<TileCountY>1</TileCountY>
<YOrigin>top</YOrigin>
</DataWindow>
<Projection>EPSG:3857</Projection>
<BlockSizeX>256</BlockSizeX>
<BlockSizeY>256</BlockSizeY>
<BandsCount>3</BandsCount>
<MaxConnections>5</MaxConnections>
<Cache />
</GDAL_WMS>
Then load that XML file as a raster layer.
I saw this in 2.16.1 at the same location (Alicante?), tile service (ESRI grey light?) and zoom level.
I found that zooming out a couple of levels did work. I see the QGIS canvas also shows the error tiles if you zoom in far enough.
Either ESRI don't have tiles at the zoom level you want, or they may be restricting access to those zoom levels. They are serving up tiles, but the tiles are placeholders telling you that that data is not available at that zoom level. Maybe they plan to add more zoom levels in future.
It's not a QGIS issue, just a limitation of that particular tile service.
You could try looking for a similar-looking tile service which does give tiles at the zoom level you want.
Also, you can Right Click on a QuickMapServices layer and change rendering options, including things like contrast and brightness.
Best Answer
The Openlayers plugin is depending on EPSG:3857.
In QGIS 2.0.1, this is called
WGS84 / Pseudo Mercator
.It is not necessary to set the CRS in advance, the plugin changes the CRS on its own if necessary. Enabeling On-the-fly reprojection might prevent crashing, or preloading some vector data from your part of the world.