Release date: 2019-02-22
The greatest QGIS release ever! QGIS 3.6 brings a massive list of new changes - the highlights of which we will try to cover here. As always can we remind you that QGIS is an open source project and if you are able to, consider supporting our work through donations, sponsorship or contributions to the code documentation, web site and so on.
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 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. 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.
A new decorator has been added to allow users to quickly add a title onto their canvases. The decorator features a background bar with customizable color and opacity.
This feature was developed by Mathieu Pellerin
Map canvas copyright and the newly-added title decorations can now be centered at the top or bottom of the map view.
This feature was developed by Mathieu Pellerin
Note: all the items mentioned below have been backported to LTR so they will also appear in QGIS 3.4.5.
In QGIS 2.18 you always had to select a feature first before editing it. In QGIS 3 there was no such thing - editing would be done on any feature any time. Now we are making the selection of feature (“lock”) available again - using right click.
In earlier QGIS 3 versions, right click on a feature would bring up a small popup menu that offers display of vertex editor. Now, right click on a feature will immediately show the vertex editor and disable editing of any other features.
When a feature is “locked”, it can be again unlocked by clicking on it or by clicking on an empty area - this will bring us back to the default mode when multiple features can be edited.
When there are multiple features in one mouse location, repeated right clicks will loop over them - with every right click you will lock to a different feature. Finally when all features have been offered, no feature will be locked and further right clicks will start the loop again.
The locking is possible when clicking a feature’s vertex, edge or interior (for polygons).
It is now possible to use Shift + double click to add a new vertex without placing it to a new location. Sometimes this is useful when users want to add extra vertices on the existing segments.
From the two modes of vertex tool, “all layers” used to be the default one. But from the user feedback that seemed like less common case and users prefer to have “current layer” as the default.
This feature was funded by German QGIS user group
This feature was developed by Martin Dobias (Lutra Consulting)
Unlike a number of software, the tool allows you to modify (multi)lines AND (multi)polygons. Moreover, it is not necessarily the end of the lines that is concerned; any segment of a geometry can be modified. The other side is that this can lead to invalid geometries, it is the responsibility of the user.
The tool asks you to select a limit (a segment) on which another segment will be extended or trimmed. Unlike the node tool, a check is performed to modify only the layer being edited.
When both segments are in 3D, the tool performs an interpolation on the limit segment to return the Z.
In the case of a trim, you must select the part that will be shortened by clicking on it.
This feature was funded by Mairie de Megève
This feature was developed by Loïc Bartoletti (Oslandia)
There is already a method to make rectangle by 3 points where the rectangle takes a length between the first and second point and the second length is equal to the distance between the 3rd and 2nd point.
This new method allows to create a rectangle by 3 points where the second length is the distance between the point and the point projected perpendicularly on the segment (or its extension).
This feature was developed by Loïc Bartoletti (Oslandia)
The identify tool now works on the mesh layer. It displays the value of scalar and vector components of the mesh at the current time.
This feature was funded by Lutra Consulting
This feature was developed by Peter Petrik (Lutra Consulting)
force_rhr
: forces polygons to follow the right hand rule, in which the area that is bounded by a polygon is to the right of the boundary. In particular, the exterior ring is oriented in a clockwise direction and the interior rings in a counter-clockwise direction.
decode_uri
: takes a layer parameter and an optional uri part parameter. It will return details about the data source of the layer. The available details depend on the data provider.
If called with only a layer parameter, a map will be returned with all the available information. If the part is also specified, only the value for the requested part will be extracted from the map.
path
has been added as an option for the layer_property
expression function
array_sort
: sorts an array of elements
nullif
sqlite_fetch_and_increment
make_rectangle_3points
: Make a rectangle from 3 points. There is two options for make the rectangle by the distance or a projection. Option distance: Second distance is equal to the distance between 2nd and 3rd point. Option projected: Second distance is equal to the distance of the perpendicular projection of the 3rd point on the segment or its extension.
make_square
: Creates a square from a diagonal.
from_json
to_json
Allows expressions like:
array(1,2,3)[0] -> 1
array(1,2,3)[2] -> 3
array(1,2,3)[-1] -> 3 (Python style, negative indices count from end of array)
array(1,2,3)[-3] -> 1
map(‘a’,1,’b’,2)[‘a’] -> 1
map(‘a’,1,’b’,2)[‘b’] -> 2
This feature was developed by Nyall Dawson, Mathieu Pellerin
@map_crs_description: name of the coordinate reference system of the map.
@map_crs_acronym: acronym of the coordinate reference system of the map.
@map_ellipsoid_acr: acronym of the ellipsoid of the coordinate reference system of the map.
@map_crs_proj4: Proj4 definition of the coordinate reference system.
@map_crs_wkt: WKT definition of the coordinate reference system.
This feature was developed by Alexis Roy-Lizotte
The new try() function tries an expression and returns its value if error-free. If the expression returns an error, an alternative value will be returned when provided otherwise the function will return null.
This feature was developed by Mathieu Pellerin
A brand new UI theme has made its way into QGIS named “Blend of Gray”. In addition, hundreds of fixes, tweaks, and refinements were applied to the preexisting “Night Mapping” theme.
This feature was developed by Mathieu Pellerin
Holding ctrl while selecting in the QGIS expressions and Python script editors allows you to select a multi-line block of text, which can be edited all at once.
This feature was developed by Nyall Dawson ()
The browser panel now shows QGIS style xml libraries, and these files can also be drag and dropped to a QGIS window. This opens a dialog allowing users to explore the style library, and import styles from the library to their QGIS install.
This feature was funded by North Road
This feature was developed by Nyall Dawson (North Road)
This new option, available under the “Advanced” button for fill symbols, allows forcing rendered polygons to follow the standard “right hand rule” for ring orientation (where exterior ring is clockwise, and interior rings are all counter-clockwise).
The orientation fix is applied while rendering only, and the original feature geometry is unchanged.
This allows for creation of fill symbols with consistent appearance, regardless of the dataset being rendered and the ring orientation of individual features.
This feature was funded by QGIS User Group Germany
This feature was developed by Nyall Dawson (North Road)
This new option is shown whenever a simple line symbol or marker line symbol is used as part of a fill symbol for rendering polygons. The default behavior is to render both interior and exterior rings, but this new setting allows users to set the symbol layer to render only for the exterior ring OR only for interior rings. This allows for symbolisation which wasn’t directly possible before, such as a marker line with markers for interior rings angled toward the interior of the polygon.
This feature was funded by QGIS User Group Germany
This feature was developed by Nyall Dawson (North Road)
A new raster image marker symbology type was added to QGIS allowing users to use a raster, i.e. bitmap, image file to display as a marker. The raster image marker symbology permits customization of width, height, image ratio, rotation, and opacity.
Using data-defined image source, this new symbology makes for a great method to display georeferenced images on a map canvas.
This feature was developed by Mathieu Pellerin
Just like the SVG and raster image marker, raster fill can now be set to use HTTP(s) URLs or have files directly embedded inside the symbol itself.
This feature was developed by Mathieu Pellerin
When a field is configured with a value relation, value map or other “representable value” and the field is used as the source for a classification renderer, the represented values will be taken to label the categories.
This feature was developed by Matthias Kuhn
This change allows users to select multiple existing categories and group them into a single category, which applies to any of the values from the selection.
This allows simpler styling of layers with a large number of categories, where it may be possible to group numerous distinct categories into a smaller, more managable set of categories which apply to multiple values.
The option is available from the right click context menu in the categories list view, whenever multiple categories are selected.
This feature was funded by SMEC/SJ
This feature was developed by Nyall Dawson (North Road)
The Style Manager dialog has seen a number of improvements:
A new “list view” mode has been added
An “all” tab has been added, which shows all matching symbols (regardless of the symbol type)
This feature was developed by Nyall Dawson (North Road)
QGIS is now able to export raster styling to sld, for example to be used in Geoserver. See: https://docs.geoserver.org/latest/en/user/styling/qgis/index.html#exporting-raster-symbology
This feature was funded by OSGeo UK, GeoServer PSC, Brad Hards
This feature was developed by Luigi Pirelli and GeoSolutions
add dX, dY and residual on GCP Points
add option to automatically save GCP Points in the raster-modified path
This feature was developed by Faneva Andriamiadantsoa
Users can now choose to avoid the automatic georeferencer window minimisation which occurs when adding new control points from the map canvas. This behaviour can be annoying on multi-monitor setups where it can be desirable to have both windows visible while adding points.
This feature was developed by Nyall Dawson (North Road)
This feature was developed by Corentin Falcone (SIRS)
This widget is available for binary fields only (and is the default widget used for binary fields). It offers a label showing whether the blob field is empty or not, and if non-empty shows the content size (in bytes/kb/etc).
A drop down menu button allows users to save the current binary contents of the field out to a disk based file, clear the contents of a blob field, or embed binary contents by picking a file from their system.
This feature was funded by SMEC/SJ
This feature was developed by Nyall Dawson (North Road)
Users can now set a margin for the grid frames in layout map items. Additionally, new “Zebra (Nautical)” and “Line border (Nautical)” frame styles have been added, which show nautical-style blocks in the grid corners when a margin is set for the grid.
This feature was developed by konst
When exporting a print layout to PDF or SVG formats, users are now given a choice of how text and labels within that layout should be exported. Available options are to convert all text for outlines/curves (the previous default), or to leave text and labels as text objects.
This feature was developed by Nyall Dawson (North Road)
Several improvements have been made regarding how labels are rendered within layout map items.
A new setting allows per-map control of how close labels are permitted to be placed to the map item’s edges. Sizes can be set using mm/inches/pixels/etc, and data defined label margins are allowed.
A new setting allows per-map control of whether partial labels are visible in the map. This defaults to off, (unlike the canvas setting, which defaults to true for a new project) as layouts should always default to the settings which produce the highest quality cartographic outputs.
This feature was funded by North Road
This feature was developed by Nyall Dawson (North Road)
The buttons for setting layout map items to match the current map view (and vice versa) have been moved up to a new toolbar in map item properties windows.
New actions have also been added to set the map item’s scale to match the main canvas scale, and to set the main canvas scale to match the selected layout map’s scale. These mirror the existing settings for setting the extent from the canvas and pushing the extent TO the canvas.
This feature was funded by North Road
This feature was developed by Nyall Dawson (North Road)
This feature allows other layout items (such as scalebars, north arrows, inset maps, etc) to be marked as “blockers” for the map labels in a map item. This prevents any map labels from being placed under those items - causing the labeling engine to either try alternative placement for these labels (or discarding them altogether).
This allows for more cartographically pleasing maps – placing labels under other items can make them hard to read, yet without this new setting it’s non-trivial to get QGIS to avoid placing the labels in these obscured areas.
The blocking items are set through a map item’s properties, under the label settings panel. The setting is per-map item, so you can have a scalebar block the labels for one map in your layout and not others (if you so desire!)
This feature was funded by North Road
This feature was developed by Nyall Dawson (North Road)
When exporting print layouts, QGIS now automatically checks the layout for common mistakes and warns users when they are found:
Scalebars not linked to a map item
Picture items with broken or missing paths, or linked to unreadable image files
Map overviews no longer linked to a valid map item
This feature was funded by SMEC/SJ
This feature was developed by Nyall Dawson (North Road)
QGIS allows overview extents to be drawn below map labels (the new default), but in 3.6 choices have been added for drawing them below all map layers, or above/below a specific map layer. This allows users to control exactly where in the map item’s layer stack the overview will be placed, e.g. allowing them to draw a overview extent below some feature layers such as roads whilst drawing it above other background layers.
This feature was developed by Nyall Dawson (North Road)
New expression variables have been added for use in data defined expressions in layout legend items, including:
@legend_title
@legend_column_count
@legend_split_layers
@legend_wrap_string
@legend_filter_by_map
@legend_filter_out_atlas
If the legend is linked to a map, then expressions used in that legend will also have access to the linked variables, including @map_scale, @map_extent, etc.
Additionally, symbols rendered as part of a legend now use the full available expression context for the legend. This means the symbols will have access to variables like the current atlas feature.
This feature was developed by Alexis Roy-Lizotte
This feature allows for expressions to be embedded directly inside legend item text (e.g. group, subgroup and item text). The expressions are evaluated at render time, with full knowledge of the legend’s expression context (so can utilise variables from the layout/layout item/etc)
There’s no UI for this yet (that will come in 3.8), but expressions are entered using the standard [% 1 + 2 %] format.
E.g. a legend item text of
My layer (rendered at 1:[% @map_scale %])
will show in the output as
My layer (rendered at 1:1000)
This feature was developed by Nyall Dawson (North Road)
OpenCL acceleration is now available by default for raster calculator operations.
This feature was funded by Alessandro Pasotti - ItOpen
This feature was developed by Alessandro Pasotti
Similar to raster calculator, mesh calculator works on mesh layers. In addition to the general functions, mesh calculator also provides time aggregate functions. For example, if you have a netcdf with daily temperature over a month, you can calculate the average temperature for the whole month for each cell. The output can be filtered by time span or spatial extent.
This feature was funded by Lutra Consulting
This feature was developed by Peter Petrik (Lutra Consulting)
Allows for removal of duplicate features, identified using the values in one (or more) field values from the input features. Optionally any discarded (duplicate) features can be saved to a separate sink.
This feature was funded by SMEC/SJ
This feature was developed by Nyall Dawson (North Road)
This algorithm creates a copy of an input layer and adds a new field for every unique key found in a HStore type field. For instance, a HStore field is often present in an OSM dataset (“other_tags”).
This feature was developed by Etienne Trimaille
This new algorithm forces polygon geometries to respect the Right-Hand-Rule, in which the area that is bounded by a polygon is to the right of the boundary. In particular, the exterior ring is oriented in a clockwise direction and the interior rings in a counter-clockwise direction.
This feature was funded by QGIS User Group Germany
This feature was developed by Nyall Dawson (North Road)
This new algorithm allows users to extract binary fields to files.
This feature was funded by SMEC/SJ
This feature was developed by Nyall Dawson (North Road)
This algorithm takes an input (multi)line (or curve) layer, and splits each feature into multiple parts such that no part is longer then the specified maximum length.
Supports data-defined maximum length property, and edit in place operation.
This feature was developed by Nyall Dawson, Nathan Woodrow
A new parameter type for processing algorithms, QgsProcessingParameterAuthConfig, has been added, allowing selection from available authentication configurations (and creation of new ones).
It allows creation of processing algorithm which can fully take advantage of QGIS’ mature authentication handling, avoiding the need to use insecure string parameters for users to input sensitive logon credentials.
QgsProcessingParameterAuthConfig parameters are evaluated using QgsProcessingAlgorithm.parameterAsString(), which returns the selected authentication configuration ID.
This feature was funded by SMEC/SJ
This feature was developed by Nyall Dawson (North Road)
This feature was developed by Alex Bruy
This algorithm calculates statistics for a raster layer’s values, categorized by zones defined in another raster layer.
This feature was developed by Nyall Dawson (North Road)
These algorithms allow users to convert z or m values present in feature geometries to attributes in the layer.
By default the z/m value from the first vertex in the feature is extracted, but optionally statistics can be calculated on ALL the z/m values from the geometry (e.g. calculating mean/min/max/sum/etc of z values).
This feature was developed by Nyall Dawson (North Road)
This algorithm splits a line into multiple geodesic segments, whenever the line crosses the antimeridian (±180 degrees longitude). Splitting at the antimeridian helps the visual display of the lines in some projections. The returned geometry will always be a multi-part geometry.
Whenever line segments in the input geometry cross the antimeridian, they will be split into two segments, with the latitude of the breakpoint being determined using a geodesic line connecting the points either side of this segment. The current project ellipsoid setting will be used when calculating this breakpoint.
If the input geometry contains M or Z values, these will be linearly interpolated for the new vertices created at the antimeridian.
Supports in-place edit mode also.
This feature was developed by Nyall Dawson (North Road)
This allows optional creation of geodesic lines, which represent the shortest distance between the points based on the ellipsoid.
When geodesic mode is used, it is possible to split the created lines at the antimeridian (±180 degrees longitude), which can improve rendering of the lines. Additionally, the distance between vertices can be specified. A smaller distance results in a denser, more accurate line.
This feature was developed by Nyall Dawson (North Road)
The SAGA raster surface volume has been ported to a native QGIS algorithm. The SAGA version of this algorithm is of limited use in QGIS, because the volume calculated is embedded only in the SAGA terminal output. This prevents it being saved to a file, or reused within a model as an input to a later model step. Accordingly, the algorithm has been ported across to a native QGIS c++ algorithm. The algorithm duplicates the SAGA algorithm 1:1, but outputs the volume (and area) to either a HTML report, or a vector table. Additionally, the outputs are exported as numeric outputs from the algorithm, allowing them to be re-used within models.
This feature was developed by Nyall Dawson (North Road)
The 2.x ability to directly convert a Processing model to an equivalent Python script has been resurrected and updated for the 3.x Processing API.
This feature was funded by Solspec
This feature was developed by Nyall Dawson (North Road)
This change adds a new right click menu to the settings shown in the “Advanced” tab in the settings dialog, which allows users to remove that setting (or group of settings).
This feature was funded by North Road
This feature was developed by Nyall Dawson (North Road)
Allows for direct export of these files (e.g. to a different format, crs, etc) without having to actually load them into a project first.
This feature was funded by Nyall Dawson (North Road)
This feature was developed by Nyall Dawson (North Road)
You can now right click on a file or folder within the browser, and select “File Properties” or “Directory Properties” to open the native file/folder properties dialog for that entry. This allows rapid access to operating system file or folder properties, such as file permissions and sharing options.
This feature was funded by North Road
This feature was developed by Nyall Dawson (North Road)
QGIS 3.6 brings back the functionality from the old 2.18 standalone “browser” application to preview layers and their attributes. This functionality has been moved to the inbuilt browser panel, and is available by right-clicking on a layer and selecting “properties” (or by clicking the “enable properties widget” button in the browser toolbar).
This feature was funded by SMEC/SJ
This feature was developed by Nyall Dawson (North Road)
Previous versions of QGIS would show QGS/QGZ project files in the browser, allowing them to be opened as the new active project. In QGIS 3.6 this functionality has been extended, and project files can now be explored directly WITHIN the browser. Projects are now expandable items, and expanding them shows the full project structure of groups and layers. Any layer can then be dragged and dropped to the current project.
This feature was funded by North Road
This feature was developed by Nyall Dawson (North Road)
Right clicking a directory in the browser panel now shows a “New” menu, containing items for creating a new Geopackage, Shapefile, or subdirectory under the selected directory.
This feature was funded by North Road
This feature was developed by Nyall Dawson (North Road)
A new context menu entry has been added for browser panel directory items to open a new terminal window at that directory.
On Windows, this new terminal inherits the QGIS environment, so GDAL commands and Python scripts which use PyQGIS commands work without any further environment setup required.
Terminal hackers rejoice!
This feature was developed by Nyall Dawson (North Road)
This feature was funded by A.R.P.A. Piemonte
This feature was developed by Alessandro Pasotti
A new setting, “allowVersionCheck” has been added to the QGIS configuration ini file. If set to true (the default), users may control whether the version check is enabled or disabled through the QGIS settings dialog. When this setting is set to false, no version checking will be performed AND users will NOT have an option to enable this check in the settings dialog.
This setting is intended for use in enterprise installs where QGIS version management is handled centrally.
This feature was funded by SMEC/SJ
This feature was developed by Nyall Dawson (North Road)
This feature was funded by A.R.P.A. Piemonte
This feature was developed by Alessandro Pasotti
ArcGIS Feature Server layers have a new right click menu option in the browser panel, allowing users to directly open the service information web page for the selected layer.
This feature was funded by SMEC/SJ
This feature was developed by Nyall Dawson (North Road)
Instead of converting binary fields to truncated strings, these values are now retrievable as their original binary contents. This allows for plugins and scripts to utilise binary fields, such as extracting their contents.
Additionally, new binary fields can be created for compatible data sources.
This feature was funded by SMEC/SJ
This feature was developed by Nyall Dawson (North Road)
When loading a Feature Server layer with picture marker or picture fill symbology, QGIS will automatically convert the ESRI picture marker and fill symbols and use them as the default style for the layer.
This feature was funded by SMEC/SJ
This feature was developed by Nyall Dawson, Mathieu Pellerin
When a Feature Server layer has labeling defined by the server, these labeling settings will be automatically used by default when loading the layer into QGIS.
This feature was developed by Mathieu Pellerin
Memory (“Temporary scratch”) layers can now use binary and boolean (true/false) field types.
This feature was funded by North Road
This feature was developed by Nyall Dawson (North Road)
Support for JSON allows to store structured data inside a single field in GeoPackage files.
Data which is saved as JSON can be represented and edited in
ValueRelation widgets with allow multiple selection activated
KeyValue widgets
List widgets
This feature was funded by Kanton Zug, Amt für Geoinformation
This feature was developed by David Signer (OPENGIS.ch)
When a view loaded from Data Source Managers’s PostgreSQL tab you can select the key columns of the view (by default the first column is used, which can be wrong). This commit stores that selection in the settings, so that it doesn’t have to be reselected on subsequent loads. This stored selection is also used when adding the loading from the browser.
This feature was developed by Jürgen Fischer
QGIS can now display a Feature Server layer with a multi-fiend unique value renderer setup.
This feature was developed by Mathieu Pellerin
The new GetPrint parameter accepts the primary key(s) for which atlas sheets should be printed, separated by comma,
Such a request would look like:
https://yourserver.name/path/to/qgisproject?SERVICE=WMS&REQUEST=GetPrint
&TEMPLATE=A4&FORMAT=pdf&ATLAS_PK=1,3,7
One can also provide an asterisk (*) for ATLAS_PK to request all features of an atlas. To protect the server against requesting too many features, it is possible to restrict it to a defined maximum of features that can be requested at one time (see attached screenshot).
As clients may not know which template has an atlas and which attribute(s) are the primary key of the coverage layer, this new feature also adds this information to the GetProjectSettings response of the WMS service.
This feature was funded by Kanton Zug, Amt für Geoinformation
This feature was developed by Marco Hugentobler
In QGIS Server 3.4, the WMTS API was added in which the tile matrices are calculated except for EPSG:3857 and EPSG:4326.
This change adds the capability to select the tile matrices to use with the project and to configure the top-left corner and the last level of the tile matrix. In the case of EPSG:3857 and EPSG:4326, the user can only choose the last level of the tile matrices.
This feature was funded by Ifremer
This feature was developed by 3liz
Thanks to this new feature, the FORMAT parameter of GetFeatureInfo for the WMS service may take ‘application/json’ or ‘application/geo+json’ values. In this case, the document returned by the server looks something like this:
{"type": "FeatureCollection",
"features":[
{
"type":"Feature",
"id":"testlayer",
"geometry":
{"type": "Point", "coordinates": [913204.9128, 5606011.4565]},
"properties":{
"id":3,
"name":"three",
"utf8nameè":"three"
}
}]
}
This feature was funded by Veolia
This feature was developed by Paul Blottiere (Oslandia)
Contains utilities for retrieving the geotag from images and for setting an image’s geotag.
Working with geotags (before this class!) is super-annoying and fiddly and relies on either parsing command line tools or depending on non-standard Python libraries which are not available everywhere, and often very difficult for users on certain platforms to get installed and working correctly.
With this class we have stable methods for geotag getting/setting which are universally available and can be used safely by plugins and scripts.
This feature was developed by Nyall Dawson (North Road)
This new PyQGIS API allows easy iteration over all the parts of a geometry, regardless of the geometry’s type. E.g.
geometry = QgsGeometry.fromWkt( 'MultiPoint( 0 0, 1 1, 2 2)' )
for part in geometry.parts():
print(part.asWkt())
geometry = QgsGeometry.fromWkt( 'LineString( 0 0, 10 10 )' )
for part in geometry.parts():
print(part.asWkt())
There are two iterators available. QgsGeometry.parts() gives a non-const iterator, allowing the parts to be modified in place:
geometry = QgsGeometry.fromWkt( 'MultiPoint( 0 0, 1 1, 2 2)' )
for part in geometry.parts():
part.transform(ct)
For a const iteration, calling .const_parts() gives a const iterator, which cannot edit the parts but avoids a potentially expensive QgsGeometry detach and clone
geometry = QgsGeometry.fromWkt( 'MultiPoint( 0 0, 1 1, 2 2)' )
for part in geometry.const_parts():
print(part.x())
This feature was funded by North Road
This feature was developed by Nyall Dawson (North Road)
Some nice API additions have been made to the QgsLineString API:
len(QgsCurve) returns number of points in curve
raise IndexErrors when calling pointN, xAt, yAt, zAt, mAt, setXAt, setYAt, setMAt, setZAt with invalid vertex indices
Add [] getter for retrieving specific vertices, eg. ls[0] returns QgsPoint(…)
Add [] setter for setting specific (existing) vertices, e.g. ls[1] = QgsPoint(1,2)
Add del support for removing vertices, e.g. del ls[1] removes the second vertex
This feature was funded by North Road
This feature was developed by Nyall Dawson (North Road)
The PyQGIS API for working with geometry collections has been improved:
Calling removeGeometry with an invalid index will now raise an IndexError
Calling collection[0] will return the first geometry in the collection, collection[1] the second, etc. And negative indices return from the end of the collection, so collection[-1] returns the last geometry in the collection.
Geometries can be deleted by calling del collection[1]
(deletes the second geometry from the collection). Also supports negative indices to count from the end of the collection.
Additionally, you can now easily iterate over the geometries in the collection, allowing this type of code:
gc = QgsGeometryCollection()
gc.fromWkt('GeometryCollection( Point(1 2), Point(11 12), LineString(33 34, 44 45))')
for part in gc:
print(part.asWkt())
This feature was funded by North Road
This feature was developed by Nyall Dawson (North Road)
Allows the following to define processing scripts without the need for implementing a custom class:
from qgis.processing import alg
This feature was developed by Nathan Woodrow
New PyQGIS API has been added for performing SAFE blocking requests. It is thread safe and has full support for QGIS proxy and authentication settings.
reply = QgsNetworkAccessManager.blockingGet(...)
reply = QgsNetworkAccessManager.blockingPut(...)
This API should be used whenever a blocking network request is required. Unlike implementations which rely on QApplication::processEvents() or creation of a QEventLoop, this class is completely thread safe and can be used on either the main thread or background threads without issue.
Redirects are automatically handled by the class.
This feature was developed by Nyall Dawson (North Road)
This feature was funded by SMEC/SJ
This feature was developed by Nyall Dawson (North Road)
New PyQGIS API for calculation of geodesic lines (shortest distance on an ellipsoid) has been added to QgsDistanceArea, which utilises the mature geographiclib library for geodesic calculations.
QgsDistanceArea.geodesicLine : calculates the geodesic line between two points
QgsDistanceArea.latitudeGeodesicCrossesAntimeridian calculates the latitude at which the geodesic line joining two points crosses the antimeridian
QgsDistanceArea.splitGeometryAtAntimeridian : splits a (multi)linestring at the antimeridian, using geodesic lines to calculate the exact point at which the split occurs on the antimeridian
This feature was developed by Nyall Dawson (North Road)
QgsRectangle does not propose the support of orientation or Z, since its role is for the extent. A new class called QgsQuadrilateral to manage 4 vertex polygons is created. For the moment, there are only rectangles, but it will be possible to add the other shapes later.
This refactoring simplifies maptools and allows you to use the QgsQuadrilateral class in other tools.
In addition, it will allow a better management of the Z for rectangles by 3 points. Today the first Z is used, now the points will have their Z and the 4th will be projected on the plane.
This feature was developed by Loïc Bartoletti (Oslandia)
This adds new options for user to choose how the terrain should be rendered: - shading disabled - color of terrain is determined only from map texture - shading enabled - color of terrain is determined using Phong’s shading model, taking into account map texture, terrain normal vector, scene light(s) and terrain material’s ambient+specular colors and shininess
Optionally, terrains can be shaded using a preset map theme.
This feature was developed by Martin Dobias (Lutra Consulting)
This feature adds a section to define point lights in 3D scenes. Up to 8 lights are supported (limitation by implementation of materials). For each light one can set the position, intensity, color and attenuation.
This feature was developed by Martin Dobias (Lutra Consulting)
This feature was funded by QGIS community
This feature was developed by Martin Dobias (Lutra Consulting)
With this feature, you can use mesh layer in 3D scene,
This feature was funded by Lutra Consulting
This feature was developed by Peter Petrik (Lutra Consulting)
Bug Title |
URL issues.qgis.org (if reported) |
URL Commit (Github) |
3.4 backport commit (GitHub) |
---|---|---|---|
QGIS Server: WFS issue using the EXP_FILTER parameter |
Done |
||
GetFeatureInfo response empty for child relation table in QGIS Server 3 |
Cannot reproduce with 3.5 |
||
QGIS Server WFS DescribeFeatureType not following TYPENAME parameter |
Done |
||
QGIS Server 3.4 can’t reset numeric field using WFS Update |
Done |
||
WFS provider shows numeric NULL fields with 0 instead of NULL |
Done |
||
OWS project title in project properties cannot be set to blank/empty |
unreported |
Done |
|
Form Value relation based on WFS layer |
Done |
||
Button positions in Database styles manager dialog |
Done |
||
raster calculator in processing does not work with Aspect raster |
Cannot reproduce with 3.5 |
||
Error opening network KML page: Range downloading not supported by this server! |
Done |
||
Can’t add a virtual field or update a existing field of a WFS layer using the field calculator |
Done |
||
Opening shapefiles in ZIP gives Invalid Datasource |
Cannot reproduce with 3.5 |
||
spatialite, edit table in dbmanager is broken in master Fault: no such table: pg_description |
N/A |
||
Delimitedtext layer saves absolute path when project in relative path mode |
Done |
||
field calculator doesn’t load values for gpkg containing blank spaces or n dash (hypen) in field names |
Done |
||
Can’t open feature form when when the primary key of Spatialite layer is created in text type |
No (deferred) |
||
Geopackage layer rename in DB Manager does not update f_table_name values in the layer_styles table or the Triggers |
Not possible because it relies on the new rename feature implemented in browser |
||
Layer Properties > Load Style > From database > ‘Other styles …’ > Description column contains Name text, should contain Description text (it is a geopackage layer) |
Done |
||
Comments in SQL query in DB Manager breaks the query |
N/A |
||
Bug with multiple Else items in rule-based style |
Done |
||
GetFeatureInfo not send Geometry when set into project |
Cannot reproduce with 3.5 |
N/A |
|
Geometry Checker Crashes |
Done |
||
QGIS crashes when createInstance() uses wrong constructor in a QgsProcessingAlgorithm subclass |
Done |
||
pasting features is very slow |
No (deferred) |
||
Attribute forms do not show anymore constraints messages |
Closed as invalid after several tests and some talks with Giovanni Manghi |
N/A |
|
OGR provider returns an empty set for GPKG uniqueValues(0) |
No (deferred) |
||
“default value” is not applied when pasting features |
No (deferred) |
||
Postgis very noticeable slowdown when opening the attributes table if the table has a large number of columns |
No (deferred) |
This feature was funded by QGIS.ORG donors and sponsors
This feature was developed by Alessandro Pasotti
Bug Title |
URL issues.qgis.org (if reported) |
URL Commit (Github) |
3.4 backport commit (GitHub) |
---|---|---|---|
gdal buildvrt missing an important param |
|||
gdal:warpreproject missing old ‘extra’ param |
|||
Points inside polygons |
Cannot reproduce with 3.5 |
||
IDW interpolation on csv point layer not working |
|||
[Processing] Field calculator algorithm does not use the selected layer as default layer input |
|||
v.surf.rst NOT WORKING IN QGIS 3.2.0 BONN |
|||
SVM Classification, SupportVectorMachineClassification(OpenCV)-Vector Field |
|||
GDAL/OGR Dissolve algorithm not properly working with point/multipoint layers |
|||
Build Virtual Vector tool: file created fails to load correctly |
Cannot reproduce with 3.5 |
||
“Convert map to raster” algorithm does not export with transparent background despite the option |
|||
[GUI] Disable edit tools when no layer is selected/available nor selected layer is in edit mode |
|||
“Add Rectangle From 3 Points” is enabled on a new project |
|||
v.buffer processing algorithm fails when using option “Name of column to use for buffer distances”. |
|||
Problem with URLs to exclude from network settings |
|||
Truncated decimals in raster data set pixel size |
|||
Embedded layer style and labels properties can be modified within the layer styling panel |
|||
processing: “default output vector layer extension” not respected by some tools |
|||
Unable to stop executing GDAL algorithm |
|||
Add option to control export features without categories in Processing GRASS algorithms |
unreported |
||
Processing: v.net tools (GRASS) return empty outputs |
|||
v.net.salesman sequence HTML output |
|||
v.net.report and v.net.nreport algorithms failed |
unreported |
||
Unable to add WCS - bad WCS Request |
|||
GeoNode API requests require a stronger minor version parsing |
|||
Check Boxes + Setting Flags in Python in Ubuntu |
Cannot reproduce with 3.5 |
||
SAGA openCV and processing tools |
Cannot reproduce with 3.5 |
||
Error copying records between tables |
This feature was funded by QGIS.ORG donors and sponsors
This feature was developed by Alexander Bruy
Bug Title |
URL issues.qgis.org (if reported) |
URL Commit (Github) |
3.4 backport commit (GitHub) |
---|---|---|---|
Attribute table will not allow letter ‘N’ to be entered |
|||
Editing Oracle Spatial view in QGIS |
|||
Missing CP949 (Korean) encoding at Export Project to DXF menu |
|||
GeoPackage Raster WEBP support |
|||
Grass algorithms doesn’t work from Processing Toolbox level (grass-7.7.svn folder problem) |
|||
Fix substr help |
|||
[OSGeo4W] introduce with spatialindex 1.9 |
fix in spatialindex |
||
osgeo4w: fix b6293f23c8c |
|||
Expand ZipItem in foreground |
|||
dwg import: catch spline misinterpretation |
|||
dwg import: support dxf encoding |
|||
dwg import: force polyline and hatch/ring continuity |
|||
dwg/dxf import: fix angle and alignment handing of (m)texts |
|||
dwg import: fix exception |
|||
dwg import: support nested blocks |
|||
dwg import: handle wrong hatch interpretation |
|||
dxf export: fix svg scaling |
not on redmine |
||
dxf export: fix output of closed 3d polylines |
|||
dxf export: don’t label invisible features |
|||
support polyline width and generic line width |
This feature was funded by QGIS.ORG donors and sponsors
This feature was developed by Jürgen Fischer
Bug Title |
URL issues.qgis.org (if reported) |
URL Commit (Github) |
3.4 backport commit (GitHub) |
---|---|---|---|
Crash when adding existing field to vectorlayer |
|||
Colour bars in colour chooser UI are rendered with interleaved stripes [MAC] |
|||
Impossible to rename a layer style from the Styling Panel |
|||
ods tables are not loaded correctly in QGIS 3.4 |
|||
QGIS 3.4.2 crush at QgsApplication.initQgis() on Mac |
Cannot reproduce with 3.5 |
||
QGIS freezes on MacOS 10.14 when launched from Launch Services (works ok when launched from terminal) |
caused by Qt 5.11 used in official MacOS package. Packages must be recreated with Qt 5.12 |
||
32 bit floating geotiff showing as black. worked in 2.18 and 3.0 - not working 3.4 |
|||
python error when running GRASS 7.6 tools in processing on mac OS |
problem in official MacOS package, workaround/fix suggested in the comment |
This feature was funded by QGIS.ORG donors and sponsors
This feature was developed by Peter Petrik
Bug Title |
URL issues.qgis.org (if reported) |
URL Commit (Github) |
3.4 backport commit (GitHub) |
---|---|---|---|
QGis 3.4 reproducible crash while in idle state |
|||
crash at processing….qgis:snapgeometries |
|||
QgsExternalResourceWidgetWrapper crashes |
Duplicate |
||
Crash on vector edit (that has the 4326 CRS) is reprojected in CRS 3857 |
|||
Adding new features in postgis fails with attribute window popup |
Works for me |
||
Can’t remove a constraint set on a field once saved |
|||
QGIS 3.5 not loading or saving multi-dimensional arrays properly from PostGIS layers |
TODO |
||
Attribute Table refresh issue when deleting features from shapefile |
|||
QgsVectorLayer from spatialite featureid problem |
Works in 3.5 and 3.4 branch (not in 3.4.4) |
This feature was funded by QGIS.ORG donors and sponsors
This feature was developed by Julien Cabieces
Bug Title |
URL issues.qgis.org (if reported) |
URL Commit (Github) |
3.4 backport commit (GitHub) |
---|---|---|---|
Snapping tooltip doesn’t works when Advanced Digitizing tool is activate |
Cannot reproduce with 3.5 |
||
Remove old settings for vertex markers |
Works as intended |
||
Snapping options in meters rounded to integers |
|||
Add the possibility to return a shp if ogr is not compiled with gpkg |
unreported |
||
fix qgsRound for negative numbers |
This feature was funded by QGIS.ORG donors and sponsors
This feature was developed by Loïc Bartoletti
Bug Title |
URL issues.qgis.org (if reported) |
URL Commit (Github) |
3.4 backport commit (GitHub) |
---|---|---|---|
algorithm create grid: reference point problem for calculating Y coordinates |
|||
Error in Processing modeller |
Not an issue anymore. Cannot reproduce. Ticket has been closed by original reporter |
||
Do not allow file input for tables or vctor layers if there are dependent fields |
|||
Deactivating/uninstalling plugin causes Python error when trying to edit a Processing model |
|||
Postgis DB selector for outputs fails to list schemas in selected DB |
|||
Regression: outputs of processing models are not assigned the specified styles |
|||
QGIS3: SagaUtils.py fails when comman contains non-latin characters |
|||
[processing] Wrong management of locale in output result path |
|||
[processing] SAGA algorithms cannot produce non-shp output |
|||
Extent selector shows layers with no spatial component (geometryless tables) |
This feature was funded by QGIS.ORG donors and sponsors
This feature was developed by Victor Olaya
Bug Title |
URL issues.qgis.org (if reported) |
URL Commit (Github) |
3.4 backport commit (GitHub) |
---|---|---|---|
32 bit floating geotiff showing as black. worked in 2.18 and 3.0 - not working 3.4 |
|||
ods tables are not loaded correctly in QGIS 3.4 |
|||
attributes in attribute table don’t match attribute in identify results/labels with WFS layer |
|||
KML loading bug |
|||
Zoom to Layer does not respond to filtered WFS |
|||
Processing time for GeoJSON 10 times slower in 3.4 |
This feature was funded by QGIS.ORG donors and sponsors
This feature was developed by Even Rouault
Bug Title |
URL issues.qgis.org (if reported) |
URL Commit (Github) |
3.4 backport commit (GitHub) |
---|---|---|---|
[vertex tool] Fix issue with hidden layers being editable |
|||
[vertex tool] Fix vertex addition to polygon’s first segment |
|||
[vertex tool] Misleading message when deleting all nodes of a ring or a part |
not fixed! needs quite involved fix to make |
||
[vertex tool] Improvements to the right-click behavior to pick locked feature |
N/A |
||
[vertex tool] right-click to loop through editable features |
N/A |
||
[vertex tool] misc small UX improvements |
N/A |
||
[vertex tool] two more UX fixes |
N/A |
||
[vertex tool] Few more UX improvements |
This feature was funded by QGIS user group Germany
This feature was developed by Martin Dobias
Bug Title |
URL issues.qgis.org (if reported) |
URL Commit (Github) |
3.4 backport commit (GitHub) |
---|---|---|---|
[postgis] Fix creation of new Z/M enabled, curved geometry type layers |
N/A |
||
[categorized] Fix blank layers when using categorized renderer |
N/A |
||
Fix invalid data source message is always shown after dragging and dropping vector layers to QGIS window |
N/A |
N/A |
|
[processing] Buffer algorithm should always export multipolygon layers |
|||
[processing][gdal] Fix polygonize field name is ignored |
N/A |
||
[processing] Allow matrix parameters to be correctly set for model child algorithms |
|||
[processing][gdal] Ensure that GDAL algs output the CORRECT generated filename for outputs |
N/A |
||
[processing][gdal] Fix incorrect definition of gdal_warp extra_param parameter |
N/A |
N/A |
|
Allow for exact calculation of symbol sizes with mixed layer units |
|||
Fix hang when WMS credentials requested |
|||
Fix misc deadlocks/crashes in network requests, especially when SSL errors or timeouts occur |
Multiple |
Multiple |
N/A – too intrusive |
[processing][saga] Fix definition of Multiple regression points/grids alg |
|||
[processing] do not show geometryless layers in extent selector |
|||
[layouts] Add checkbox to disable raster tiling for PDF/SVG exports |
N/A – too intrusive |
||
Fix empty strings in proxy exclude list results in proxy being skippe\d for ALL hosts |
|||
Avoid project being marked dirty as soon as its opened |
N/A |
N/A |
|
Fix loss of project when saving to QGZ format and path contains non-ascii chars |
|||
Fix evaluation of data defined properties for subsymbols of subsymbols |
|||
Fix shortest path algorithm can “shortcut” when using network in geographic coordinates |
|||
Fix project loading task never completes when project has embedded layers |
This feature was funded by QGIS.ORG donors and sponsors
This feature was developed by Nyall Dawson
Bug Title |
URL issues.qgis.org (if reported) |
URL Commit (Github) |
3.4 backport commit (GitHub) |
---|---|---|---|
Qgis 3.4.1 crashes when accessing methods of feature |
closed |
||
Bad size request with a georeferenced raster |
Can’t reproduce anymore in 3.5 |
||
Postgresql: empty SAVEPOINTS |
not applicable anymore |
||
Range widget does not honor default value on not null column |
|||
Range widget gives NULL value in Attributes Form/Table |
|||
QGIS 3.4.1 advanced modification and snap block QGIS |
closed |
||
Vertex markers not displayed properly for MultiPolygon features |
|||
Cascading controls in forms |
triage, closed |
||
$length incorrect in expressions |
This feature was funded by QGIS.ORG donors and sponsors
This feature was developed by Hugo Mercier