55267 Commits

Author SHA1 Message Date
Nyall Dawson
e6e39173b2 [FEATURE][processing] In batch mode, allow population of file/layer
input columns by searching for files matching a specified pattern

With optional recursive search!
2019-04-30 14:43:58 +10:00
Nyall Dawson
3f4c3d0722 Add widget and dialog for finding files by pattern match, with an
optional recursive search
2019-04-30 14:43:58 +10:00
Nyall Dawson
5edf06a5bc [processing][needs-docs] Move batch execution double-click-to-fill-down
to an explicit widget in the table

The double-click-header action is very hidden, and many users will
not stumble upon this. By moving it to an explicit "Autofill" widget at the
top of the table, we make this important action much more user
discoverable.

It also gives the possibility of other, parameter specific, autofill
actions (e.g. fill by expression, fill by file pattern)
2019-04-30 14:43:58 +10:00
Nyall Dawson
8d180c1e8a [needs-docs] Tweak custom dash button appearance
- remove "Change" label and replace with larger dash preview icon.
The "change" text is unnecessary and adds to dialog clutter, better
to use the space for a wider preview icon (especially given that
the previous narrow icon never really showed enough of the pattern
to be useful!)

- don't offset the line in the preview if the symbol has an offset
set

- respond correctly to dash pattern, line width unit changes, cap
style changes

- show a nice big preview tooltip on hover
2019-04-30 12:29:31 +10:00
Peter Petrik
4aaa523977 fix #21931 Mesh calculator crash when used with face dataset 2019-04-29 13:36:52 +02:00
nirvn
cc37e702cc [themes] Set highlight text color palette for themes 2019-04-29 17:59:13 +07:00
nirvn
c25782a57b [themes] Tweak palette values to better match designated roles 2019-04-29 17:46:36 +07:00
nirvn
405efd8ac9 [ui] Improvements to the font marker character widget
- Declare a minimum height to avoid narrow selection area
- Use application color palette instead of hardcoded values
- Decrease number of columns to better fit in the style dock
2019-04-29 17:26:03 +07:00
nirvn
c0b2ba19b1 [themes] Add minimum scrollbar dimension to Night Mapping 2019-04-29 16:54:10 +07:00
Luigi Pirelli
c0ec79ef05
Merge pull request #9172 from luipir/fix_19731
try to reset script path pointing to the current setting path
2019-04-29 10:48:24 +02:00
nirvn
b48ae67826 [ui] Use system color for custom dash pattern preview symbol 2019-04-29 11:13:11 +07:00
nirvn
da011375a7 Followup cd5642a: Add dialog title, connect dialog ok/cancel buttons 2019-04-29 11:13:02 +07:00
Mathieu Pellerin
cd5642aca0 [FEATURE] Make the custom dash pattern dialog a style dock widget 2019-04-28 15:33:48 +07:00
Nyall Dawson
5a088bfa2b Fix expression function examples 2019-04-28 15:47:35 +10:00
Mathieu Pellerin
5fa9e2f02e Add simple line custom dash pattern tests 2019-04-28 12:19:27 +07:00
Alessandro Pasotti
4d2a8dd9da
Merge pull request #9873 from elpaso/bugfix-21839-postgresql-check-pk-unicity
[postgresql] Fix checkPrimaryKeyUnicity option
2019-04-27 19:00:43 +02:00
Alessandro Pasotti
ffaa64ee1a
Merge pull request #9879 from elpaso/bugfix-21735-gfi-json
Fix identify for WMS client with json format
2019-04-27 18:25:09 +02:00
Alessandro Pasotti
6fa56635b3
Merge pull request #9878 from elpaso/bugfix-21917-server-root-layer-order
[server] Respect custom layer order for groups in GetMap
2019-04-27 17:36:07 +02:00
Luigi Pirelli
3a1f6d7774
Update tests/src/python/test_provider_postgres.py
Co-Authored-By: elpaso <elpaso@itopen.it>
2019-04-27 17:20:07 +02:00
epifanio
841b191ea8 [processing] Add r.geomorphon grass command and module in grass core plugin (#9625)
* Create r.geomorphon.qgm

* Add files via upload

* Update default.qgc

* Create r.geomorphon.txt

Adding the description file to add the `r.geomorphon` command into `QGIS.Processing.GRASS`

* Update grass7_algorithms_raster_tests.yaml

Adding test for `r.geomorphon`

* fixing wrong spelling

thanks trevis

* Update grass7_algorithms_raster_tests.yaml

adding corrected unit test

* Create r.geomorphon.qgm

* Add files via upload

* Update default.qgc

* Create r.geomorphon.txt

Adding the description file to add the `r.geomorphon` command into `QGIS.Processing.GRASS`

* Update grass7_algorithms_raster_tests.yaml

Adding test for `r.geomorphon`

* fixing wrong spelling

thanks trevis

* Delete CTestCostData.txt

* Delete CTestCostData.txt

* Delete CTestCostData.txt

* Delete CTestCostData.txt
2019-04-27 10:37:43 +02:00
Matthias Kuhn
f26ca3649f
Merge pull request #9649 from NaturalGIS/fix_grass7_v_voronoi_again
Fix grass7 v.voronoi again
2019-04-27 10:37:11 +02:00
Nyall Dawson
762b2a423b [FEATURE] Expression functions which return file info
base_file_name: Returns the base name of the file without the directory or file suffix.
file_exists: Returns true if a file exists
file_name: Returns the file name from a full path
file_path: Returns the directory/path from a full file path
file_size: Returns a file size
file_suffix: Returns a files suffix/extension
is_directory: Returns true if a file path is a directory
is_file: Returns true if a file path is a file
2019-04-27 17:24:37 +10:00
nirvn
7e5f906327 [symbology] Fix custom dash pattern for line with an hairline (i.e. 0) width 2019-04-27 09:36:37 +07:00
Nyall Dawson
149b35ead2 Indentation 2019-04-27 07:27:54 +10:00
Nyall Dawson
b0ad13fbbd Remove some unused code 2019-04-27 07:27:54 +10:00
Nyall Dawson
0ff5820573 [processing] Correctly reset progress bar after completing batch execution 2019-04-27 07:27:54 +10:00
Nyall Dawson
66eabdd40c [processing] Fix exception on completion of batch execution of
algorithm which has string or numeric outputs
2019-04-27 07:27:54 +10:00
Julien Cabieces
b7772d407d Fix point picking precision for point parameters in processing dialog 2019-04-26 15:38:51 +02:00
Alessandro Pasotti
a8844483d8 Respect number formatting in identify raster results 2019-04-26 15:14:46 +02:00
Alessandro Pasotti
c87833c807 Fix identify for WMS client with json format
Fixes #21735
2019-04-26 15:11:50 +02:00
Alessandro Pasotti
da49f79045 Suggestions from JEF 2019-04-26 12:32:42 +02:00
Alessandro Pasotti
956ed06f52 [server] Respect custom layer order for groups in GetMap
Fixes #21917
2019-04-26 12:04:39 +02:00
Alessandro Pasotti
a3368d416c Layout and SQL 2019-04-26 10:26:04 +02:00
Alessandro Pasotti
163082a061 More tests for checkPrimaryKeyUnicity 2019-04-26 09:19:51 +02:00
Nyall Dawson
c0105bdfcf Fix exception when reloading plugins 2019-04-26 16:56:30 +10:00
Martin Dobias
5e4ea73399
Merge pull request #9857 from marcel-dancak/tiles_xyz
New Processing Algorithm to generate raster XYZ tiles
2019-04-26 08:41:30 +02:00
Nyall Dawson
ebab2e128b Add missing /Transfer/ annotation 2019-04-26 12:59:26 +10:00
Martin Dobias
e6ff7e00ef Raise an exception if the necessary parameter was not specified 2019-04-25 23:25:05 +02:00
Martin Dobias
fdb6a2b79a Add test for XYZ Tiles algorithm 2019-04-25 22:14:08 +02:00
Martin Dobias
285d4e0da0 Remove NAME parameter, use OUTPUT_FILE instead
For output to directory, OUTPUT_DIRECTORY destination parameter is used.
For output to MBTiles file, OUTPUT_FILE destimation parameter is used.
2019-04-25 22:10:37 +02:00
Martin Dobias
ee63cffd88 [processing] Add 'project' to test definition and 'directory' output test
- for algorithms that produce directory output, it is possible to test
  that directory contents are exactly the same (recursively)
- added possibility to have a project file loaded before an algorithm is run
- documented the new additions (+ few existing ones)
2019-04-25 21:40:31 +02:00
rldhont
3c8a9e6f65
Merge pull request #9851 from dmarteau/fix-unload-plugin-path
Remove plugin module path  when unloading
2019-04-25 16:58:28 +02:00
Alexander Bruy
2407934db2 add missed place marker to the translatable string 2019-04-25 17:08:21 +03:00
rldhont
833fa3ded3
Merge pull request #9856 from rldhont/fix-server-wmts-resolutions
[Server] WMTS - use resolution for bbox calculation
2019-04-25 15:14:01 +02:00
Marcel Dancak
0bb701a649 Added help text 2019-04-25 14:09:41 +02:00
Marcel Dancak
e0d6694a12 Adjusted min/max/default values of parameters, moved some code into 'prepareAlgorithm' 2019-04-25 12:15:52 +02:00
vsklencar
4824afabc4 [QgsQuick] Handling missing config values for CheckBox widget
Added widget's properties for un/checked value - if a config is missing for boolean field, default value is set and work with. If those values are not set for a different type of a field, its considered as not valid setup and will not be working.
2019-04-25 12:01:01 +02:00
vsklencar
80a40ddb1f [QgsQuick] Checkbox widget fix
Correct switching on/off
2019-04-25 12:01:01 +02:00
vsklencar
5b7e67afec [QgsQuick] Handle empty config for checkbox editor widget
Use true/false instead of un/checkedState if empty
2019-04-25 12:01:01 +02:00
Marcel Dancak
83f35617f3 MBTilesWriter can write tiles in any order, proper transforming of extents 2019-04-25 09:43:33 +02:00