9751 Commits

Author SHA1 Message Date
Mathieu Pellerin
740e44f1f6
Merge pull request #38067 from nirvn/processing_atlas
[FEATURE][processing] Export atlas layout as image algorithm
2020-08-04 07:52:42 +07:00
Martin Dobias
dbe1ef8aa2
Merge pull request #37685 from vcloarec/curveMapToolCapture
digitizing and splitting feature with curves
2020-08-03 22:41:04 +02:00
nirvn
346743be7e Add custom layers test 2020-08-03 18:02:34 +07:00
nirvn
4eda6f81c0 Address last bit of review, add test 2020-08-03 18:02:34 +07:00
Nyall Dawson
129736093e [processing] Fix strange behaviour when mix of model outputs and fixed
inputs are selected as the input for a multi layer parameter
2020-08-03 18:36:40 +10:00
Nyall Dawson
4d5518531f Split simple line material out from phong material 2020-08-03 16:34:10 +10:00
Nyall Dawson
ce13ca2007 Fix build 2020-08-03 16:34:10 +10:00
Nyall Dawson
daf38a9f23 Rework QgsAbstractMaterialSettings class to handle different rendering techniques
Restrict choice of material in widgets based on the symbol's required technique,
and hide material settings in phong widget which don't apply to certain
rendering techniques (e.g. hiding all but the ambient color for simple 3d line
symbols)
2020-08-03 16:34:10 +10:00
Nyall Dawson
4f34b8a7f8 [3d][api] Split api from specifying 3d map layers to render from api
for specifying terrain layers to render

Previously the one method was used for both, which made it very
difficult to have a different set of layers used for terrain
generation vs 3d entity generation (you had to manually create a map
theme, which is very messy)
2020-08-03 13:13:11 +10:00
Nyall Dawson
b9f1f2ca32 [processing] Fix destination layer name ignored in Load Layer into Project
algorithm

Fixes #38046
2020-07-31 16:03:16 +10:00
Nyall Dawson
7087d5d087 [3d] Fix polygon edge lines are rendered vertically offset from polygons 2020-07-31 11:57:45 +10:00
nirvn
e0de9c5c26 [locator] add degree minute second coordinate support to goto locator 2020-07-31 08:06:32 +07:00
nirvn
07ab4b3255 [FEATURE][expression] Add a to_decimal() function to convert degree/minute/second strings 2020-07-31 08:06:32 +07:00
vcloarec
eb24446f84 renaming and cleaning of Triangulation class and export to QgsMesh 2020-07-31 05:43:38 +10:00
Nyall Dawson
813ee5a68d [expressions] Silently alias "geom" named across to "geometry"
So that was can standardize on using "geometry" as the named argument
insted of mixing "geom" and "geometry" in the public docs.
2020-07-31 03:07:46 +10:00
Nyall Dawson
6d647aa678 Add method to filter QgsLayoutItemComboBox by item flags 2020-07-31 03:06:31 +10:00
Martin Dobias
836666e782
Merge pull request #37588 from NEDJIMAbelgacem/export-scene-feature
[Feature] Export 3D scene feature
2020-07-30 09:32:15 +02:00
Daniel Minor
1ed8e41d58 Track axis offset instead of adjusting current offset 2020-07-30 14:05:03 +10:00
Daniel Minor
8a76045cd4 Fix rendering of negative values in stacked bar diagram
Currently, negative values are treated the same way as positive values when
rendering stacked bar diagrams, which can lead to rendering issues, because
we can end up with negative lengths and incorrect scaling.

This changes the rendering to track the negative values separately and render
them in a group below the x axis. The rendering for positive values is
unchanged, above the x axis.
2020-07-30 14:05:03 +10:00
NEDJIMAbelgacem
28d0349314 Add toExportParameters() to DummyMaterialSettings test 2020-07-30 04:58:01 +01:00
vcloarec
e022b3eb5c renaming and typo 2020-07-29 21:32:17 -04:00
Nyall Dawson
8049da8daf Fix test 2020-07-30 08:26:40 +10:00
Nyall Dawson
03854a41b0 Add explicit settings for ellipsoid, distance and area units to QgsProcessingContext
to avoid having to always retrieve these via the context's project (which may
not be available in some circumstances)

Refs #37988
2020-07-30 08:26:40 +10:00
Alessandro Pasotti
0f7a946f51 PG style storage: replace forbidden XML unicode chars
Fixes #3800
2020-07-30 08:19:43 +10:00
vcloarec
fd81a2edfc add button in tool bar to switch between linear/circular digitizing 2020-07-29 12:49:44 -04:00
vcloarec
7b772eadac fix loss of circular when feature is finished and add tests 2020-07-29 12:49:44 -04:00
vcloarec
9a39f9ab08 fix issue with Z value and fix reshape test 2020-07-29 12:49:44 -04:00
nirvn
c4722b4f6b Add a locale-specific goto test 2020-07-29 10:51:33 +07:00
Nyall Dawson
c938de4827 Style 2020-07-29 10:27:17 +10:00
Nyall Dawson
d30a44d7ac Use a hacky generic icon for 3d symbols in style manager for now
Because implementing proper thumbnails is a considerable task in itself...
2020-07-29 10:27:17 +10:00
Nyall Dawson
a0e915fc50 Add support for filtering style model by 3d layer type 2020-07-29 10:27:17 +10:00
Nyall Dawson
d65b52db77 Add CompatibleGeometryTypesRole to style model 2020-07-29 10:27:17 +10:00
Nyall Dawson
6245b552a4 Add method to retrieve compatible layer types from 3d symbol in style library 2020-07-29 10:27:17 +10:00
Nyall Dawson
ae3f2c319c Model tests 2020-07-29 10:27:17 +10:00
Nyall Dawson
6e40962510 Partial 3d symbol style manager work 2020-07-29 10:27:17 +10:00
root676
085544e33f remove metadata files from testresults 2020-07-29 08:29:18 +10:00
root676
3bcf45776b format tests 2020-07-29 08:29:18 +10:00
root676
3fe46e0eba add new testdata 2020-07-29 08:29:18 +10:00
root676
7066a87d1a update tests for new algorithms 2020-07-29 08:29:18 +10:00
root676
2a7dc93d44 format code 2020-07-29 08:29:18 +10:00
root676
83dcd279b5 add value-testrasters 2020-07-29 08:29:18 +10:00
root676
1d145fecdf add expected test result rasters 2020-07-29 08:29:18 +10:00
root676
19702f47db add Equal to frequency processing test 2020-07-29 08:29:18 +10:00
Nyall Dawson
9e1cddaa8e Add render context flag to use when a map render job is part of a 3d map 2020-07-29 04:21:56 +10:00
Alessandro Pasotti
e06cefeca4
Merge pull request #38003 from elpaso/bugfix-gh37968-pgraster-inverted-Y
PG raster: fix inverted Y data
2020-07-28 17:04:20 +02:00
Nyall Dawson
e541fe68d7 Correctly restore materials using registry 2020-07-28 20:45:50 +10:00
Nyall Dawson
d579d67a4a [3d] Add a registry for 3d material settings 2020-07-28 20:45:50 +10:00
Alessandro Pasotti
6b9fb47267 PG raster: fix inverted Y data
Fixes #37968
2020-07-28 12:07:12 +02:00
Nyall Dawson
bc96ffd3ee Test masks 2020-07-28 15:12:04 +10:00
Nyall Dawson
26f4b17ce5 Update test images 2020-07-28 15:12:04 +10:00