58908 Commits

Author SHA1 Message Date
root676
08c194c7e0 remove python version of Random points in extent algorithm 2019-11-27 04:18:28 +10:00
root676
a75436c5e3 [feature][processing] Port and optimization of Random points in extent algorithm to C++ 2019-11-27 04:18:28 +10:00
nirvn
d0348127bf [ui] Fix out-of-sync show help button enabled state for the expression builder 2019-11-26 15:27:04 +07:00
Nyall Dawson
ab6239b753 Don't report success when a calculation error occurred 2019-11-26 18:25:26 +10:00
Nyall Dawson
f086d4e6bd Avoid qt containing detachment, remove some auto use 2019-11-26 18:25:26 +10:00
Nyall Dawson
bc6c3e57ff Avoid altering std::map while iterating over it (potentially unsafe)
And avoid some double-lookups
2019-11-26 18:25:26 +10:00
Nyall Dawson
e3d2dcdbe3 Fix crash in raster calculator on Windows builds
It's not safe to take the data from a vector like this, it will be
deleted as soon as the vector itself is

Fixes #32855
2019-11-26 18:25:26 +10:00
Nyall Dawson
7f5baf036f Fix SVG artifact outside of viewbox in poi_place_city.svg file
Fixes #33061
2019-11-26 14:03:32 +07:00
nirvn
a45811886c [diagrams] Harmonize the diagram type combobox looks 2019-11-26 13:04:09 +07:00
nirvn
5efd20d258 [layouts] Shuffle legend item widget tool buttons to reduce visual cumbersomeness 2019-11-26 13:03:36 +07:00
nirvn
b700e6d68c [layouts] Make legend's filter by map extent widget a check box 2019-11-26 13:03:36 +07:00
Nyall Dawson
a225ec0952 Don't enable diagram effects by default 2019-11-26 15:19:57 +10:00
Nyall Dawson
0b3b7123b9 [processing] Port "Count points in polygon" algorithm to c++ 2019-11-26 13:45:08 +10:00
Denis Rouzaud
abada63c93 convert if structures to switch 2019-11-26 11:25:31 +10:00
Nyall Dawson
3d4abaf818 Fix windows build 2019-11-26 10:53:10 +13:00
Harrissou Sant-anna
e02b5e6416 Make the comment on mask shape usage multiline
avoiding unnecessary scroll to fully read it
2019-11-26 05:32:19 +10:00
Alexander Bruy
3e63d65f89 address comments 2019-11-26 04:40:07 +10:00
Alexander Bruy
82559322d1 use QGIS API instead of GDAL API to create heatmaps 2019-11-26 04:40:07 +10:00
Nyall Dawson
42d6c3941f Hide coordinate operations which utilise a LAS/LOS grid shift file,
which are unsupported by proj 6

E.g. some candidate operations between EPSG:3035 and EPSG:5514

Since these can NEVER (as of now) be instantiated by proj, even if
the grid shift files are present, it's misleading to present them
as options to users.

Refs #30569
2019-11-26 03:59:39 +10:00
Nyall Dawson
97fd59a99a Fix grid file installation fails if path does not already exist
Fixes #32936
2019-11-26 03:59:13 +10:00
Nyall Dawson
3ba9515427 Fix expression function helping missing for all functions
Fixes #33016
2019-11-26 03:58:51 +10:00
Nyall Dawson
8b968cf2f5 Add missing documentation for geom_to_wkt precision argument 2019-11-26 03:58:51 +10:00
Nyall Dawson
37f2d2d8ae Fix function help for project function
Fixes #33035
2019-11-26 03:58:51 +10:00
Alexander Bruy
1a3fb9ae3c orthogonalize algorithm: make angle tolerance parameter dynamic 2019-11-26 03:56:24 +10:00
Alexander Bruy
59564c42dc mention Z and M fields in the points layer from table help 2019-11-26 03:56:24 +10:00
Alexander Bruy
eead84db25 constant raster algorithm: reduce minimum value for pixel size and take into
account target CRS when evaluating extent parameter
2019-11-26 03:56:24 +10:00
Alexander Bruy
cba4ea8a28 fix typos 2019-11-26 03:56:24 +10:00
Alexander Bruy
0800c5ddaa remove Python version of the Grid algorithm, it was ported to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
524f66da78 [processing] port single-sided buffer algorithm to C++ and make distance
parameter dynamic
2019-11-26 03:56:24 +10:00
Alexander Bruy
f1d6080082 [processing] port set Z value algorithm to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
9411d96f60 [processing] port set M value algorithm to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
5324d7f98d [processing] port points layer from table to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
9289d53a6c [processing] port orthogonalize algorithm to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
aed17baed3 [processing] port spatial index algorithm to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
7033c31063 [processing] port create attribute index algorithm to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
a1e75e9df3 [processing] port constant raster algorithm to C++ 2019-11-26 03:56:24 +10:00
Alexander Bruy
06a71403fe [processing] port terrain analysis algoithms to C++ 2019-11-26 03:56:24 +10:00
Peter Petrik
23ae038da4
fix docs for streamlines (#33054) 2019-11-25 10:14:25 +01:00
Vincent Cloarec
938aa58df8 [FEATURE] Streamlines Renderer for vector dataset on mesh layer. (#32996)
* [FEATURE] Mesh streamlines

fix #29534

The vector field data set in a mesh layer can currently be only rendered with arrows. This PR adds a new feature to render vector field in mesh layers with streamlines. 
The streamlines are seeded from start points. The seeding points can start from the vertices of the mesh, from a used grid or randomly. Streamlines could be coloured or width can be selected.
2019-11-25 08:54:11 +01:00
Nyall Dawson
0bbdf202ca Remove backport bot - it's dead 2019-11-25 12:44:34 +10:00
Nyall Dawson
69e1b84b4c Move QgsDebugCall to level 2 debug level 2019-11-25 12:43:10 +10:00
Nyall Dawson
83dd2aa036 Move some non-error debug messages to QgsDebugMsgLevel 2019-11-25 12:43:10 +10:00
Nyall Dawson
65ad06d1fd Rework QgsDebugMsgLevel to avoid construction of strings which
won't be logged at the current debug level

Instead of always constructing debug strings, and then potentially
ignoring them if they fall outside the current debug level, we instead
rework the QgsDebugMsgLevel macro so that strings are only ever
constructed when they WILL be logged.

This avoids the (often very expensive) string construction for
debug messages whenever the results won't be used. It allows low
level (i.e. level 3 or 4) debug messages to be safely used without
incurring huge slowdowns in debug builds.

TODO: ensure we only ever use QgsDebugMsg() for ERROR reporting,
and move all other debugging calls to QgsDebugMsgLevel instead.

Credit for original idea goes to @wonder-sk!
2019-11-25 12:43:10 +10:00
Jorge Gustavo Rocha
529aea6f4e Fix WMTS Capabilities document and related tests 2019-11-25 10:12:09 +10:00
Jorge Gustavo Rocha
23fc25b046 MetaSearch plugin: update CSW catalog url from the portuguese mapping agency 2019-11-25 07:43:34 +10:00
Nyall Dawson
e8ec0042f4 [FEATURE][diagrams] Paint effect support for diagram renderer
Allows for diagrams to use paint effects, including drop shadows,
outer glows, etc...

Sponsored by SLYR
2019-11-25 06:20:43 +10:00
Nyall Dawson
204bd47b19 [FEATURE][diagrams] New diagram type "stacked bars"
Stacks bars of varying colors for each attribute on top of each other
vertically or horizontally.

Sponsored by SLYR
2019-11-24 19:11:21 +10:00
nirvn
ec9e5986f5 Fix QGIS crashing when loading a recent project after saving dirty project 2019-11-23 15:45:53 +07:00
Nyall Dawson
6b0c9b83b6 Spelling 2019-11-23 18:06:18 +10:00
Nyall Dawson
9a23e1b209 [FEATURE][diagrams] Add option to show diagram axis for histogram diagram symbols
Where the axis line symbol can be set using a standard QGIS line symbol.

Sponsored by SLYR
2019-11-23 18:06:18 +10:00