Git Product home page Git Product logo

quickmapservices's Introduction

QuickMapServices

A QGIS plugin. Add various map services as base layers in one click.

Important:

  • adding copyrights of particular service providers is responsibility of the user
  • if you want to add your own service – add them here: https://qms.nextgis.com

QGIS plugins page: https://plugins.qgis.org/plugins/quick_map_services/

Discover and use geodata services

qms

YouTube

lw_v0GlZzcE

License

This program is licensed under GNU GPL v.2 or any later version.

Commercial support

Need to fix a bug or add a feature to QuickMapServices?

We provide custom development and support for this software. Contact us to discuss options!

https://nextgis.com

quickmapservices's People

Contributors

514ckw4r3 avatar agiudiceandrea avatar alisovenko avatar brylie avatar culebron avatar cybergeo82 avatar dezhin avatar drnextgis avatar gardster avatar geosander avatar ivanbarsukov avatar joker234 avatar kinda-me avatar matzfan avatar mcauer avatar nugaldea avatar rungee avatar simgislab avatar yellow-sky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

quickmapservices's Issues

Mapsurfer OSM time out

I am working with qgis 2.6.1,

i downloaded the "Quickmap Services" plugin version 0.11. When i try to display these following tiles:

  • Mapsurfer OSM Roads Grayscale
  • Mapsurfer OSM transparent

an error message appears saying "Download time out: Query network http://129.206.74.245:8008/tms_rg.ashx?x=2&y=0&z=2 (time-out)

it's strange because before, with qgis 2.4, i succeed in displaying thèse tiles.

Configure list of services

It will become difficult to work with large number of services. We can add a configuration page where it will be possible to hide/unhide a service and load/save user profiles.

Ошибки в заголовках окон

Должно быть "Выберите ..." или "Выбрать", но точно не "Выбирите..."

qms error 2
qms error 1

Так как в альтернативных формах - "Создать ресурс/группу", то лучше поменять на "Выбрать ...".

Проблема с загрузкой тайлов, у которых yOriginTop = 0

Несмотря на наличие возможности в TileLayerPlugin, который используется в QuickMapServices, задать значение yOriginTop = 0 или 1, указание данного параметра в блоке [tms] файла metadata.ini не дает должного эффекта и, соответственно, тайлы не загружаются (например, с Публичной кадастровой карты Украины)

Содержание файла metadata.ini:

[general]
id = pkk_orto
type = TMS
is_contrib = False

[ui]
group = Публичная кадастровая карта Украины
alias = PKK OrtoPhoto
alias[ru] = Ортофотоплан М 1:10 000
icon = favicon.ico

[license]
name =
link = http://map.land.gov.ua
copyright_text = © 2014 Всі права захищені. ЦДЗК. Версія 1.13.
copyright_link =
terms_of_use =

[tms]
url = http://212.26.144.110/tile2/orto_10000/{z}/{x}/{y}.jpg
yOriginTop = 0
zmax = 16

Contributed pack can't be downloaded if behind the proxy

I have this tracback when I try to get the “contributed pack”.
Do imagine why?

Traceback (most recent call last):
File "C:/Users/pedro.ferro/.qgis2/python/plugins\quick_map_services\settings_dialog.py", line 86, in get_contrib
error_message = self.tr('Error on getting contrib pack: %s %s') % (sys.exc_type, sys.exc_value)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe7 in position 50: ordinal not in range(128)

Versão do Python:
2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]

Versão do QGIS:
2.8.1-Wien Wien, exported

Caminho para o Python: ['C:/Users/pedro.ferro/.qgis2/python/plugins\processing', 'C:\Users\pedro.ferro.qgis2\python\plugins\opengeo\ext-libs\requests-2.0.1-py2.7.egg', 'C:\Users\pedro.ferro.qgis2\python\plugins\opengeo\ext-libs\python_dateutil-2.2-py2.7.egg', 'C:\Users\pedro.ferro.qgis2\python\plugins\opengeo\ext-libs\six-1.9.0-py2.7.egg', 'C:\Users\pedro.ferro.qgis2\python\plugins\opengeo\ext-libs\lxml-3.3.5-py2.7-win32.egg', 'C:\Users\pedro.ferro.qgis2\python\plugins\opengeo\ext-libs\gsimporter-0.2-py2.7.egg', 'C:\Users\pedro.ferro.qgis2\python\plugins\opengeo\ext-libs\httplib2-0.9-py2.7.egg', 'C:/OSGeo4W/apps/qgis/./python', u'C:/Users/pedro.ferro/.qgis2/python', u'C:/Users/pedro.ferro/.qgis2/python/plugins', 'C:/OSGeo4W/apps/qgis/./python/plugins', 'C:\OSGeo4W\bin\python27.zip', 'C:\OSGeo4W\apps\Python27\DLLs', 'C:\OSGeo4W\apps\Python27\lib', 'C:\OSGeo4W\apps\Python27\lib\plat-win', 'C:\OSGeo4W\apps\Python27\lib\lib-tk', 'C:\OSGeo4W\bin', 'C:\OSGeo4W\apps\Python27', 'C:\OSGeo4W\apps\Python27\lib\site-packages', 'C:\OSGeo4W\apps\Python27\lib\site-packages\PIL', 'C:\OSGeo4W\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg', 'C:\OSGeo4W\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win32.egg', 'C:\OSGeo4W\apps\Python27\lib\site-packages\python_dateutil-2.2-py2.7.egg', 'C:\OSGeo4W\apps\Python27\lib\site-packages\pytz-2014.2-py2.7.egg', 'C:\OSGeo4W\apps\Python27\lib\site-packages\win32', 'C:\OSGeo4W\apps\Python27\lib\site-packages\win32\lib', 'C:\OSGeo4W\apps\Python27\lib\site-packages\Pythonwin', 'C:\OSGeo4W\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win32.egg', 'C:\OSGeo4W\apps\Python27\lib\site-packages\six-1.6.1-py2.7.egg', 'C:\OSGeo4W\apps\Python27\lib\site-packages\wx-2.8-msw-unicode', u'C:/Users/pedro.ferro/.qgis2//python', 'C:\Users\pedro.ferro.qgis2\python\plugins\opengeo\ext-libs', 'C:\Users\pedro.ferro.qgis2\python\plugins\QuickMultiAttributeEdit/forms', '.', 'C:\OSGeo4W\apps\qgis\python\plugins\fTools\tools', 'C:\Users\pedro.ferro.qgis2\python\plugins\mmqgis/forms']

Tiled layer CRS

Add a parameter to metadata.ini to define base CRS for tile layers that use projection different from WGS84/pseudo merkator (epsg 3857).

Проблема с проекциями

Если для слоя (пробовал только TMS) указана "своя" проекция (отличная от EPSG3857), то при проецировании на лету, когда используется EPSG3857, она не учитывается.

423
здесь у подложки(используются тайлы яндекс.карт) проекция отличная от EPSG3857

Plugin load error when non-ASCII characters exists in qgis user directory path.

When trying to install plugin at Windows 7 with russian locale and user name contains cyrillic letters, error message is displayed:

Не удалось загрузить модуль quick_map_services из-за ошибки при вызове его метода initGui()


Traceback (most recent call last):
  File "C:/PROGRA~1/QGISWI~1/apps/qgis-ltr/./python\qgis\utils.py", line 228, in startPlugin
    plugins[packageName].initGui()
  File "C:/Users/21   /.qgis2/python/plugins\quick_map_services\quick_map_services.py", line 112, in initGui
    self.build_menu_tree()
  File "C:/Users/21   /.qgis2/python/plugins\quick_map_services\quick_map_services.py", line 232, in build_menu_tree
    self.groups_list = DsGroupsList(self.locale, self.custom_translator)
  File "C:/Users/21   /.qgis2/python/plugins\quick_map_services\ds_groups_list.py", line 46, in init
    self._fill_groups_list()
  File "C:/Users/21   /.qgis2/python/plugins\quick_map_services\ds_groups_list.py", line 53, in _fill_groups_list
    self._read_ini_file(root, ini_file)
  File "C:/Users/21   /.qgis2/python/plugins\quick_map_services\ds_groups_list.py", line 75, in _read_ini_file
    error_message = 'Group INI file can\'t be parsed: ' + e.message
  File "C:/PROGRA~1/QGISWI~1/apps/qgis-ltr/./python\qgis\utils.py", line 55, in showWarning
    "warning:%s\ntraceback:%s" % ( warnings.formatwarning(message, category, filename, lineno), stk),
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 19: ordinal not in range(128)


Версия Python:
2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]


Версия:
2.8.4-Wien Wien, 71ba2c7

qgis crash on save settings of plugin

Current dev version of QGIS (self compiled Debian Testing), crashes when I go to settings (empty project and push the save button. No python msg show, just full stop.

Not sure if it is only my system...

Tried to start with gdb, but could not see something interesting

src/gui/qgsmapcanvas.cpp: 644: (refresh) [467ms] CANVAS refresh scheduling
src/gui/qgsmapcanvas.cpp: 654: (refreshMap) [2ms] CANVAS refresh!
src/core/qgsmaprenderersequentialjob.cpp: 29: (QgsMapRendererSequentialJob) [0ms] SEQUENTIAL construct
src/core/qgsmaprenderersequentialjob.cpp: 62: (start) [1ms] SEQUENTIAL START
src/core/qgsmaprenderercustompainterjob.cpp: 32: (QgsMapRendererCustomPainterJob) [0ms] QPAINTER construct
src/core/qgsmaprenderercustompainterjob.cpp: 56: (start) [0ms] QPAINTER run!
src/core/qgsmaprenderercustompainterjob.cpp: 58: (start) [0ms] Preparing list of layer jobs for rendering
src/core/qgsmaprendererjob.cpp: 149: (prepareJobs) [5ms] CACHE VALID: 0
src/core/qgsmaprenderercustompainterjob.cpp: 84: (start) [0ms] Rendering prepared in (seconds): 0.005
src/core/qgsmaprenderercustompainterjob.cpp: 211: (doRender) [0ms] [thread:0x850a4c0] Starting to render layer stack.
src/core/qgsmaprenderercustompainterjob.cpp: 240: (doRender) [0ms] [thread:0x850a4c0] Done rendering map layers
src/core/qgsmaprenderercustompainterjob.cpp: 251: (drawLabeling) [0ms] [thread:0x850a4c0] Draw labeling start
src/core/qgsmaprenderercustompainterjob.cpp: 269: (drawLabeling) [0ms] [thread:0x850a4c0] Draw labeling took (seconds): 0
src/core/qgsmaprenderercustompainterjob.cpp: 245: (doRender) [0ms] [thread:0x850a4c0] Rendering completed in (seconds): 0
src/core/qgsmaprenderercustompainterjob.cpp: 180: (futureFinished) [4ms] QPAINTER futureFinished
src/core/qgsmaprenderersequentialjob.cpp: 121: (internalFinished) [0ms] SEQUENTIAL finished
src/gui/qgsmapcanvas.cpp: 695: (rendererJobFinished) [0ms] CANVAS finish! 1
src/core/qgsmaprenderercustompainterjob.cpp: 37: (~QgsMapRendererCustomPainterJob) [17ms] QPAINTER destruct
src/core/qgsmaprenderersequentialjob.cpp: 38: (~QgsMapRendererSequentialJob) [8ms] SEQUENTIAL destruct

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff2424d5f in QMetaObject::changeGuard(QObject**, QObject*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
(gdb) bt
#0  0x00007ffff2424d5f in QMetaObject::changeGuard(QObject**, QObject*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#1  0x00007ffff1baf56d in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#2  0x00007fff7be3606b in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so
#3  0x00007ffff17acaf8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#4  0x00007ffff1bb353b in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#5  0x00007fff7be34b1b in ?? () from /usr/lib/python2.7/dist-packages/PyQt4/QtGui.so
#6  0x00007ffff17567bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#7  0x00007ffff175d43f in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#8  0x00007ffff2c4d4f7 in QgsApplication::notify (this=0x7fffffffd640, receiver=0x60125c0, event=0x7fffffffcd00) at /home/richard/dev/qgis/git/qgis/src/core/qgsapplication.cpp:253
#9  0x00007ffff240c36d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#10 0x00007ffff175ca9f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#11 0x00007ffff17d6bca in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#12 0x00007ffff17d522c in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#13 0x00007ffff17fe2d2 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#14 0x00007fffed229c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007fffed229f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007fffed229fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007ffff243b98d in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#18 0x00007ffff17fe396 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#19 0x00007ffff240aec1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#20 0x00007ffff240b225 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x00007ffff2410ca9 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#22 0x00000000004c8786 in main (argc=1, argv=0x7fffffffe1a8) at /home/richard/dev/qgis/git/qgis/src/app/main.cpp:1048
(gdb) step
Single stepping until exit from function _ZN11QMetaObject11changeGuardEPP7QObjectS1_,
which has no line number information.
[Thread 0x7ffff7f86200 (LWP 4981) exited]
[Thread 0x7fff65551700 (LWP 5010) exited]
[Thread 0x7fff6d1fb700 (LWP 5009) exited]
[Thread 0x7fff8f0d0700 (LWP 4991) exited]
[Thread 0x7fff8fd7a700 (LWP 4990) exited]
[Thread 0x7fff9057b700 (LWP 4989) exited]
[Thread 0x7fffd19b9700 (LWP 4988) exited]

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.

Добавить список субдоменов доступных тайловых серверов

Многие тайловые сервера имеют несколько субдоменов для скачивания тайлов, выглядит как:

a.tile.openstreetmap.org
b.tile.openstreetmap.org
c.tile.openstreetmap.org

В leaflet.js записывается как http://{s}.tile.openstreetmap.org/{z}/{x}/{y}

В QMS может выглядеть как то так:

url = http://[a,b,c].tile.openstreetmap.org/{z}/{x}/{y}

Layer disappears

Добавил слой OSM Mapnik style, включил преобразование координат на лету в 4326 - при уменьшении масштабного уровня слой пропадает.

Bad crash when saving settings

adjust viewport: 640.661633 -> 611.496226: 641.189435 x 541.658395

map.zoomToExtent (1026766.739780, 5210764.864296, 1418851.659291, 5541986.928654)
Resulting OL extent: {u'right': 1418793.7400314, u'getCenterLonLat': {}, u'transform': {}, u'getWidth': {}, u'getCenterPixel': {}, u'extendXY': {}, u'determineQuadrant': {}, u'centerLonLat': NULL, u'scale': {}, u'bottom': 5210966.1672889, u'CLASS_NAME': u'OpenLayers.Bounds', u'top': 5541785.6256611, u'contains': {}, u'getHeight': {}, u'toGeometry': {}, u'add': {}, u'toString': {}, u'intersectsBounds': {}, u'containsPixel': {}, u'extend': {}, u'toArray': {}, u'clone': {}, u'equals': {}, u'initialize': {u'fromString': {}, u'fromSize': {}, u'fromArray': {}, u'oppositeQuadrant': {}}, u'getSize': {}, u'wrapDateLine': {}, u'containsLonLat': {}, u'toBBOX': {}, u'containsBounds': {}, u'left': 1026824.6590396}
relative offset yMaximum 0.000196
waiting for loadEnd: renderingStopped=False loadEndOL=False
waiting for loadEnd: renderingStopped=False loadEndOL=False
waiting for loadEnd: renderingStopped=False loadEndOL=False
waiting for loadEnd: renderingStopped=False loadEndOL=False
waiting for loadEnd: renderingStopped=False loadEndOL=False
waiting for loadEnd: renderingStopped=False loadEndOL=False
waiting for loadEnd: renderingStopped=False loadEndOL=False
waiting for loadEnd: renderingStopped=False loadEndOL=True
scale image: 641 x 541 -> 612 x 517
[WORKER THREAD] Async request finished

Bing Aerail error

The image of Bing Aerial appears displaced approximately 200m to north towards its real geographic location

Manage services: edit service

Add button to list of services to edit selected service and change it's settings.

If Base or Contributed service is changed it is resaved as User service.

Transparency on QMS layer not exporting from QGIS Print Composer

Just noticed when I upgraded to QGIS 2.14 that when a transparency is set on a QuickMapServices (QMS) layer, the transparency does not show up in an exported PDF from a QGIS print composer.

I posted this as a bug in QGIS, but they said it's a bug in the QMS plugin...
test_qsm

Composer doesn't fetch new data (tiles) whatever target resolution or DPI is set

I'm trying to print a map like this — i.e. with administrative boundaries and with OSM underlying background. The problem is that Composer doesn't seem to fetch appropriate data and stops at 12-zoom level, only scaling tiles more when I increase the target resolution or DPI.

As result I get this:
Result

I don't really know where the problem lies, so maybe it's just a Composer misconfiguration or a bug, but I can't think of anything else I can do.

Help please.

"Web" menu disapeared

Before installing QuickMapServices I had a "Web" menu in Qgis with some extensions (OpenLayers Plugin for exemple). When I install QuickMapServices and restart QGIS, the menu doesn't appear.
After uninstalling or disabling QuickMapServices and restarting QGIS, the "Web" menu shows up again.

I tried several times to install/uninstall but I didn't manage to have the "Web" menu and QuickMapServices installed at the same time.

Проблема с установкой

Модуль ставится, но из списка "Не установленные" не пропадает. Получается два модуля с одним именем:

Модуль потерян:Модуль был установлен, но не был обнаружен после установки. Вероятно, архив модуля содержал каталог с неверным именем. Пожалуйста, просмотрите список установленных модулей. Скорее всего, модуль будет в этом списке, но Quantum GIS не сможет определить, который из них. Кроме того, это означает что состояние модуля и наличие обновлений будет невозможно определить. Тем не менее, модуль может работать. Пожалуйста, свяжитесь с его автором и сообщите об этой ошибке.

проблемы с установкой дополнительных подложек

- -1

Версия QGIS 2.8.3-Wien Ревизия eb1365a
Версия Qt при сборке 4.7.1 Текущая версия Qt 4.7.1
Версия GDAL/OGR при сборке 2.0.0dev Текущая версия GDAL/OGR 2.0.0dev
Версия GEOS при сборке 3.4.2-CAPI-1.8.2 Текущая версия GEOS 3.4.2-CAPI-1.8.2 r3921
Версия PostgreSQL 8.3.10 Версия SpatiaLite 4.1.1
Версия QWT 5.2.1 Версия PROJ.4 480
Версия QScintilla2 2.6.2

nextgis qgis 15.4.88

Принцип работы масштабных уровней

Если масштабный уровень ниже, чем zmin, то тайлы не подгружаются и не происходит интерполяция тайлов из zmin, если больше, чем zmax, то происходит интерполяция тайлов с zmax. Может сделать единообразно?

Rosreestr service error?

ERROR 1: GDALWMS: Unable to download block 158464, 81945.
URL: http://maps.rosreestr.ru/arcgis/rest/services/BaseMaps/BaseMap/MapServer/tile/18/81945/158464
HTTP status code: 503, error: (null).
ERROR 1: /home/sim/.qgis2/python/plugins/map_services/data_sources/rosreestr_basemap/source.xml, band 1: IReadBlock failed at X offset 158459, Y offset 81944
Warning: RasterIO error: /home/sim/.qgis2/python/plugins/map_services/data_sources/rosreestr_basemap/source.xml, band 1: IReadBlock failed at X offset 158459, Y offset 81944

result

plugin deserves better metadata tags

Hi,
wonderful plugin. I had difficulties finding it based on keyword, both in qgis and in plugins website.
I suggest adding some keyword like "osm" "google" "web layers" etc..
Cheers
Régis

QGIS crashes pointing to libjpeg/jdapimin

I am running QGIS 2.12 (but same happened on QGIS master), compiled on Ubuntu 14.04. When enabling the Quickmapservices addon, QGIS crashes without any message.

Just in case it has to do with some warnings when starting up QGIS, I am copying those warning messages below:

$ qgis
Warning: loading of qgis translation failed [/usr/local/qgis/share/qgis/i18n//qgis_en_US]
Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US]
Warning: QCss::Parser - Failed to load file  "/style.qss" 
Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action 
Warning: QVariantMap DBusMenuExporterDBus::getProperties(int, const QStringList&) const: Condition failed: action 
Warning: void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "&Toolbox" under id 264 
Segmentation fault (core dumped)

No labels on Google hybrid in map composer

When I save my maps as images using print composer in QGIS the Google hybrid map loses its labels, although they are showing up fine on the print composer itself, before saving to image. If I use any other Google layer, as in street map, the labels are there, but tiny and illegible. Any ideas?

Ошибка при установке модуля

При попытке установить модуль происходит ошибка.
Win10 x64.
Лог:
Не удалось загрузить модуль quick_map_services из-за ошибки при вызове его метода initGui()

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc6 in position 17: ordinal not in range(128)
Traceback (most recent call last):
File "D:/QGIS/apps/qgis/./python\qgis\utils.py", line 315, in startPlugin
plugins[packageName].initGui()
File "C:/Users/���� � ����/.qgis2/python/plugins\quick_map_services\quick_map_services.py", line 112, in initGui
self.build_menu_tree()
File "C:/Users/���� � ����/.qgis2/python/plugins\quick_map_services\quick_map_services.py", line 232, in build_menu_tree
self.groups_list = DsGroupsList(self.locale, self.custom_translator)
File "C:/Users/���� � ����/.qgis2/python/plugins\quick_map_services\ds_groups_list.py", line 46, in init
self._fill_groups_list()
File "C:/Users/���� � ����/.qgis2/python/plugins\quick_map_services\ds_groups_list.py", line 53, in _fill_groups_list
self._read_ini_file(root, ini_file)
File "C:/Users/���� � ����/.qgis2/python/plugins\quick_map_services\ds_groups_list.py", line 75, in _read_ini_file
error_message = 'Group INI file can't be parsed: ' + e.message
File "D:/QGIS/apps/qgis/./python\qgis\utils.py", line 58, in showWarning
"warning:%s\ntraceback:%s" % (warnings.formatwarning(message, category, filename, lineno), stk),
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc6 in position 17: ordinal not in range(128)

Версия Python: 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]
Версия: 2.12.3-Lyon Lyon, 99ac688

Python Path:
D:/QGIS/apps/qgis/./python/plugins\processing
D:/QGIS/apps/qgis/./python
C:/Users/Жека и Таня/.qgis2/python
C:/Users/Жека и Таня/.qgis2/python/plugins
D:/QGIS/apps/qgis/./python/plugins
D:\QGIS\apps\Python27\lib\site-packages\matplotlib-1.3.1-py2.7-win-amd64.egg
D:\QGIS\apps\Python27\lib\site-packages\nose-1.3.3-py2.7.egg
D:\QGIS\apps\Python27\lib\site-packages\tornado-4.0.1-py2.7-win-amd64.egg
D:\QGIS\apps\Python27\lib\site-packages\backports.ssl_match_hostname-3.4.0.2-py2.7.egg
D:\QGIS\apps\Python27\lib\site-packages\certifi-14.05.14-py2.7.egg
D:\QGIS\bin\python27.zip
D:\QGIS\apps\Python27\DLLs
D:\QGIS\apps\Python27\lib
D:\QGIS\apps\Python27\lib\plat-win
D:\QGIS\apps\Python27\lib\lib-tk
D:\QGIS\bin
D:\QGIS\apps\Python27
D:\QGIS\apps\Python27\lib\site-packages
D:\QGIS\apps\Python27\lib\site-packages\PIL
D:\QGIS\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg
D:\QGIS\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg
D:\QGIS\apps\Python27\lib\site-packages\pytz-2012j-py2.7.egg
D:\QGIS\apps\Python27\lib\site-packages\win32
D:\QGIS\apps\Python27\lib\site-packages\win32\lib
D:\QGIS\apps\Python27\lib\site-packages\Pythonwin
D:\QGIS\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg
D:\QGIS\apps\Python27\lib\site-packages\six-1.3.0-py2.7.egg
D:\QGIS\apps\Python27\lib\site-packages\wx-2.8-msw-unicode
D:\QGIS\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg
D:\QGIS\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg
C:/Users/Жека и Таня/.qgis2//python
D:\QGIS\apps\qgis\python\plugins\fTools\tools

Изменение структуры наборов геоданных

Сейчас для описания набора нужно создать папку в которой разместить файлы metadata.ini и файл иконки. В метадате указать имя файла иконки и id набора.

Предлагаю делать описание геоданных одним файлом без создания отдельных папок. Его имя будет служить идентификатором (id), картинку прописывать в нем же icon = "..." в виде base64 кодировке, например.

Также вместо отдельного описания группы (group =) набора предлагаю использовать префикс в имени.

Например, файл rosreestr_basemap.ini
значит группа у него "rosreestr"
id у него "rosreestr_basemap"
в файле прописать icon = /9j/4AAQSkZJRgABAQAAAQABAAD/4QAqRXhpZgAASUkqAAgAAAABADEBAgAHAAAAGgAAAAAAAABHb29nbGUAAP/bAIQAAwICAwICAwMDAwQDAwQFCAUFBAQFCgcHBggMCgwPCwoMCw0ODhANDhEODQsQFhARFA4VFRUNDxcYFhQYEhQUDQEDBAQGBQYKBgYKDg0MDQ8NDxAMDBAMDQ0PDBQMFA0NDQ4PDA8UDQ4QDQ0PDA0NDBANDQ0PDBQMDRANDBQNDg0N/8AAEQgAMAAwAwERAAIRAQMRAf/EABwAAAEFAQEBAAAAAAAAAAAAAAcBAgQICQYDAP/EADUQAAEDAwIEAgcHBQAAAAAAAAECAwQABREGIRIiMUEHkRMyM1FxgdEIFlJTYWPBFBclNGL/xAAbAQEAAwEBAQEAAAAAAAAAAAAAAQYHAgMFBP/EAC4RAAICAQEEBwkBAAAAAAAAAAABAgMEEQUhMUESEzJRUnHRFCJCkaGxweHxI//aAAwDAQACEQMRAD8A0TAzXkepV77XH2s3vCZz7paRW0vVbrQckzVpDiLchQ5eU7KdUOYA5AGCQeICrTsfZHtX+tvYXBeJ+n8KntrbPsq6qrtvn4f2Ug05qq9ax8VtL3C/XabeZq7xEJfnPqdUMvo2HETgfoMAVe7aK6seca4pLoy4LTkUCnJsuyYSsk2+kuPmaLrefiXaW9HfcjuB5fM2opPrGscRtYQNGaxXeVf0M/AmpTlDgGA8B127KFNAdSoYB+FQBQcAk9BvtQGSms9A+JmutX3rUUzQWrlSbpMdlq47HKJSFqJSn2fRIwkDsAK1/Gvxaao1qyG5JdqPqY3l4mXfbKx1T3tvgz00F4Qa+ha80zIf0Hqllhq6xFuOuWSUlKEh5BKiS3gADck0ys3HdM0rI9mXxLu8xibPyY3QbrkkpLk+80Hk2S6GdKUm1zlJU6shQjLIIyf0rIUzZBI9uvECbGlt2qfxsOJWMRl74O46dxkVOoDC5uDiuQKjc0ACYoywjJPT310NSdbR/koe59u33/6FCNSsF/Ur7wXUcav9t7v+4axW9vrZ7/il9yrTfvPzZJ0dYJGrdV2mzsca1S5CUKwTyt5ytXySFH5V6YtUr7oVx13tfLn9NTqqLnJRRf1Z2ONq2MtAqO9SAGxY74ZQDHe6flq+ldAm25h4XGJlh0D06Ny2fxChGhXz+32ptVanuTdrsU6SFzHsPFkttAekO5cVhI86yB4WRfdJVwk/ee/TRce97it9TOcn0U+LLLeC3gox4aR13Ce43Nv8hHAt1v2bCO6EZ3OTjKts4Gw73zZWyY4a6c983z5Jdy/L5n2MfH6re+IUFHIPwqwn7RyO9ABKNcpqmUkzpXT89f1rohk+zO3C432BGRNlEKeSVj0yjyA5V39wNCQvqVvXIGE5oBD0PwoByFDPrDzoAIWmDLuSENw4rshWAMoTyj4q6D510Am6Q0qjTrS5EhaHJ7qcKKTyoT+EfyfpvDYOgK059YedQBONPvHnQHxUnhPMOnvoD//Z

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.