Applying single legend to multiple layers: различия между версиями

Материал из GIS-Lab
Перейти к навигации Перейти к поиску
Нет описания правки
Нет описания правки
 
Строка 3: Строка 3:


This tool can be used for applying a single legend file (qml) for multiple raster or vector layers in QGIS.
This tool can be used for applying a single legend file (qml) for multiple raster or vector layers in QGIS.
{{NextGIS}}
{{NextGIS-en}}
=== Installation notes ===
=== Installation notes ===



Текущая версия от 09:26, 10 мая 2014

Эта страница опубликована в основном списке статей сайта
по адресу http://gis-lab.info/qa/qgis-multiqml-eng.html


Tool background and description.

This tool can be used for applying a single legend file (qml) for multiple raster or vector layers in QGIS.

Made by Nextgis.png Opensource GIS development and projects

Installation notes

Plugin is available via QGIS official repository.

MultiQML is under development and tested with QGIS 2.0 and higher.

You can obtain sources with this command:

git pull git@github.com:nextgis/MultiQML.git

How does it work

After plugin installation and startup by clicking

Multiqml-icon.png

main window will appear:

Multiqml-01-eng.png

At left there is a layers list which shows layers depending of the active selector «Raster» or «Vector». To apply style to layers:

  • select layers in list (press "Select all layers" to select all available layers of the given type)
  • if you want to make style default — check "Save as default" checkbox
  • press "Apply style" button and select desired .qml

To restore original styles: select layers and press "Restore initial style".

Demo

In this demo, the tool is used to apply a single legend to series of uniformly indexed raster, that have comparable color tables. During demo it is also used to use single min-max legends for series of USGS dems.

<object width="943" height="576">

 <param name="movie" value="/images/qgis-multiqml-01.swf">
 <embed src="/images/qgis-multiqml-01.swf" width="943" height="576">
 </embed>

</object>

Contacts

If you want report a bug or want make suggestion — use bugtracker. Also if you have a question about the script or plugin usage, you can contact us directly.

Links