58896 Commits

Author SHA1 Message Date
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
Nyall Dawson
6db6ede362 [diagrams] When an unknown diagram type is encountered, don't crash, but instead fallback to known type
Avoids projects from a new qgis using a new diagram type crashing when opened in earlier
qgis versions
2019-11-23 18:06:18 +10:00
Nyall Dawson
249d38a522 Add read/write context to diagram serialization 2019-11-23 18:06:18 +10:00
Nyall Dawson
bfd925dc31 [diagrams] Fix placement of histogram diagrams with bar spacing set 2019-11-23 18:06:18 +10:00
Nyall Dawson
abb643825c [diagrams] Fix bars drawn outside of registered diagram extent for some orientations 2019-11-23 18:06:18 +10:00
Nyall Dawson
a72f42b6ea [diagrams] Better default size for diagrams 2019-11-23 18:06:18 +10:00
Nyall Dawson
1c0a991882 [diagrams] Default bar spacing should be 0 2019-11-23 18:06:18 +10:00
Nyall Dawson
a784fbe617 [diagrams] Diagram size widget should allow non-integer values
There's no reason we should limit diagram sizes to round number of
mm, so adapt widget to follow same behavior as other symbol size widgets.
2019-11-23 18:06:18 +10:00
Nyall Dawson
ee2608934b [diagrams] Fix incorrectly calculated size of diagrams when bar spacing is set 2019-11-23 18:06:18 +10:00
nirvn
c7d4892c7e [canvas] Fix zoom to selection for single point selection when layer is reprojected 2019-11-23 11:06:51 +07:00
Even Rouault
ed7d13da7c QgsCoordinateTransform::transformCoords(): with PROJ 6, do no raise on partial failure of multiple point transformation
Fixes #32973 or at least improve it significantly

Currently with PROJ 6 transformCoords() will raise an exception as soon
as a single point fails to transform. With PROJ < 6, this (generally)
did not occur. Exceptions were raised only (mostly) on failures on
single point.
Imitate that
2019-11-23 14:02:21 +10:00
Even Rouault
a485b476c3
Merge pull request #33021 from rouault/fx_writing_to_kml_with_gdal_3
QgsVectorFileWriter: fix axis order issue with GDAL 3 (fixes #33014)
2019-11-22 21:00:26 +01:00
Even Rouault
e75ff1b592
QgsVectorFileWriter: fix axis order issue with GDAL 3 (fixes #33014) 2019-11-22 20:18:50 +01:00