55154 Commits

Author SHA1 Message Date
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
7ae29e1f31
Merge pull request #9790 from elpaso/bugfix-21856-vectorfilewriter-crash
Guard vector file writer against invalid layers
2019-04-17 08:21:14 +02:00
nirvn
51606dbfa8 [processing] Add 'distance' tag to join attributes by nearest alg. 2019-04-17 11:49:30 +07:00
nirvn
9fa8d5687f [themes] Improve night mapping hyperlink color 2019-04-17 11:34:49 +07:00
nirvn
5ea0091583 [themes] Avoid hardcoded black for default console timestamp colors
(fixes #21860)
2019-04-17 11:34:49 +07:00
nirvn
6befbae7bf [ui] Fix layout designer panel icon (re)sizing 2019-04-17 10:46:26 +07:00
nirvn
94e4de59aa [ui] Fix data source selection dialog icon size 2019-04-17 08:54:07 +07:00
nirvn
c0dd9fef68 Add QgsGuiUtils::iconSize to get user-prefered toolbar icon size 2019-04-17 08:54:07 +07:00
Alessandro Pasotti
e5491ee610 Get transformContext from layer instead of provider 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
6372295df1 Don't use deprecated fileWriter.writeRaster 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
56a6df4d71 Fix doxy deprecated 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
be374104ea Unit tests for transform context project<->layer sync 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
6e0bd822f3 Get transform context from project instance in app 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
9afa5bbba6 Set transform context from layer options 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
27696e8629 Update layer transform context when adding them to a project 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
cd9fe8cdec Use new QgsRasterCalculator ctor with transform context 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
8bdfc7cd80 Drop comment 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
86b7345ce5 Use transform context from rw context 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
Nyall Dawson
4e747d2c52 Update src/core/qgsmaplayer.h
Co-Authored-By: elpaso <elpaso@itopen.it>
2019-04-17 10:06:41 +10:00
Nyall Dawson
a5d3b93a45 Update src/core/mesh/qgsmeshlayer.h
Co-Authored-By: elpaso <elpaso@itopen.it>
2019-04-17 10:06:41 +10:00
Nyall Dawson
4e244521b3 Update src/core/layout/qgslayoutitemmapoverview.cpp
Co-Authored-By: elpaso <elpaso@itopen.it>
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
23d6ef6246 Remove test case (API is not public anymore) 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
bdd7a1cc77 Remove build warnings 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
6d55e72648 More doxy 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
39bb361dea Missing doc in an unrelated class :( 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
Alessandro Pasotti
0d7cceab0c Fix test build 2019-04-17 10:06:41 +10:00
Nyall Dawson
8ae914387a Some build fixes 2019-04-17 10:06:41 +10:00
Nyall Dawson
bfe92c4632 Fix use of deprecated/removed coordinate transform constructor 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
f5bc1c7196 Use options from provider ctor 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
bad0fe42d8 Removed leftover 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
4614c3e0bd Dox typos 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
5f3dc50ccc Remove deprecated QgsCoordinateTransform ctor ...
... and add a getter for coordinateTransform to QgsMapLayer

The reason is that I think we should reduce the dataProvider API
usage and rely on the higher level QgsMapLayer API whenever it
is possible, QgsMapLayer checks for data provider validity
and returns a default constructed QgsCoordinateTransform instead
of crashing.
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
7f271d1ebd More coordinateTranformContext -> tranformContext 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
470759833e coordinateTransformContext -> transformContext for consistency
I like "coordinateTransformContext" more btw.
2019-04-17 10:06:41 +10:00