Contents
Why is OpenLayers plugin not loading in Python?
I am still able to use the Google Hybrid base map for example, but not Google Streets. Error dump is shown below (have changed user names and private folders for privacy). This is a known issue which was recently logged here – the issue seems to be a recent ‘map rollover’ by google, which means the plugin author would need to make a code change.
Can you load OpenLayers plugin in QGIS-geographic?
I’m currently using QGIS 2.12.1-Lyon. I have installed the OpenLayers Plugin (and updated to the latest version, v1.3.6). However, when I go to load up base maps in QGIS using this plugin (go to Web | OpenLayers plugin, then select a map) QGIS always throws a Python error.
Where can I find answer to Python basemap import error?
The answer is from Github and it worked for me. This extends @Yusuf Baktir ‘s answer by omitting hard-coding the path to the epsg file. This way the code works on any machine that has conda installed (and activated of course). This seems to be a common issue.
Is there a basemap for Python in Windows 10?
For Windows 10 with Anaconda + Python 3.71 (and I’m sure other Python 3 versions and Windows 7/8), you can tell Basemap where Proj4’s “epsg” file is to succeed. I don’t have an “environment” or whatever because it’s too much work to figure out – so I didn’t have an anaconda\\share\\proj area (as far as I could discern why I didn’t have it).
How to display data using OpenLayers with Python?
If you wanted to get fancier, you could have a Django view that served up the data points as JSON (application/json) and then use AJAX to call back and retrieve the data based on events that are happening in the browser.
Why is my Python plugin not loading maps?
Error dump is shown below (have changed user names and private folders for privacy). This is a known issue which was recently logged here – the issue seems to be a recent ‘map rollover’ by google, which means the plugin author would need to make a code change. (In my case I don’t get a crash, I just get a blank basemap)