Could someone let me know how I add a API key to QGIS 2.14.10. The diagonal API key required is still on my map layer. Bit of a novice on QGIS.
I guess you are using the QOSM plugin to display the OpenCycleMap, since the standard OSM map does not have API keys.
You can obtain an API key from the map producer Thunderforest. They provide details here, including a sample tile request URL. You can add that to the properties of the QOSM layer, inserting the line
and clicking on
Add Custom Type. Take care of the grammar for the variables that differs from the linked site.
Alternatively, you can use the QuickMapServices plugin, which does not show an API request for that site at the moment.
A very similar question was also answered here.
Again, if you are using the OpenLayers Plugin, this should work:
- If necessary, update OpenLayers Plugin to at least version 1.4.2
- Web > OpenLayer plugin > OSM/Thunderforest > Set API Key
- Enter API Key and confirm with OK
- Add the OSM layer from the OSM/Thunderforest menu again (previous layer(s) will not update even with API key entered)
PS: As already mentioned earlier, API keys are available for free from http://www.thunderforest.com/docs/apikeys/
It isn't the QuickOSM plugin in QGIS3, or the Web/QuickMap Services/OSM/... menu, but with base QGIS3, under the Browser panel, you can add the apikey services as XYZ Tiles raster maps:
1) Right click Browser/XYZ Tiles
2) Choose "New Connection"
3) Add a descriptive name. E.g.: "OSM Landscape"
4) Add a URL with api key E.g.:
Then you can add your new layer to your projects by working through the Layer Browser / XYZ Tiles/ Add Layer To Project.
If you are getting diagonal 'API Key Required' watermarks on your OSM layer with a 'TF ...' prefix, it's likely an add-on to a raster layer as delivered by the OSM's tileservice delivered by ThunderForest. See http://www.thunderforest.com/docs/apikeys/ for some details. I'm not sure how to reconfigure QGIS3's Web/QuickMapServices/OSM to use a Thunderforest API Key.