Changelog for QGIS 2.18

image1

Release date: 2016-10-21

This is the last release in the 2.x series. The current Long Term Release (LTR) remains version 2.14.x. This release provides incremental improvements over our previous release. The majority of activity is currently focussed towards the development of QGIS 3.0 which is our next generation release planned for the end of the first quarter of 2017.

Thanks

We would like to thank the developers, documenters, testers and all the many folks out there who volunteer their time and effort (or fund people to do so). 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!

QGIS is supported by donors and sponsors. 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 and 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. A complete list of current sponsors is provided below - our very great thank you to all of our sponsors!

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.

Sponsors for QGIS version 2.18.0

Annually we also receive support from various organisations who appreciate the work we do and would like to facilitate the sustained development effort that goes into the project. These sponsors are listed below with our thanks!

Large

Medium

Small

General

Any http or mailto links within attribute values will now automatically be converted to clickable links within the identify results panel.

image58

This feature was developed by Sandro Mani (Sourcepole)

Feature: Mouse wheel over color dialog sliders

In QGIS 2.18 you can now scroll the mouse wheel over any of the sliders within the color picker dialog to increment the value by small amounts. This is a handy shortcut for small tweaks to color components.

image59

This feature was funded by Nyall Dawson (North Road)

This feature was developed by Nyall Dawson (North Road)

Feature: Add custom color schemes to color button drop down menu

QGIS 2.18 adds the ability for users to set whether a user created color scheme should show up in the color button drop-down menus. This setting is controlled through the color picker dialog, on the lists tab. Just add a new color scheme, then from the scheme menu tick the new "show in buttons" option. It's a handy shortcut if you have sets of common palettes and want them to be instantly available through the color menu.

image60

This feature was funded by North Road

This feature was developed by Nyall Dawson (North Road)

Symbology

Feature: Color picker is now embedded in layer style panel

In QGIS 2.18 clicking a color button inside the layer style panel causes the color picker dialog to be opened inside the style panel itself rather than as a separate dialog. This allows for interactive modification of colors with immediate preview of the result.

image42

This feature was funded by North Road

This feature was developed by Nyall Dawson (North Road)

Labelling

Feature: Substitution list support for labeling

Adds the ability to specify a list of text substitutes to make which apply to label text. Eg abbrevating street types.

Users can export and import lists of substitutes to make reuse and sharing easier.

image43

This feature was funded by North Road

This feature was developed by Nyall Dawson (North Road)

Feature: Improved line label placement algorithm

The parallel labeling mode for line layers has been greatly improved, with a new algorithm which avoids placing labels over jagged parts of the feature geometries.

image44

This feature was funded by Andreas Neumann

This feature was developed by Nyall Dawson (North Road)

Feature: Label polygons using curved labels along perimeter

This adds a new mode for labeling polygons where the perimeter of the polygon is labeled using curved labeling.

image45

This feature was funded by North Road

This feature was developed by Nyall Dawson (North Road)

Rendering

Feature: Preview of raster tiles (WMTS and XYZ layers)

In previous versions of QGIS, users had to wait until download of all tiles of a layer has finished in order to view the resulting map. This has now been fixed and the tiles show up in map canvas immediately as they get downloaded, improving the user experience by greatly lowering the time until something is shown. Moreover, previously downloaded tiles from lower or higher resolutions may be used for the preview functionality in the areas where the tiles with correct resolution have not been downloaded yet.

image46

This feature was funded by Land Information New Zealand

This feature was developed by Martin Dobias (Lutra Consulting)

Feature: Cancellable rendering of rasters (WMS, WMTS, WCS and XYZ layers)

This enhancement improves user experience when working with raster layers coming from remote servers. Previously one would need to wait until downloads are fully complete in order to be able to zoom or pan the map again, because the user interface would stay frozen in the meanwhile. This is now fixed by the fact that the rendering of raster layers can be cancelled any time.

This feature was funded by Land Information New Zealand

This feature was developed by Martin Dobias (Lutra Consulting)

Data Management

Feature: Add flag to only copy selected features

The offline editing plugins is a default plugin that ships with QGIS and allows you to offline a remote dataset (e.g. from a database), edit it in the field, and then resynchonise it when you get back to your office. This extends the offline editing possibilities to only work on subset of large layers.

image47

This feature was funded by DB Fahrwegdienste GmbH

This feature was developed by Matthias Kuhn (OPENGIS.ch)

Forms and Widgets

Feature: Allow controlling labels for individual edit widgets

Allow controlling labels for individual edit widgets in a form. In the drag and drop designer, a double click on an item will allow controlling if the label should be shown for each item individually.

In addition it is possible to configure if the link/unlink buttons are shown in relation reference widget, which is useful to hide in 1:n relations where a child can't exist without its parents.

image48

This feature was funded by Kanton Zug, GIS-Fachstelle

This feature was developed by Matthias Kuhn (OPENGIS.ch)

Feature: Conditional visibility for tabs and group boxes

This adds a new configuration option to conditionally show or hide tabs and groupboxes in drag and drop designer forms.

Configuration is done via a double click in the designer tree in the fields configuration interface.

An expression can be entered to control the visibility. The expression will be re-evaluated everytime values in the form change and the tab or groupbox shown/hidden accordingly.

image49

This feature was developed by Matthias Kuhn (OPENGIS.ch)

Feature: Client side default field values

Allows an expression to be set for a vector layer field which is used to evaluate a default value for this field. Default value expressions can utilise properties of the feature which exist at the time of calling, such as digitized geometries. Expression variables can also be used in default value expressions, making it easy to eg insert a user's name, the current datetime, project path, etc.

image50

This feature was funded by DB Fahrwegdienste GmbH

This feature was developed by Nyall Dawson (North Road)

Map Composer

Feature: True North Arrows

QGIS 2.18 adds support for orienting north arrows in the composer to True North. Previously all arrows were aligned to grid north, which is unsuitable for polar regions or non-north up projections (such as some South African projection systems). Now, you can choose to orient arrows to either grid north or true north. There's also an optional offset angle, which can be used to specify a grid convergence to make your arrows orient to magnetic north!

image51

This feature was funded by Norwegian Polar Institute's Quantarctica project

This feature was developed by Nyall Dawson (North Road)

Processing

Feature: Point on surface algorithm

This new algorithm is similar to the centroids algorithm, but where a centroid may fall outside its corresponding feature the 'Point on surface' algorithm is guaranteed to create a point which is inside the corresponding polygon feature (or touching the corresponding line feature for line layers).

image52

This feature was funded by North Road

This feature was developed by Nyall Dawson (North Road)

Feature: Processing dissolve algorithm accepts multiple fields

The dissolve algorithm now allows you to dissolve based on more than one field value. In previous QGIS versions a dissolve could only group features by a single field value.

image53

This feature was funded by North Road

This feature was developed by Nyall Dawson (North Road)

Feature: Optimised processing clip algorithm

The processing clip algorithm has been optimised for common use scenarios, resulting in dramatic speedups for clipping operations. For example:

Clipping a roads layer with 1 million lines against 2 polygons

| Earlier versions: 5 mins 30 seconds | QGIS 2.18: 10 seconds

Clipping a 5 million point address layer against 2 polygons

| Earlier versions: 50 minutes | QGIS 2.18: 30 seconds

image54

This feature was funded by North Road

This feature was developed by Nyall Dawson (North Road)

Feature: Bounding boxes algorithm

This new algorithm calculates the bounding box (envelope) of each feature in the input layer.

image55

This feature was funded by North Road

This feature was developed by Nyall Dawson (North Road)

Feature: Merge connected lines algorithm

This algorithm joins all the connected parts of MultiLineString geometries into single LineString geometries. If any parts of the input MultiLineString geometries are not connected, the resultant geometry will be a MultiLineString containing any lines which could be merged and any non-connected line parts.

image56

This feature was funded by North Road

This feature was developed by Nyall Dawson (North Road)

Feature: Geometry boundary algorithm

This new algorithm returns the closure of the combinatorial boundary of the input geometries (ie the topological boundary of the geometry). For instance, a polygon geometry will have a boundary consisting of the linestrings for each ring in the polygon, and a line geometry will have a boundary consisting of the start and end points of the line. This algorithm is only valid for polygon or line layers.

image57

This feature was funded by North Road

This feature was developed by Nyall Dawson (North Road)

Data Providers

Feature: Native support of XYZ tile layers

Raster tiles in XYZ format are now natively supported within WMS data providers, allowing users to display basemaps from other sources without requiring third-party plugins like QuickMapServices or OpenLayers anymore.

To add connections to XYZ layers, just open browser dock widget, look for item called "Tile Server (XYZ)" and right click it to get a popup menu with "New connection" action. You will be asked for URL, in which {x}, {y}, {z} will be replaced by the actual tile numbers according to the current map view. For example, to add OpenStreetMap base map, one may use this URL: http://c.tile.openstreetmap.org/{z}/{x}/{y}.png

The data provider also supports encoding of XYZ tile numbers into "quadkeys" used by Bing. Simply use {q} instead of {x}, {y} and {z} in the URL.

image61

This feature was funded by Lutra Consulting

This feature was developed by Martin Dobias (Lutra Consulting)

QGIS Server

Feature: Possibility to segmentize feature info geometry in server

Necessary for geometries that contain curves (CircularArc, CompoundCurve, CurvePolygon), but the web client (e.g. QGIS Web Client) can't handle the display of these geometry types.

This feature can be enabled in the "OWS server" tab in the "Project Properties" dialogue.

image62

This feature was funded by Andreas Neumann

This feature was developed by Marco Hugentobler (Sourcepole)

Plugins

Feature: DB Manager: Add the ability to update SQL Layer

With this feature the user can update the layer datasource if it's based on an SQL request.

This feature was funded by Ifremer

This feature was developed by 3Liz

Programmability

Feature: Expose GEOS linear referencing function to QgsGeometry

A new function QgsGeometry::lineLocatePoint() has been added for retrieving the distance along a linestring to the nearest position on the linestring to a given point.

This feature was funded by North Road

This feature was developed by Nyall Dawson (North Road)

Feature: New PyQGIS classes in 2.18

New core classes

  • QgsAnnotation - an interface for annotation items which are drawn over a map
  • QgsFeedback - a base class for feedback objects to be used for cancellation of something running in a worker thread
  • QgsOptionalExpression - an expression with an additional enabled flag

New GUI classes, Reusable widgets

  • QgsExpressionLineEdit - includes a line edit for entering expressions together with a button to open the expression creation dialog. This widget is designed for use in contexts where no layer fields are available for use in an expression and space is constrained.
  • QgsTabWidget - similar to QTabWidget but with additional methods to temporarily hide/show tabs

Feature: New expression functions

QGIS 2.18 adds several new expression functions, including functions for angle/distance interpolation.

  • line_merge: merges a MultiLineString geometry into connected LineStrings
  • boundary: returns a geometry's topological boundary, ie for polygons this is a MultiLineString representing the polygon's rings
  • angle_at_vertex: returns the average (bisector) angle to a geometry at a specified vertex index
  • distance_to_vertex: returns distance along geometry to a specified vertex index
  • line_interpolate_angle: calculates the angle parallel to a geometry at the specified distance along the geometry
  • line_interpolate_point: returns a point on line at distance
  • line_locate_point: returns distance along line to nearest line location closest to specified point

This feature was funded by Andreas Neumann

This feature was developed by Nyall Dawson (North Road)