Hot answers tagged ogr
Some remarks because you mix many things ( if you want yo use your script outside the console of QGIS, install the Python module GDAL (osgeo) in your Python installation: it is installed in the Python version of QGIS if you are on Windows). 1) There are no Shapely geometries in your script, only PyQGIS geometries QgsPoint(x_min, y_min), ... ogr geometries ...
The GDAL osm driver makes use of an osmconf.ini file: http://www.gdal.org/drv_osm.html Within that file, you can uncomment the line #other_tags=no to avoid saving all possible names of Sweden in that database column. By the way, GDAL can read the osm.pbf file directly, no need to extract it first.
The QGIS Cloud plugin is broken for me too on Windows XP and 7 with 32-bit QGIS 2.6.1 standalone. You can grab an older version from here: https://plugins.qgis.org/plugins/qgiscloud/version/0.11.11/ and extract it to C:\Users\username\.qgis2\python\plugins or the equivalent on other OS. The version 0.11.11 starts for me without complaining. But don't try ...
I can't vote up yet so I'm typing my answer, probably some issue with my installation but anyway, reboot worked!
Only top voted, non community-wiki answers of a minimum length are eligible