55073 Commits

Author SHA1 Message Date
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
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
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
Juergen E. Fischer
9421d602fa debian packaging: include python3-lxml 2019-04-23 17:44:48 +02:00
Martin Dobias
ab46258c61 [3d] fix shading of 3D point symbols
The vertex shader was incorrectly transforming world position and normal
vectors for phong shading. This was causing wrong appearance that was noticeable
when moving/rotating camera (e.g. specular reflection was always in the same place).
This was caused by involving view matrix (i.e. camera position and orientation)
to the vectors, but the world position and normal should be independent from camera.
2019-04-23 16:28:10 +02:00
Martin Dobias
1106f6ab23
Merge pull request #9839 from wonder-sk/fix-3d-extra-terrain-updates
[3d] Fix unnecessary terrain map updates when changing 3D renderer
2019-04-23 16:27:19 +02:00
Matthias Kuhn
74d30b95b9
Merge pull request #9809 from m-kuhn/snapping_results_for_points
Add @snapping_results variable for points
2019-04-23 15:03:15 +02:00
Martin Dobias
60572ac4d4 [3d] Fix unnecessary terrain map updates when changing 3D renderer
When using layer styling dock, every change in 3D rendering configuration
was also triggering update of 2D map which also forces update of all
terrain tile textures with a new 2D map which wasn't really needed.
The fix makes the triggerRefresh() call on layer optional - each layer
styling dock config widget can tell whether its updates require 2D map
refresh (true by default).
2019-04-21 21:01:01 +02:00
Alexander Bruy
a744ddb615
Merge pull request #9836 from alexbruy/fix-hypsometry
[processing] ensure that output temporary directory exists (fix #21701)
2019-04-21 10:39:23 +03:00
Alexander Bruy
c706cdeb06 [processing] ensure that output temporary directory exists (fix #21701) 2019-04-20 11:53:47 +03:00
rldhont
8c21a9e848
Merge pull request #9827 from rldhont/fix-server-wmts-crs-hasaxisinverted
[Bugfix][Server] WMTS: CRS can have axis inverted
2019-04-19 08:15:45 +02:00
rldhont
012faa6af1 [Bugfix][Server] WMTS: CRS can have axis inverted
The top left element has to respect the axis, like in WMS 1.3.0.
2019-04-18 23:21:40 +02:00