55137 Commits

Author SHA1 Message Date
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
nirvn
cb9b3b458d Add forgotten since tags on new point pattern fill functions 2019-04-25 09:53:40 +07:00
vsklencar
88797448dd [QgsQuick] External resource widget changes
Enlarge buttons and modified text for buttons
2019-04-24 20:11:52 +02:00
vsklencar
1b428a5e60 [QgsQuick] External widget changes
Simplified callbacks for onSaved/onCanceled form
Some design fixes.
2019-04-24 20:11:52 +02:00
vsklencar
0375ce4992 [QgsQuick] Added callbacks for qgsquick external source widget
Added callbacks functions in external resource handler - if some actions as permanent removal of image suppose to be done on form save.
Some changes in design
2019-04-24 20:11:52 +02:00
vsklencar
f3dc4c32f3 [QgsQuick] Customizable icons for external source widget
..and date time widget. Changes in other widgets due to passing a whole style object to components.
2019-04-24 20:11:52 +02:00
vsklencar
a337758035 [QgsQuick] Updated external resource widget
It has been enlarged, button changed
Added a new component qgsquickicontextitem
2019-04-24 20:11:52 +02:00
Alessandro Pasotti
38c91e4e97 [postgres] Fix checkPrimaryKeyUnicity option
This provider option was linked to the project level option
"Trust layer metadata..." which was implemented
to speed up loading of large dataset by trusting extent
read from metadata to avoid costly operations to determine
the layer extent.

Check PK unicity on the other hand has only effect on views
and query layers and it is useful as an independent
option to prevent loading of layers that have no PK (or the
wrong one).

But the operation of determine unicity of a values in a column
can also be costly, so better to get control back to the user.

Legacy default is preserved (the project-level "Trust..." option).

Fixes #21839

Funded by RAAB.nl
2019-04-24 17:14:42 +02:00
David Marteau
6af744da82 Remove plugin module path when unloading
Unloading plugin must remove added module path
    in order to prevent wrong package import when reloading
2019-04-24 16:09:09 +02:00
Marcel Dancak
efdd52cb2f Commented out code for debugging (saving of metatiles), fixed python formatting 2019-04-24 15:23:56 +02:00
Blottiere Paul
dc0877c1b4
Merge pull request #9858 from signedav/default_symbol_scale
Fix "\since" comment because of backporting
2019-04-24 15:10:43 +02:00
David Signer
450e193c85 fix comment since 3.4 2019-04-24 14:22:39 +02:00
Marcel Dancak
4ab9bb6175 Registration of TilesXYZ algorithm 2019-04-24 13:11:36 +02:00
Marcel Dancak
73a5a6adc1 Initial version of xyz tiles export (processing tool) 2019-04-24 12:25:58 +02:00
nirvn
756964620a [FEATURE][symbology] Add offset settings for point pattern fill symbol layer 2019-04-24 16:53:40 +07:00
rldhont
f8880c6e9c [Tests][Server] WMTS - use resolution for bbox calculation 2019-04-24 10:46:21 +02:00
rldhont
ccd92b8a1a [Bugfix][Server] WMTS - use resolution for bbox calculation
Because of the limit of double size in C++, it's bettre to use the resolution instead of the scale denominator for calculating tiles extent.
2019-04-24 09:21:04 +02:00
nirvn
e0a73d307b Turn antialiasing flag on when rendering legend symbol preview 2019-04-24 10:06:33 +07:00
nirvn
ca305bb5b0 Turn antialising render flag on when appropriate in QgsRenderContext::fromQPainter() 2019-04-24 10:06:33 +07:00
nirvn
6395dad8d0 [processing] Log features that could not be divided in tessellate alg. 2019-04-24 09:53:00 +07:00
Martin Dobias
736327634e [3d] Fix edge drawing when multiple renderer rules have edges enabled
When using rule-based 3D rendering, if multiple rules were enabled with edge rendering,
only the first rule was getting correctly set up line width for line material.
(the rest were getting some very thick line width and making the 3D view unusable)
2019-04-23 17:54:00 +02:00