64474 Commits

Author SHA1 Message Date
root676
0ec238b703 those unecessary blanks in helpstrings... 2020-07-29 08:29:18 +10:00
root676
b83bb8bbec optimize data extraction from QgsRasterBlocks 2020-07-29 08:29:18 +10:00
root676
b956981141 fix parameter name 2020-07-29 08:29:18 +10:00
root676
900d6f8ded fix helpstrings 2020-07-29 08:29:18 +10:00
root676
085544e33f remove metadata files from testresults 2020-07-29 08:29:18 +10:00
root676
ced15e6d16 format algorithm 2020-07-29 08:29:18 +10:00
root676
3bcf45776b format tests 2020-07-29 08:29:18 +10:00
root676
eb63902a7c refactor qgsalgorithmrasterequaltofrequency to qgsalgorithmrasterfrequencybycompariosnoperator, add new Greater than frequency and Less than frequency algorithms 2020-07-29 08:29:18 +10:00
root676
3fe46e0eba add new testdata 2020-07-29 08:29:18 +10:00
root676
7066a87d1a update tests for new algorithms 2020-07-29 08:29:18 +10:00
root676
2a7dc93d44 format code 2020-07-29 08:29:18 +10:00
root676
83dcd279b5 add value-testrasters 2020-07-29 08:29:18 +10:00
root676
1d145fecdf add expected test result rasters 2020-07-29 08:29:18 +10:00
root676
19702f47db add Equal to frequency processing test 2020-07-29 08:29:18 +10:00
root676
175f749a11 add native Equal to frequency algorithm 2020-07-29 08:29:18 +10:00
Harrissou Sant-anna
21a7962ab0 Reword button's tooltip
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2020-07-29 07:47:14 +10:00
Harrissou Sant-anna
83dba6786c Improving the "Add/Discover relation" dialogs
adding title, tooltips and help button to documentation
2020-07-29 07:47:14 +10:00
Nyall Dawson
91132af5df Don't try to update raster min/max settings when a raster layer
is set to "updated canvas" sampling mode and the layer is being
rendered as part of a 3d render job

It causes crashes, but even if it worked, its not going to give
usable results...
2020-07-29 04:21:56 +10:00
Nyall Dawson
9e1cddaa8e Add render context flag to use when a map render job is part of a 3d map 2020-07-29 04:21:56 +10:00
Alessandro Pasotti
e06cefeca4
Merge pull request #38003 from elpaso/bugfix-gh37968-pgraster-inverted-Y
PG raster: fix inverted Y data
2020-07-28 17:04:20 +02:00
mhugent
74838dfa48
Merge pull request #38002 from mhugent/wfs_bbox_exact_intersect
WFS server: use exact intersection if there is a bbox parameter
2020-07-28 16:55:08 +02:00
nirvn
ff38315edf [delimitedtext] Don't use an out of range index while reading string buffer (fixes a Qt warning) 2020-07-28 20:17:22 +07:00
Nyall Dawson
a896ac98a0 Fix travis build 2020-07-28 20:45:50 +10:00
Nyall Dawson
752288637a Use registry to create material widget 2020-07-28 20:45:50 +10:00
Nyall Dawson
beece1635d Start generalizing material widget handling 2020-07-28 20:45:50 +10:00
Nyall Dawson
0058a831ff Remove unused method 2020-07-28 20:45:50 +10:00
Nyall Dawson
e541fe68d7 Correctly restore materials using registry 2020-07-28 20:45:50 +10:00
Nyall Dawson
d579d67a4a [3d] Add a registry for 3d material settings 2020-07-28 20:45:50 +10:00
Alessandro Pasotti
6b9fb47267 PG raster: fix inverted Y data
Fixes #37968
2020-07-28 12:07:12 +02:00
Marco Hugentobler
aee09d58b8 WFS server: use exact instersection if there is a bbox parameter 2020-07-28 12:00:07 +02:00
Nyall Dawson
bc96ffd3ee Test masks 2020-07-28 15:12:04 +10:00
Nyall Dawson
26f4b17ce5 Update test images 2020-07-28 15:12:04 +10:00
Nyall Dawson
2603a0e04e Fix background drawing while in preview mode 2020-07-28 15:12:04 +10:00
Nyall Dawson
a533268edf Ensure map frame and background also follow clip path 2020-07-28 15:12:04 +10:00
Nyall Dawson
c5b3443cb3 Don't draw items which are a clip source for a map 2020-07-28 15:12:04 +10:00
Nyall Dawson
2f3258cb81 Add unit test for overview frame following a clipped map 2020-07-28 15:12:04 +10:00
Nyall Dawson
264bd51594 [layouts] Add API to set item based clipping region on maps
Allows using shape or polygon layout items to set the overall shape
of a layout map item's contents
2020-07-28 15:12:04 +10:00
Nyall Dawson
915615aec4 [layouts][api] Add API to allow map items to be clipped (take their shape from)
other layout items which provide clipping paths

Opens the door for non-rectangular layout maps
2020-07-28 15:12:04 +10:00
Nyall Dawson
77badc0097 QgsLayoutItemShape can provide clip paths 2020-07-28 15:12:04 +10:00
Nyall Dawson
aa0b36b27d QgsLayoutItemPolygon can provide a clip path 2020-07-28 15:12:04 +10:00
Nyall Dawson
2b283951be Add api for layout items to create a clipping path 2020-07-28 15:12:04 +10:00
Nyall Dawson
19504adf55 Allow running "Add x/y fields" in place 2020-07-28 14:18:20 +10:00
Nyall Dawson
3249119ddd [processing] Allow "Align points to features" to be run in-place mode 2020-07-28 14:18:20 +10:00
Nyall Dawson
2104ae613a [processing] Add mechanism for algorithms to alter their core behavior
(e.g. parameters) when they are run in the "edit in-place" mode

This allows algorithms to dynamically adapt their behavior to make them compatible
with in-place mode. Previously, some useful algorithms could not be
run in-place because they alter a layer's structure (e.g. adding new
fields).

Now, these algorithms have a means to detect that they are being
run in-place and change their input parameters accordingly. E.g.
an algorithm which usually adds new fields to store calculated
values (such as "add xy fields to layer") could instead expose
field parameter choices to ask the user to pick from existing
fields in which to store the calculated values, thereby avoiding
the need to change the table structure and making them eligable
for running in-place mode.

Note that this needs to be handled algorithm-by-algorithm, it's
not automatic! It's just the raw api to allow this...
2020-07-28 14:18:20 +10:00
nirvn
8d7f090789 Use a more flexible coordinate detection approach 2020-07-28 08:14:00 +07:00
nirvn
182167fcfc Don't limit google coordinate decoding to .com URLs 2020-07-28 08:14:00 +07:00
nirvn
5ee8e54161 Better locator display name 2020-07-28 08:14:00 +07:00
nirvn
44fd606595 [FEATURE][locator] Add a goto locator 2020-07-28 08:14:00 +07:00
Nyall Dawson
0bb9174c2a
Merge pull request #37973 from nyalldawson/table_editor_fixes
Misc layout table editor fixes and related text formatting widget fixes
2020-07-27 14:49:37 +10:00
Nyall Dawson
6e2d1023f2 [processing] Fix loading batch settings with date/time values
Fixes #37838
2020-07-27 14:19:49 +10:00