Applying single legend to multiple layers

Материал из GIS-Lab
Версия от 12:41, 27 июля 2012; Voltron (обсуждение | вклад) (Новая страница: «{{Статья|Опубликована|qgis-multiqml-eng}} {{Аннотация|Tool background and description.}} This tool can be used for applying a single l…»)
(разн.) ← Предыдущая версия | Текущая версия (разн.) | Следующая версия → (разн.)
Перейти к навигации Перейти к поиску
Эта страница опубликована в основном списке статей сайта
по адресу 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.

Installation notes

Plugin is available via QGIS official repository.

MultiQML is under development and tested with QGIS 1.0.1.

You can obtain sources with this command:

svn co http://svn.gis-lab.info/multiqml multiqml

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