47309 Commits

Author SHA1 Message Date
Peter Petrik
12183e98db Fix reading/writing of mesh layer to a qgis project (fixes #18801) (PR #6869)
* fix guard header

* [bugfix] Fix reading/writing of mesh layer to a qgis project #18801

* fix copy-paste error

* fix copy-paste error

* extract decode source to derived classes

* remove raster providers from vector decode source

* reset testdata to master
2018-05-03 12:10:54 +02:00
Nyall Dawson
5c9366605a Add missing SIP_DEPRECATED 2018-05-03 16:34:46 +10:00
Nyall Dawson
1e7d479321 Fix outdated example code, convert to python
(because c++ devs are l33t and don't need examples...)
2018-05-03 16:33:26 +10:00
nirvn
fdaa57a273 [FEATURE][processing] Zonal histogram algorithm 2018-05-03 11:36:16 +07:00
Nyall Dawson
429374ecd1 Code cleanup 2018-05-03 11:50:04 +10:00
Nyall Dawson
6749c8dde4 Fix double delete in QgsMeasureTool
The rubber bands are owned by the canvas - so we shouldn't
be deleting them here.
2018-05-03 11:50:04 +10:00
Nyall Dawson
70aad93a61 [processing][gdal] Fix translate ignores nodata values of 0
And add more unit tests to translate alg
2018-05-03 11:23:51 +10:00
C
d99155f3f0 Added missing r.fill.stats processing description file. 2018-05-03 09:59:23 +10:00
rldhont
956d669304
Merge pull request #6867 from pblottiere/bugfix_nobbox
[server] CRS position in GetCapabilities document
2018-05-02 22:22:36 +02:00
arnaud.morvan@camptocamp.com
f019bc0699 [server] Avoid %2B to be interpreted as space in querystring
If '+' is replaced by ' ' after percent decoding, '%2B' is interpreted as ' '.

Fix this by replacing '+' by '%20' before percent decoding.
2018-05-02 22:21:39 +02:00
arnaud.morvan@camptocamp.com
8553e809d4 Fix BBOX CRS in WFS GetFeature 2018-05-02 22:16:23 +02:00
Nyall Dawson
9809f9394b [memory] Fix provider cannot handle fields with complex characters in name
Fixes #18885
2018-05-03 05:49:07 +10:00
Nyall Dawson
f4d38d4f09 Properly discard edit commands when calling QgsVectorLayer::destroyEditCommand()
Since it's not directly possible to pop the last command off
an QUndoStack (the command which is destroyed/discard by calling
this method), we add a dummy obsolete command to force this to occur.
Pushing the new command deletes the destroyed one, and since the new
command is obsolete it's automatically deleted by the undo stack.
2018-05-03 05:48:51 +10:00
Matthias Kuhn
0a269aa6e6
Merge pull request #6864 from ghtmtt/fix_saga
[processing] fix broken SAGA algorithms
2018-05-02 16:47:03 +02:00
Matthias Kuhn
7b3308dc4a Improved debug output on test fail 2018-05-02 16:11:08 +02:00
matteo
b3ed0f2ea2 change column name for travis 2018-05-02 14:58:15 +02:00
Matthias Kuhn
5f0f8062bc Compare case insensitive 2018-05-02 14:17:59 +02:00
Matthias Kuhn
0bf7c767ff
Merge pull request #6911 from DelazJ/DiagramDD
[ui] Reorganize rendering tab of Diagram properties
2018-05-02 12:13:44 +02:00
Matthias Kuhn
d9bdedf6d5 testing.checkLayersEqual, assert field names 2018-05-02 11:44:14 +02:00
Stéphane Brunner
cbf70a4da2
Merge pull request #6909 from pvalsecc/fix_crssync
Fix crssync crash during build
2018-05-02 10:48:03 +02:00
Nyall Dawson
8f9a378d76 Seriously, I thought I told ya ta shuddup already, right? 2018-05-02 08:47:16 +10:00
Harrissou Sant-anna
f68750c664 [ui] Reorganize rendering tab of Diagram properties
Also remove the data-defined collapsible groups and align items in the dialog
2018-05-01 21:48:59 +02:00
Nyall Dawson
c63260e109 [afs] Fix group layers are incorrectly shown in browser
These layers cannot be opened so should be skipped

Fixes #18886
2018-05-02 04:56:31 +10:00
Nyall Dawson
313970de79 [processing][saga] Remove redundant spaces from description files 2018-05-02 04:55:59 +10:00
Nyall Dawson
c2f224b446 [processing][saga] Fix "channel network and drainage basins" alg
Fixes #18870
2018-05-02 04:55:59 +10:00
Nyall Dawson
c68262da7f [processing] Correctly set default value for matrix parameters
Fixes #18871
2018-05-02 04:55:41 +10:00
Nyall Dawson
b63733ed96 [layouts] Fix handling of layout name when dropping qpt file to app
- Fix entered name is ignored and replaced by stored name
- Default to name stored in qpt as initial name for layout

Fixes #18790
2018-05-02 04:55:21 +10:00
Nyall Dawson
386495bc76 [processing] Also warn on non-matching point and extent CRS
if algorithm cannot handle automatic reprojection
2018-05-02 04:55:01 +10:00
Nyall Dawson
c32611b2c4 [processing] Remove unused code 2018-05-02 04:55:01 +10:00
Nyall Dawson
36432191ee [processing][gdal] Clip Vector By Mask Layer requires both
layers to have the same CRS
2018-05-02 04:55:01 +10:00
Nyall Dawson
2233bd44f9 Fix stats dock handling when refresh is clicked lots of times quickly 2018-05-02 04:54:37 +10:00
Nyall Dawson
8961ac447e Prevent tasks from spamming progress reports
Doing so grinds the QGIS to a halt, yet often progress
reports are being sent every feature (which results
in thousands of 0.00001 progress increment reports
for large layers!!)
2018-05-02 04:54:37 +10:00
Nyall Dawson
350200dffc Fix crash when unloading multiple layers from a project
The stats dock was holding onto a dangling pointer whenever
the statistics gathering task was canceled. This meant that
the next time the stats dock tried to start a calculation,
it would try to cancel the dangling task pointer and crash.
2018-05-02 04:54:37 +10:00
Patrick Valsecchi
d6b1f4946f
Fix crssync crash during build
On my machine, crssync dies with a core dump during the build of QGIS.
Infinite loop because there is no color defined in the scheme it loads.
2018-05-01 16:55:19 +02:00
Matthias Kuhn
f1aaa144ff
Merge pull request #6863 from m-kuhn/selectedfeaturedeletecount
Show feature count and layer when asking for delete confirmation
2018-05-01 12:57:47 +02:00
Nyall Dawson
9ff366ff0f Fix memory leak
Code looks valid, but valgrind is reporting a leak here. In any
case Qt docs suggest not to use addAction and parent the
actions to the QActionGroup instead, so let's do that (and
it solves the reported leak)
2018-05-01 20:31:57 +10:00
Nyall Dawson
b6832916d7 Fix crash on exit
Because the map canvas is destroyed before the project instance,
and QgsProject emits the labelingEngineSettingsChange signal
during its destructor, the lambda slot was getting executed
with a dangling map canvas pointer.

Correctly set the receiver in the lambda connection instead
so that the connection gets destroyed along with the canvas.
2018-05-01 20:31:57 +10:00
Matthias Kuhn
41bf860ad3 One deletes from, not on 2018-05-01 10:11:21 +02:00
Harrissou Sant-anna
46f867cef4 Use QCoreApplication.translate() instead 2018-05-01 17:58:01 +10:00
Harrissou Sant-anna
8088659c43 More details on Processing algorithms toolbar 2018-05-01 17:58:01 +10:00
Martin Dobias
3b36cdd170
Merge pull request #6750 from lbartoletti/visibleSnapPerf
[BUGFIX][FEATURE][NEEDS-DOCS] Disable snapping on invisible features. Second version
2018-05-01 09:46:59 +02:00
Nyall Dawson
cec59c0c39 Shutup more annoying Qt warnings 2018-05-01 17:39:21 +10:00
Nyall Dawson
0449874c08 Silence annoying 'appendChild() on a null node does nothing' warning 2018-05-01 14:54:29 +10:00
nirvn
9d9955e272 [processing] improve eliminate selected polygons alg help
i.e., the use only selected option is gone since 3.0
2018-05-01 10:43:13 +07:00
Mathieu Pellerin
39c6e23c08
[needs-docs][processing] add help and clarity to the define current projection algorithm 2018-05-01 10:14:08 +07:00
Nyall Dawson
3228654e5b [diagrams] Fix bar width maximum is too small for map unit sizes
Fixes #18791
2018-05-01 11:24:56 +10:00
Nyall Dawson
16106b8cfa [processing] More verbose error when unsupported SAGA version found 2018-05-01 09:18:03 +10:00
Nathan Woodrow
27714fc5a1 [expression] Show expected arg count if wrong args passed 2018-05-01 08:20:11 +10:00
Juergen E. Fischer
dcde8eee01 update INSTALL (run scripts/scandeps.pl, integrate ce34646cf, make
t2tdoc)
2018-04-30 22:42:08 +02:00
Nyall Dawson
6ca327072a [FEATURE] Add expression functions for tapered and variable
width buffers

Adds:
- tapered_buffer
- buffer_by_m

expression functions. These expose the same functionality as the
equivalent processing algorithms but for use in expressions
such as geometry generators.
2018-05-01 06:16:01 +10:00