15182 Commits

Author SHA1 Message Date
Nyall Dawson
60deffbfa8 Add method to QgsRasterBlockFeedback to collect error messages
And append raster errors to rendering errors whenever encountered
2019-05-22 03:46:00 +10:00
Nyall Dawson
289e72dc07 Adjust precision of some processing tests to allow them to pass under proj 6 2019-05-21 19:14:55 +10:00
nirvn
20ed28da29 [processing] Move the new XYZ algorithms under the raster tools group 2019-05-21 12:19:20 +07:00
nirvn
7132cf3b2e [ui] Improve UX by adding an original source label when changing / updating layer data source 2019-05-20 14:25:55 +07:00
Juergen E. Fischer
ac5e945742 translation string fixes 2019-05-20 01:05:56 +02:00
Harrissou Sant-anna
94cb85490a Title case the options 2019-05-20 08:53:25 +10:00
Harrissou Sant-anna
4c41819eb3 Fix option label for GDAL ADDO resampling method 2019-05-20 08:53:25 +10:00
Harrissou Sant-anna
6e5976e640 Title case the resampling options 2019-05-20 08:52:54 +10:00
Harrissou Sant-anna
bd2fc75f2e [needs-docs] Harmonize display of GDAL build vrt options 2019-05-20 08:52:54 +10:00
Harrissou Sant-anna
491ca3315f Make data type option translatable in GDAL algorithms dialog 2019-05-20 08:51:38 +10:00
Matthias Kuhn
d03714b0c7 Use SIP_FORCE 2019-05-19 09:47:55 +02:00
Matthias Kuhn
03faaa3e0f
Merge pull request #9988 from olivierdalang/cad-floater-squashed
floating widget for advanced input next to the cursor
2019-05-19 09:29:43 +02:00
Peter Petrik
6d9b40f634 add TMS (fix #21987)and HTML output (fix #21991) for tilesxyz. Split to 2 algorithms (directory and MBTiles) 2019-05-18 11:34:15 +02:00
Bas Couwenberg
2628c480c5 Don't include revision in sources.
Prevent changes to files that weren't changed between releases.
This eases review of the changes between releases significantly.
2019-05-17 16:47:47 +02:00
rldhont
943c7d5d90 [Processing] Define boolean output
In processing, if an algorithm has a boolean as an output, it cannot be defined as boolean but as a number.

To be more precise in algorithms description, the commit add QgsProcessingOutputBoolean.
2019-05-17 08:21:57 +10:00
Matthias Kuhn
00d31f6003 Revert "Merge pull request #10002 from m-kuhn/qgz-attachments"
This reverts commit 0804e342c863455fe7114e4fa84d8b9931656f8c, reversing
changes made to e07741f00b7d69cada35521f10d3703ff404083f.
2019-05-16 13:15:07 +02:00
Matthias Kuhn
0804e342c8
Merge pull request #10002 from m-kuhn/qgz-attachments
Allow adding attachments in qgz files
2019-05-16 09:53:09 +02:00
Juergen E. Fischer
3017c7a1c8 qgis server: track timestamps of remote projects 2019-05-15 21:58:41 +02:00
olivierdalang
1e5d2f0b74 (trying to fix travis build) 2019-05-15 19:56:02 +02:00
olivierdalang
5b6dd73949 add missing docstring
with sip_include.sh
2019-05-15 18:09:27 +02:00
olivierdalang
4163be67cf unstable API notice 2019-05-15 14:33:21 +02:00
Denis Rouzaud
c0a0f7d6c9 add first/last buttons 2019-05-15 06:52:08 -05:00
Denis Rouzaud
f680466bf7 [FEATURE] add toolbar in attribute table to browse feature list
arrows allow browsing the feature list in the attribute table in form view
the current edited feature can be highlighted and the map canvas automatically panned or zoomed
2019-05-15 06:52:08 -05:00
olivierdalang
d32a319d2f prepare commit & coding style 2019-05-15 13:30:29 +02:00
Matthias Kuhn
a55c25bbeb Allow adding attachments in qgz files 2019-05-15 08:21:49 +02:00
Alexander Bruy
5844a0fc90 [processing] allow selecting input from open layers only if input is a
layer-type (e.g. raster, vector, mesh). All other inputs can be selected
only from filesystem
2019-05-14 15:36:48 +03:00
Nyall Dawson
2ec429cb89 [FEATURE][processing] New algorithm "Overlap analysis"
This algorithm calculates the area and percentage cover
by which features from an input layer are overlapped by
features from a selection of overlay layers.

New attributes are added to the output layer reporting
the total area of overlap and percentage of the input
feature overlapped by each of the selected overlay layers.

This is quite a common GIS task request, yet is full
of traps for inexperienced users, and the amount of
manual data work usually done by users to calculate
these figures can often lead to mistakes and inaccurate
results. It's nice to have a robust, fast, inbuilt
algorithm which allows this task to be done in a
single step without risk of human error.
2019-05-14 06:13:10 +10:00
olivierdalang
d6ac603556 [FEATURE][needs-docs] add a floater showing advanced input editlines next to the mouse
Sponsored by Kanton Schaffhausen in collaboration with OPENGIS.ch
2019-05-13 14:25:31 +02:00
Matthias Kuhn
6a3cd82d9c
Merge pull request #9908 from raymondnijssen/roundextent
Round values in ExtentFromLayer processing algorithm
2019-05-13 10:12:30 +02:00
Juergen E. Fischer
e9a80d6799 fix build 2019-05-12 17:19:50 +02:00
Raymond Nijssen
6e62c0246d tests for rounded values in polygonfromlayerextent algorithm 2019-05-11 08:42:27 +02:00
Raymond Nijssen
59367618cd improved description 2019-05-11 08:39:41 +02:00
Raymond Nijssen
95c8cfed5f use distance instead of number parameter, and set advanced flag 2019-05-11 08:39:41 +02:00
Raymond Nijssen
a6d9d26e7d fix keyword 2019-05-11 08:39:41 +02:00
Raymond Nijssen
052db03919 Round values in ExtentFromLayer processing algorithm 2019-05-11 08:39:41 +02:00
Alessandro Pasotti
d174840e05
Merge pull request #9970 from elpaso/bugfix-fix-plugin-deps
Fix plugin dependencies
2019-05-10 11:33:38 +02:00
Alessandro Pasotti
9a612d4e19
Merge pull request #9832 from elpaso/qjson-nlohmann
Fast (and beautiful) json serializing
2019-05-10 11:33:10 +02:00
Alessandro Pasotti
46a4435e65 Use a function to access plugins_metadata_parser global object 2019-05-10 10:21:05 +02:00
Nyall Dawson
85ff9aea31 Add method to retrieve map extent to QgsRenderContext
Previously only a "layer clipping extent" was available for retrieval
from a QgsRenderContext instance, yet there's a need for rendering
operations to have access to the original full extent of the map
being rendered.
2019-05-10 06:31:00 +10:00
Nyall Dawson
6b16218c0f Allow setting order by clause for aggregate calculation 2019-05-10 06:23:56 +10:00
Alessandro Pasotti
0b3043fc75 Fix plugin dependencies 2019-05-09 13:53:42 +02:00
Nyall Dawson
69c89151ef Add extra raster hashes 2019-05-09 14:04:30 +10:00
Nyall Dawson
6ec58f90c8 Spelling, formatting 2019-05-09 14:04:30 +10:00
Nyall Dawson
e2bd17f3c9 Split processing test files into multiple batches
There's two motivations for this:
- the existing one was getting massive and took ages to run, which was
a pain when developing. Smaller batches allow just a subset of test to
be run which is much faster.
- There's a random segfault on test exit which occurs on Travis. Rather
then disabling these absolutely critical tests altogether, I'm using
this as a method of bisecting exactly which alg is causing this.
2019-05-09 14:04:30 +10:00
Alexander Bruy
f085f55276 rename method so API is compatible with recent changes and other wrappers 2019-05-09 08:14:12 +10:00
Alexander Bruy
f8890d8f04 [processing] populate batch interface with rows when multiple layers
selected (fix #21859)
2019-05-09 08:14:12 +10:00
Stephen Knox
a5cc1842a2 Add boolean type to DB Manager PostGIS provider 2019-05-09 07:44:56 +10:00
Nyall Dawson
af6d3d773d [processing] Fix exception when running batch alg after loading parameters 2019-05-08 20:13:07 +10:00
nirvn
65ec9cd146 [symbology] Fix setSize(size) not working for ellipse markers 2019-05-08 13:18:02 +07:00
Mathieu Pellerin
eacc506a5a Add a REGEXP function in spatialite_connect() python function
This enables DB Manager and the Spatialite Execute SQL algorithm
to use the 'string REGEXP pattern' syntax.
2019-05-06 22:07:00 +07:00