17972 Commits

Author SHA1 Message Date
Nyall Dawson
199cd7e8d2 Add clear method to QgsAnnotationLayer 2020-08-27 13:08:51 +10:00
Mathieu Pellerin
707bad7766
[symbology] Improve rendering of selected SVG markers 2020-08-26 08:49:25 +07:00
Mathieu Pellerin
5e25c06de5
[processing] Add a cluster size attribute to the dbscan cluster algorithm 2020-08-26 08:48:57 +07:00
rldhont
3372a9267d
Merge pull request #38240 from rldhont/server-dont-load-layouts
New QGIS Server setting environement to disable GetPrint and do not load layouts
2020-08-24 14:21:15 +02:00
Juergen E. Fischer
d411d66b3d windows: map python PATH changes to Add/RemoveDllDirectory (followup f17097b1a465c; fixes #38372) 2020-08-21 21:02:26 +02:00
Harrissou Sant-anna
09844a7dab Move the skybox enabling checkbox to the groupbox widget
Whether skybox is enabled is now saved as part of the 3D Map settings
2020-08-21 13:00:52 +10:00
Nyall Dawson
f62c6d5d56 [feature][labeling] Expose option to allow users to control whether
anchor point for line labels is a hint or a strict requirement

Strict: Labels are placed exactly on the label anchor only, and no
other fallback placements are permitted.

Hint: The label anchor is treated as a hint for the preferred label
placement, but other placements close to the anchor point are permitted.
2020-08-21 09:48:47 +10:00
Denis Rouzaud
ae4d7699f4 fix python code formatting 2020-08-21 09:43:14 +10:00
Nyall Dawson
f496173bd7 Fix messy doxygen blocks which mess with sipify script
Fixes #38291
2020-08-20 17:01:35 +10:00
Mathieu Pellerin
1386474e3c
[ui] Fix SVG marker widget not properly restoring colors 2020-08-20 10:08:20 +07:00
Matthias Kuhn
05d632c1af Resume editing when saving layer with topology checks
Fixes #28592
2020-08-20 10:53:28 +10:00
DiGro
4aefe0d65b Typo corrected. Added one space
Line 120 :  "FieldPyculator code execute error.Global code block can't be executed!\n{0}\n{1}" " should probably be
                  "FieldPyculator code execute error. Global code block can't be executed!\n{0}\n{1}" "
Added one space bewteen "error." and "Gobal"
2020-08-20 06:59:48 +10:00
Nyall Dawson
5a7cb166d0 [annotations] Refactor annotation item subclasses so that they
work correctly with curved geometry types, and tweak some API naming
accordingly

There's no need to be restrictive and only require linear geometries
for these items!
2020-08-19 14:33:55 +10:00
Harrissou Sant-anna
0e03c9ff63 Fix broken "gdal.org/ogr/" URLs in doc 2020-08-19 08:55:19 +10:00
Nyall Dawson
d4ca4a1405 [labeling][ui] Change placement mode selection widget from radio
buttons to combo box

The radio buttons don't work well here -- they cause a massive
gap in the placement UI layout for anything but polygon
layers. Using a combobox is also much more compact, giving us
some extra space to use for more helpful explanatory text
2020-08-19 06:34:19 +10:00
Nyall Dawson
748d76aeed [feature][labeling] Add option to allow users to control the placement
of labels along line features

The new "Label Anchoring" section in the line placement settings for
labels allows users to specify whether labels should be placed
at the center, start or end of lines (or a custom percent from the
start of the line). Also allows data-defined percent along line
control!
2020-08-18 11:09:18 +10:00
Nyall Dawson
b14bb32104 [labeling] Add api to set line anchor point for labels, which represents
the percentage along line features at which labels for that feature
should gravitate toward
2020-08-18 11:09:18 +10:00
Nyall Dawson
5d2495e65a [api] Add helper api to directly retrieve a point/linestring/polygon from
a QgsMultiPoint/QgsMultiLineString/QgsMultiPolygon

Avoids the need to have to manually do an annoying cast when we
already know the geometry type
2020-08-18 08:33:53 +10:00
rldhont
98741cb91f Change to QGIS_SERVER_DISABLE_GETPRINT 2020-08-17 18:46:16 +02:00
Alexander Bruy
476ac55a60
Merge pull request #38312 from alexbruy/ux-fixes
Various UX fixes
2020-08-17 10:51:29 +03:00
Alessandro Pasotti
a5461a6420
Merge pull request #38257 from elpaso/bugfix-gh26189-virtual-layers-subset-string
Bugfix gh26189 virtual layers subset string
2020-08-17 08:09:01 +02:00
nirvn
d827faa2c8 [processing] Upgrade the sample raster value algorithm to native C++ 2020-08-17 12:59:34 +07:00
Alexander Bruy
de7de1e28e raise an assert if algorithm which should be added to the toolbar is not found 2020-08-17 08:44:41 +03:00
Nyall Dawson
ff9f525893 Fix see also links 2020-08-17 11:12:33 +10:00
Nyall Dawson
844e9a3aac Move label overrun settings to QgsLabelLineSettings 2020-08-17 11:12:33 +10:00
Nyall Dawson
b31d315a52 Move another line label related setting and enum to QgsLabelLineSettings 2020-08-17 11:12:33 +10:00
Nyall Dawson
5dfbfaa89e Move some more line label related settings to QgsLabelLineSettings 2020-08-17 11:12:33 +10:00
Nyall Dawson
d93d881192 Move merge line settings to QgsLabelLineSettings 2020-08-17 11:12:33 +10:00
Nyall Dawson
23848e0e89 Start cleaning up label line settings, by moving them from the
QgsPalLayerSettings mega class to a dedicated QgsLabelLineSettings
class
2020-08-17 11:12:33 +10:00
Matthias Kuhn
84abe91de8
Merge pull request #38289 from MrChebur/MrChebur-patch-1
A new parameter "Close path" has been added to the "Point to path" algorithm.
2020-08-16 19:20:17 +02:00
MrChebur
a9a850caf2
Add files via upload 2020-08-16 16:25:21 +05:00
MrChebur
f5e1abfe0f
Update qgis_algorithm_tests2.yaml 2020-08-16 16:24:28 +05:00
Alexander Bruy
1a76a0963e add Select By Location to the Selection toolbar (fix #20350) 2020-08-16 12:15:22 +03:00
Alexander Bruy
bacf779236 pick Vector menu title from the main QGIS window instead of using own
translation (fix #35028, #28474)
2020-08-16 12:15:22 +03:00
Matthias Kuhn
6124b5c01f
Apply suggestions from code review 2020-08-15 18:59:50 +02:00
Matthias Kuhn
1c6a0a8f6f
Apply suggestions from code review 2020-08-15 18:59:28 +02:00
MrChebur
92914c5339
Apply suggestions from code review
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2020-08-15 21:56:43 +05:00
Matthias Kuhn
a3c8d6dc29
Update python/plugins/processing/algs/qgis/PointsToPaths.py 2020-08-15 18:55:54 +02:00
MrChebur
e5246da109
Update PointsToPaths.py
spaces deleted
2020-08-15 21:50:47 +05:00
MrChebur
660703d696
Apply suggestions from code review
Co-authored-by: Matthias Kuhn <matthias@opengis.ch>
2020-08-15 21:31:53 +05:00
MrChebur
be613409b4
Update PointsToPaths.py
"line" is replaced by "path"
2020-08-15 21:27:30 +05:00
MrChebur
a30635d71e
Update PointsToPaths.py
Returned missing spaces
2020-08-15 21:20:51 +05:00
Matthias Kuhn
8e4cdba6b4
Merge pull request #38262 from elpaso/bugfix-gh38245-dbmanager-pg-sslmode
DB manager: PG read enum value for sslmode
2020-08-15 10:03:03 +02:00
MrChebur
dcc7ff921a
New option added: "Close line"
Now this algorithm can check and close the line if necessary.
2020-08-14 18:08:25 +05:00
rldhont
fa7da5a68b New QGIS Server setting environement to do not load layouts
Defined a new QGIS Server setting environnement `QGIS_SERVER_DONT_LOAD_LAYOUTS` to do not load layouts when QGIS Server reads projects.
This variable will disable QGIS Server GetPrint capabilities.
2020-08-13 14:20:00 +02:00
Alessandro Pasotti
26e9ec98e7 DB manager: PG read enum value for sslmode
Fixes #38245
2020-08-13 12:48:02 +02:00
Alessandro Pasotti
f3a451f2a9 Renamed subset to subsetstring for clarity 2020-08-13 11:13:44 +02:00
rldhont
0b3ec39050
Merge pull request #38225 from rldhont/project-read-flag-trust-layer-metadata
New project reading flag to trust layer metadata with server settings
2020-08-12 09:26:09 +02:00
Alexander Bruy
4f6e63883e
Merge pull request #38218 from alexbruy/save-query
restore missed "save query" functionality in the Query builder
2020-08-12 08:03:51 +03:00
rldhont
d711db570a Server: define QGIS_SERVER_TRUST_LAYER_METADATA setting environnement 2020-08-11 18:14:15 +02:00