Llista de canvis a QGIS 2.6

Release date: 2014-10-31

Registre de canvis del nou lliurament de QGIS 2.6.0. Hem afegit nous ajustaments, característiques i millores per fer el GIS d’escriptori lliure més popular, encara més pràctic i amb més funcions.

Sempre que s’afegeixen noves característiques hi ha la possibilitat d’introduir nous errors al programari - si trobes qualsevol problema amb aquest lliurament omple un tiquet en el registre de seguiment d’errors de QGIS <http://hub.qgis.org>`_.

Volem agrair als desenvolupadors, documentalistes, provadors i en general a tot el munt de persones que ofereixen el seu temps i esforç (o que patrocinen la gent que ho fa).

From the QGIS community we hope you enjoy this release! If you wish to donate time, money or otherwise get involved in making QGIS more awesome, please wander along to qgis.org and lend a hand!

Finally we would like to thank our official sponsors for the invaluable financial support they provide to this project:

A current list of donors who have made financial contributions large and small to the project can be seen on our donors list. If you would like to become an official project sponsor, please visit our sponsorship page for details. Sponsoring QGIS helps us to fund our six monthly developer meetings, maintain project infrastructure and fund bug fixing efforts.

If you enjoy using QGIS, please consider making a donation to support the project - either financial or of your time and skills! Lastly we would like to also take a moment to encourage you to fund a special campaign by one of our QGIS developers to get a working test suite for QGIS so that we can improve out quality assurance process and deliver you the best possible releases.

QGIS is Free software and you are under no obligation to pay anything to use it - in fact we want to encourage people far and wide to use it regardless of what your financial or social status is - we believe empowering people with spatial decision making tools will result in a better society for all of humanity.


Característica: Nom del fitxer del projecte a les propietats

You can now see the full path for the QGIS project file in the project properties dialog.

Feature: Allow removing last point while measuring via del/backspace keys

Now when you are measuring areas and distances, you can remove unwanted vertices from your measurement line using the delete or backspace keys.

Feature: Editor widgets

Hem fet forces millores en l’editor de ginys:

  • nou giny d’edició de data/hora que permet posar dates nul·les

  • filter line edit

  • Proper handling of NULL values for edit widgets

  • Photo widget preserves NULL value

  • Web widget preserves NULL value

  • Attribute table can distinguish between 0 and NULL

  • Add suffix support for range widget

Característica: Utilitza opcionalment només un subconjunt de camps de la capa unida

You can now use just a subset of related fields when creating a vector join.

Característica: Camps resultat d’una expressió (camps virtuals)

A vegades voldreu tenir un atribut que sigui calculat i que es refresqui seguint l’estat actual de les propietats de l’objecte. Ara podeu afegir camps virtuals a la vostra taula que seran el resultat d’una expressió.

Característica: Ara les accions poden tenir una icona associada

When creating a custom action for a vector layer, you can now define an icon to be used for the action too.

Feature: Additional expressions types and options

  • Permet utilitzar + per la concatenació de cadenes.

  • New keyword: attribute( feature, attribute_name ) - gets the specified attribute from a feature.

  • Nova paraula clau: $currentfeature - retorna l’objecte actual.

  • Nova paraula clau: $atlasfeature - retorna l’objecte atles.

  • Nova paraula clau: getFeature - obté de la capa un objecte concordant.

Feature: Classes within graduated and categorised renderers can be toggled

You can now choose to disable certain classes in graduated and categorised renderers without actually removing them.

Característica: Millores en les llegendes

The second phase of the legend / table of contents overhaul has been completed. This includes:

  • API cleanup (for developers)

  • Visibility groups of map layers in layer tree. This new toolbar button allows quick changes between the groups of layers that should be visible.

  • Ability to manage layer groups from the legend toolbar

  • The new legend filter option on the legend toolbar will remove legend items for any classes which are not currently in the view extent. This is an awesome improvement as it ensures that your map legend does not contain entries for items not currently in the map view. It is available in the main map legend and in map composer and for WMS layers.

  • Rule-based renderer legends can now be displayed in a pseudo-tree

Proveïdors de dades

Característica: Millores d’exportació DXF

  • tree view and attribute selection for layer assigment in dialog

  • suport d’emplenat de polígons/HATCH

  • represent texts as MTEXT instead of TEXT (including font, slant and weight)

  • s’admet l’ajust RGB pels colors si no coincideixen exactament amb un color

  • use AutoCAD 2000 DXF (R15) instead of R12

  • remove R18 test methods

Composició de Mapa

Feature: Control over hiding print composer items from prints/exports

We have added a checkbox and data defined button for controlling whether an item is excluded from composer exports/printouts. If the item is unchecked it will be visible at composition design time only.

Feature: Control over page printing for empty composer frames

For table or HTML frames, a checkbox now controls whether the containing page should be exported when the frame is empty.

Feature: Item tree panel

The item tree panel in the map composer allows for selection of items, hiding/showing items, toggling lock status of items and double-clicking to edit item id. You can also use drag and drop to reorder items.

Característica: Més control sobre l’aparença dels elements fletxa/línia de la composició

  • Lines can be styled using line symbol style dialog

  • Arrow head fill and outline colors can be user defined

  • Arrow head outline width can be user defined

Feature: Data defined control of composer items

Many properties of composer items can now be controlled using data binding. These include:

  • Transparency and blend mode.

  • Item rotation.

  • Map scale, extents and rotation.

  • Atlas feature margin.

  • Item size and position.

  • Page size, orientation and number of pages.

Característica: El compositor d’imatges es pot especificar com URLs remotes

Picture items in the map composer now support remote urls as a picture source. This source can also be data defined.

Feature: Composer Table improvements

  • Ara podeu establir l’encapçalament de la taula i els colors del tipus de lletra del contingut.

  • Tables can now be split across multiple frames, allowing their content to be distributed over columns or over different pages.

  • Added option show headers on first frame, all frames, or no frames.

  • Allow manual control of column widths.

  • New options for table source, including current atlas feature and child features from a relation.

  • Choice of behaviour for empty tables, include hiding the entire table, showing empty cells, or displaying a set message in the table body.

  • Added a checkbox to filter table features to those which intersect the current atlas feature.

  • Added checkbox to remove duplicate rows from table.

Note that tables in existing projects are not automatically updated to the new table format which supports these features, and tables must be readded to a composition for the new settings to appear.

Feature: Composer improvements

The map composer (used to prepare printable map compositions) has received a number of improvements in QGIS 2.6.

  • You can now change the secondary fill color for scalebars

  • Holding shift while drawing line/arrow items constrains drawing to horizontal, vertical or 45 degree angles

  • Holding shift while drawing other new items constrains them to squares, holding alt causes item to be drawn from the center

  • Right click no longer locks/unlocks items, this is now handled by the new items panel. Locked items can no longer be selected from the composer canvas, allowing for interaction with items below them.

  • Holding alt while pressing cursor keys results in a 1px movement for items

  • Removed the destructive “Load from template” menu item, replace with a new non-destructive “Add items from template” action

Feature: Improved item snapping

Snapping thresholds are now set in pixels, allowing for finer movement and resizing of items when zoomed in to a composition. Items within a group are no longer used for auto snap lines.

Feature: Multiple overviews for a map item

Sometimes it is useful to be able to show more than one overview frame for a map frame. For example if you want to show where your map is in local, regional and global context, using multiple overview maps can help you to achieve this. As of QGIS 2.6 you can now achieve this by assigning as many maps as you like to the “overview” role in your composition.

Feature: HTML item improvements

There are a number of useful new options for the HTML composer item:

  • Option for manual entry of HTML source

  • QGIS expressions within HTML source can be evaluated prior to rendering HTML content

  • Data defined URL for HTML source

  • Allow for creating a user stylesheet to override HTML styles

Feature: Composer map grid improvements

  • Ara ja podeu tenir varies graelles amb propietats diferents.

  • You can mix reprojected grids and Lat/Long grids.

  • You can use standard QGIS symbology grid lines etc.

  • There is a new frame/annotations only grid style. Selecting this style causes only the frame and annotations to be drawn, with no grid lines or other markings over the map.

  • There are now options for controlling which side of a map item the frame is drawn on.

  • There are new tick styles for frames, with inner ticks, outer ticks and both inner and outer tick options.

  • We have made improvements to grid annotations, including many new formats for annotations.

  • Grid annotations now use the typographically correct prime and double prime symbols for grid annotations.


Feature: On-line collection of models and scripts

Models i scripts es poden baixar de la col·lecció en línia i instal·lar directament amb la interfície de Processing. La col·lecció s’anirà ampliant amb els nous scripts i models que proporcionin els usuaris de Processing.

característica: Implementació d’un modelador nou

The modeler has been rewritten, and now provides extra functionality such as allowing nested models with no depth limit. Models are now stored as JSON files. Backwards compatibility is kept, so all models can still be used. You can also now drag and drop items from the inputs and algorithms onto the modeler graph.


Característica: Canvis a les API pels connectors QGIS

In order to normalise the naming of QGIS widgets, some minor API changes have been made. Almost all edit widgets were renamed by adding «Wrapper» at the end of their names. In particular this concerns:

  • QgsCheckboxWidget -> QgsCheckboxWidgetWrapper

  • QgsClassificationWidget -> QgsClassificationWidgetWrapper

  • QgsColorWidget -> QgsColorWidgetWrapper

  • QgsEnumerationWidget -> QgsEnumerationWidgetWrapper

  • QgsFilenameWidget -> QgsFilenameWidgetWrapper

  • QgsHiddenWidget -> QgsHiddenWidgetWrapper

  • QgsPhotoWidget -> QgsPhotoWidgetWrapper

  • QgsRangeWidget -> QgsRangeWidgetWrapper

  • QgsTexteditWidget -> QgsTexteditWrapper

  • QgsUniquevalueWidget -> QgsUniquevalueWidgetWrapper

  • QgsUuidWidget -> QgsUuidWidgetWrapper

  • QgsValuemapWidget -> QgsValuemapWidgetWrapper

  • QgsValuerelationWidget -> QgsValuerelationWidgetWrapper

  • QgsWebviewWidget -> QgsWebviewWidgetWrapper

Servidor QGIS

Feature: Enhancements of searching with GetFeatureInfo request


Feature: Add a precision setting for GetFeatureInfo geometry attributes


Característica: Selecció aleatòria d’acoloriment millorada

Hem millorat l’algoritme d’acoloriment aleatori al renderitzador de classes, fent que els colors generats siguin visualment més fàcils de distingir l’un de l’altre.

Característica: Millores de simbologia a la interfície d’usuari

  • On sigui possible es mantindran les propietats de la capa de símbols quan es canviï el tipus de capa de símbols.

  • Added an edit button for shapeburst and gradient color ramps.

  • Automatic update of label and neighboring ranges boundaries.

  • Classes are automatically converted from categorised and graduated classes when switching to rule based renderer.

  • Added units and number of decimal places to graduated renderer labels.

  • Improved responsiveness to changes in color ramp, inverted colour ramp, and other options in GUI.

  • Retain symbol when switching between simple, graduated, categorized, and other renderers.

  • Improved labelling of StdDev calculation mode.

Interfície d’usuari

Feature: Syntax highlighting code editor

For python script editors, expression builder, filter window, composer HTML and CSS editors

Característica: Paletes de colors

Ara ja podeu definir les vostres paletes de colors personalitzades per utilitzar-les a QGIS.

  • Custom user global color palette (in options dialog).

  • Per project color palette (in project properties dialog).

  • Colors are shown in color button menus and new color picker dialog.

  • You can import/export colors to a GPL palette file.

Feature: New color picker dialog

There is a new custom QGIS color picker dialog. Features include:
  • Sliders for hue, saturation, value, red, green, blue color components.

  • Alpha slider.

  • Option to copy/paste html color codes (in a variety of formats).

  • Before/after color preview, with alpha preview.

  • Interactive 2D color ramp widget.

  • Hue wheel/triangle widget.

  • Editable color palettes, including the ability to create new palettes and import/export colors to a GPL palette file.

  • Live color sampler with option to sample over a set radius (OS support dependant).

  • Supports interaction with other apps via drag and drop of colors (OS support dependant).

  • Option to disable the dialog and use the native picker dialog instead.

Feature: Single select feature tool merged into select by rectangle

We have merged the single selection tool into the rectangle tool. If you want to select a single feature, simply enable the rectangle tool and then single click (rather than dragging a rectangle) a feature.

Feature: Add layer to map canvas behaviour

In many of QGIS” dialogs that generate a new layer, the “Add layer to map canvas” checkbox is now checked by default so that the new layer automatically gets added to the map.

Feature: Add icon size 48 and 64

For those using QGIS on touch devices (or if you just like big, chunky icons), you can now set the icons up to 64 x 64 pixels in size.

Feature: New colour buttons

This is probably one of the most useful new features in QGIS 2.6 - especially if you are involved a lot in cartography work. The colour button used everywhere in QGIS has been enhanced, with drop down menus, colour swatches, default colours, etc. Click on the drop down item to the right of the colour button to see the quick options. Click on the button to the left of the colour widget to see a standard colour chooser dialog.

Feature: Context menu for identify tool

When using the identify tool, you can now right click on the canvas to use the identify tool in context mode. In the menu that appears you can define which feature types you wish to identify (all all if you like).