59083 Commits

Author SHA1 Message Date
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
Matthias Kuhn
55df0c101f Add documentation 2019-11-25 18:11:08 +01:00
Alessandro Pasotti
44c390cf81 MXE build workflow 2019-11-25 16:42:48 +01: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
Alessandro Pasotti
22a72bef6b
Merge pull request #33012 from elpaso/bugfix-gh-33000-time-support
Fix time (and date) fields editing in forms
2019-11-22 17:04:32 +01:00
Alessandro Pasotti
2c61eb39a0 Address comments 2019-11-22 16:00:01 +01:00
Martin Dobias
5706a9f739 Make event tracing disabled by default
It needs qgis/enableEventTracing to be set to true in Options > Advanced.
2019-11-22 12:56:11 +01:00
Martin Dobias
c452bed260 Put all chunked entity load tile events into one group 2019-11-22 12:56:11 +01:00
Martin Dobias
adad95ee67 Make it possible to load multiple terrain tiles at the same time
Also adds some event tracing support to better understand what
is going on under the hood
2019-11-22 12:56:11 +01:00
Martin Dobias
e86d283a08 Add recording of async events to the event tracer 2019-11-22 12:56:11 +01:00
Martin Dobias
ae92395de9 Basic event tracing for 3D and a shortcut to toggle tracing: ctrl+shift+. 2019-11-22 12:56:11 +01:00
Alessandro Pasotti
17a700b34b Fix time (and date) fields editing in forms
Fixes #33000
2019-11-22 11:33:52 +01:00
Matthias Kuhn
63911c1d01
Merge pull request #32551 from rduivenvoorde/from_epoch
[FEATURE] Add datetime_from_epoch (MSec from epoch) expression function
2019-11-22 11:09:37 +01:00
Nyall Dawson
baf38199e0 [FEATURE][diagrams] Add option to control pie diagram angular direction
I.e. control whether the sections are rendered in a clockwise or
anticlockwise direction

Sponsored by SLYR
2019-11-22 09:01:49 +10:00
Nyall Dawson
701ea057b1 Fix broken QMap<QVariantList,...> finding, which causes case-insensitive
comparisons to be made when resolving primary keys in the Oracle and
Postgres providers

qt's built in qMapLessThanKey for QVariantList is broken and does a
case-insensitive operation, so we replace it with a working version instead...
2019-11-22 04:09:50 +10:00
rldhont
b14d7a8d0e
Merge pull request #32800 from rldhont/fix-server-round-precision-extent
[Bugfix][Server] Correctly round extent coordinates in services capabilities
2019-11-21 19:02:29 +01:00
Alessandro Pasotti
8913fb34e6
Merge pull request #32114 from troopa81/fix_feature_count_estimated_metadata
Fix featureCount on postgres view when flag estimatedmetadata is set
2019-11-21 18:21:51 +01:00
rldhont
a60ea5d78e [Server] Update WMS GetProjectSettings tests for round extent in GetCapabilities 2019-11-21 18:08:33 +01:00
rldhont
e5431a88a9 [Server] Update WMS Dimension tests for round extent in GetCapabilities 2019-11-21 18:08:33 +01:00