Nyall Dawson
38bb5fb260
[FEATURE][processing] New parameter type for colors
...
Allows for algorithms which require a color value as an input
2019-07-01 06:32:21 +10:00
Panos Mavrogiorgos
d8b0cdacb7
Make setting "Grass7AlgorithProvider.activateSetting" optional.
...
This change makes it easier to subclass `Grass7AlgorithProvider` which
allows e.g. to expose GRASS Addons as QGIS plugins.
Disclaimer: `Grass7AlgorithProvider` is a private API and it may change
without warning. 3rd parties that rely on this should expect
that their code will break in future releases.
For more info please check the comments at #30252
Nevertheless, it currently is possible to subclass with something like this:
class CustomGrassBasedProvider(Grass7AlgorithmProvider):
# Set descriptionFolder to our own description directory
descriptionFolder = os.path.join(os.path.dirname(__file__), 'description')
# 3rd party plugins don't need an activation/deactivation setting
activateSetting = None
# define the rest of the methods that are needed (e.g. name(), id() etc)
# ...
Fixes #30241
Continues #9202
2019-06-29 09:51:13 +10:00
Panos Mavrogiorgos
03f1ae9576
Stop hardcoding activation setting name in Grass7AlgorithmProvider
2019-06-29 09:51:13 +10:00
Blottiere Paul
ee6642477e
Merge pull request #30071 from lbartoletti/wms_tile_buffer
...
[server]New parameter for WMS service: tile_buffer
2019-06-28 16:22:05 +02:00
Nyall Dawson
99d6524407
Dox++
2019-06-28 09:45:48 +10:00
Nyall Dawson
03af890132
Address review comments
2019-06-28 09:45:48 +10:00
Nyall Dawson
27f9bf66d6
Spelling
2019-06-28 09:45:48 +10:00
Nyall Dawson
6aeedfe20b
[FEATURE][layouts] Expose choice of arrangement of legends (i.e.
...
symbols to the left OR symbols to the right of legend text), and
alignment for group/subgroup/item text
Allows creation of right-to-left locale friendly legends. Additionally,
we default to this right-to-left style alignment when creating new
legends under a RTL based locale.
2019-06-28 09:45:48 +10:00
Nyall Dawson
640283f700
Add new reusable combo box widget for alignment choices
...
QgsAlignmentComboBox presents users with a (filterable) selection
of horizontal alignment choices, e.g. left/right/center
2019-06-28 09:45:48 +10:00
Nyall Dawson
da79b6f0e6
[FEATURE][labels] New text "background" setting for marker symbol backgrounds
...
Allows for rendering a marker symbol in the background of labels
(complementing the existing shapes/SVG choices). This allows use
of QGIS marker symbology as a background symbol behind labels (e.g.
for highway shield labels)
2019-06-28 08:28:55 +10:00
Nyall Dawson
ef97fefbaa
[layouts] Add API to set expression variables at a multiframe level
2019-06-28 07:12:40 +10:00
Juergen E. Fischer
6bdb259627
translation string fix
2019-06-27 13:58:46 +02:00
Alexander Bruy
509ab2985c
Merge pull request #30443 from alexbruy/batch-fix
...
use correct method name in the batch input selector for vector layers (fix #30410 )
2019-06-27 14:52:11 +03:00
Martin Dobias
0a7386e6da
[TilesXYZ] Add metatile size parameter
...
Larger values may speed up the rendering and provide better labelling (fewer gaps without labels)
at the expense of using more memory.
Ported from XYZ Tiles plugin - originally contributed by @nurenda
2019-06-27 13:37:50 +02:00
Martin Dobias
0e782645e2
Revert the leftovers that were added in QgsDataItemProvider cpp/h
2019-06-27 12:55:07 +02:00
Martin Dobias
78a638f769
Use lambdas to pass data items as captured variables
2019-06-27 12:55:07 +02:00
Martin Dobias
f4b1b83af2
[wms] Move GUI parts of data items to QgsDataItemGuiProvider subclasses
2019-06-27 12:55:07 +02:00
Alexander Bruy
49d0e996a7
use correct method name in the batch input selector for vector layers ( fix #30410 )
2019-06-27 12:38:30 +03:00
Alessandro Pasotti
7761f5f0fe
Merge pull request #30391 from troopa81/executesql_raise_unknown_geom
...
Raise an exception when geometry field autodetection has failed
2019-06-27 09:22:36 +02:00
Larry Shaffer
f4348259c9
[needs-docs] Merge pull request #30227 from boundlessgeo/master_legend-horiz-scroll
2019-06-26 11:42:53 -06:00
Alexander Bruy
c224a01faf
Merge pull request #30377 from alexbruy/gdal-extra
...
[processing] allow passing additional command line parameters to GDAL algorithms
2019-06-26 19:50:43 +03:00
Fran Raga
aac040534f
issue #30406
2019-06-26 08:59:53 +02:00
Matthias Kuhn
1cee45c8de
Merge pull request #30360 from m-kuhn/fix_use_before_assign
...
[dbmanager] Fix use before assign
2019-06-26 08:30:53 +02:00
Martin Dobias
cf2d87837b
Merge pull request #30234 from PeterPetrik/providers
...
[QEP 149] Introduce static data providers
2019-06-26 08:18:21 +02:00
nirvn
0e4f0c8555
[symbology] Fix broken centroid fill's force point inside polygon
2019-06-26 12:05:07 +07:00
Martin Dobias
8e56f51c23
Merge remote-tracking branch 'origin/master' into providers
2019-06-25 22:11:51 +02:00
Martin Dobias
87ff0dc558
Move qgis 4 todo out of doxygen comment
2019-06-25 16:27:41 +02:00
Julien Cabieces
e63a94606d
Raise an exception when geometry field autodetection has failed
2019-06-25 15:39:11 +02:00
Martin Dobias
d155b1c877
Further updates from review
2019-06-25 15:38:07 +02:00
Martin Dobias
aead182b21
Change FilterType to enum class + rename values to FilterXXX
2019-06-25 14:53:56 +02:00
Nyall Dawson
4a4b92223b
[processing] Fix exception from field wrappers when "selected features only"
...
is checked for a vector layer
2019-06-25 18:56:51 +10:00
Alexander Bruy
543673c388
also split YAML-based tests into raster and vector and run them as part
...
of the corresponding algorithms test
2019-06-25 11:50:36 +03:00
nirvn
efeb8b5e32
[raster] Allow raster providers to hint whether resampling is beneficial
...
For some providers, such as tiled WMTS/XYZ/AMS, resampling is not
always visually beneficial and can lead to larger downloads
2019-06-25 14:42:36 +07:00
Alessandro Pasotti
063d29b256
Add NMEA GST Message for GPSInformation.Accuracies ( #30274 )
...
* Update sentence.h
* Update sentence.h
* Update sentence.h
* Update sentence.c
* Update parse.h
* Update parse.h
* Update sentence.h
* Update parse.c
* Update qgsnmeaconnection.cpp
* Update qgsnmeaconnection.cpp
* Update qgsnmeaconnection.cpp
* Update info.h
* Update qgsnmeaconnection.h
* Update qgsnmeaconnection.h
* Update parse.c
* Update parse.c
* Update parse.c
- Corrected Buffer Sizecomparison to 6
- defined Variable for buffer_size
* Astyle
* Fix docstrings
2019-06-25 09:41:29 +02:00
Alexander Bruy
f16f7f765e
reorganize gdal provider tests
...
Now GDAL algorithms test are splitted into parts: general tests, raster
algorithms and vector algorithms. This makes testing a bit faster and
easier, as there is no need to run not related tests.
2019-06-25 09:59:50 +03:00
Alexander Bruy
684083c4ca
additional parameters for buildvrt algorithm
2019-06-25 09:59:50 +03:00
Alexander Bruy
57547a7731
additional parameters for translae algorithm
2019-06-25 09:59:50 +03:00
Alexander Bruy
3ed47c3bd9
add test for slope algorithm and allow additional command line
...
parameters
2019-06-25 09:59:50 +03:00
Alexander Bruy
61445ad0a2
additional parameters for sieve algorithm
2019-06-25 09:59:50 +03:00
Alexander Bruy
27aa8113de
additional parameters for retile algorithm
2019-06-25 09:59:50 +03:00
Alexander Bruy
c313f1da50
additional parameters for proximity algorithm
2019-06-25 09:59:50 +03:00
Alexander Bruy
d66914aec6
additional parameters for polygonize algorithm
2019-06-25 09:59:50 +03:00
Alexander Bruy
1d12620579
additional parameters for pansarpening algorithm
2019-06-25 09:59:50 +03:00
Alexander Bruy
09102c7e7b
more tests for nearblack algorithm
...
and add support for additional command line parameters
2019-06-25 09:59:50 +03:00
Alexander Bruy
629afb685c
cover gdal merge algorithm with test and add support for additional
...
command line parameters
2019-06-25 09:59:50 +03:00
Alexander Bruy
97806eaa5d
additional parameters for hillshade algorithm
2019-06-25 09:59:50 +03:00
Alexander Bruy
ceb0633f89
additional parameters for grid nearest neighbor
2019-06-25 09:59:50 +03:00
Alexander Bruy
d1562a4149
additional parameters for grid linear
2019-06-25 09:59:50 +03:00
Alexander Bruy
c351bb85fc
additional command line parameters for grid IDW NN
2019-06-25 09:59:50 +03:00
Alexander Bruy
10062dcc80
additional parameters support for grid inverse distance
2019-06-25 09:59:50 +03:00