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
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
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
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
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
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
c706cdeb06
[processing] ensure that output temporary directory exists ( fix #21701 )
2019-04-20 11:53:47 +03:00
Nyall Dawson
9da6a03b50
Add API for specifying fallback CRS and layer WKB type to use
...
for QgsVectorLayer, when constructing a layer with a URI which
may be invalid
These may be used for layers where the geometry type/CRS is
known in advance, and where the layer path may not be
initially resolvable. (E.g. layers with a URI pointing to a
non-existant file). It is only ever used if the layer cannot
be resolved, otherwise the actual layer geometry type will be
detected and used for the layer.
2019-04-19 06:07:13 +10:00
Nyall Dawson
0f1660990f
Store vector layer wkb type in xml
...
We can use this when restoring the layer, if the uri turns out
to be invalid at that stage (e.g. a file has moved). By storing
and falling back to the last known wkb type, we avoid unnecessarily
discarding the existing layer renderer, and can still show the
expected layer type in the layer tree.
2019-04-18 18:41:09 +10:00
Juergen E. Fischer
40c790f5d9
fix 3d7c711db (refs #21872 )
2019-04-17 23:56:31 +02:00
Juergen E. Fischer
3d7c711db0
fix #21872 (refs #21774 ; partly reverts e57d1e06f0 and 507e327c0c)
...
src/python/qgspythonutilsimpl.cpp:596 produces "lost sys.stdout" when
qgis.utils.updateAvailablePlugins() returns.
2019-04-17 22:30:01 +02:00
Alessandro Pasotti
7032db27fa
[server] Implement LAYERFONTCOLOR and ITEMFONTCOLOR
...
Fixes #21871
Fixes #21870
Funded by: Gis3w
2019-04-17 12:01:06 +02:00
Blottiere Paul
3c6299a199
Merge pull request #9775 from signedav/default_symbol_scale
...
[server] Default scale/mupmm on GetLegendGraphics
2019-04-17 10:47:27 +02:00
Matthias Kuhn
8416e7588c
Merge pull request #9781 from m-kuhn/processing_parameter_as_boolean
...
Add QgsProcessingAlgorithm::parameterAsBoolean
2019-04-17 09:20:07 +02:00
Alessandro Pasotti
56a6df4d71
Fix doxy deprecated
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
3d687e5558
Add transform context to raster file writer task
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
87998f7f7d
Pass transformContext to raster writer
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
400e1c76ee
doxy
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
ac04339434
Pass transform context to raster calculator
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
0d7841a0d8
Fix grass alg combineLayerExtents
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
394a189682
Fix class documentation
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
654a78d6ff
Raster transform context
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
b3a448a2b2
Do not store context in layer (but in provider) ...
...
... also use transform context in raster projector
and deprecate setCrs without context
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
7f52e2938a
doxy
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
7b6f9c0dbc
Restore default ctor for options and layer
2019-04-17 10:06:41 +10:00
Nyall Dawson
b6bc1ee2d4
Tweak QgsProcessingUtils::combineLayerExtents for future proofing, remove deprecated usage
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
82f2cb18b2
Deprecate default ctor for mesh layer options
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
f8dfdc4aa0
Deprecate method without transformContext
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
e930bee9e2
Add mandatory options to QgsVectorLayer ctor
...
... and deprecate the rest.
In QGIS 4 we'll have to get rid of the deprecated default ctor and
create a new one which takes no arguments.
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
6813a55fce
Deprecate vector layer ctor with default constructed options
...
replaced by QgsVectorLayer( const QgsVectorLayer::LayerOptions &options,
...
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
4614c3e0bd
Dox typos
2019-04-17 10:06:41 +10:00