74057 Commits

Author SHA1 Message Date
Sandro Mani
18d598ba4a Set release_gil = True when generating bindings 2021-11-04 08:51:00 +11:00
Loïc Bartoletti
6b4f8e4af6
Merge pull request #45845 from nicogodet/fix-db-plugin
[DB Manager] Add geometryType() method to root Table class
2021-11-03 20:36:20 +01:00
Nyall Dawson
d3cfad06fe Fix QObject::connect lambda without capturing this warnings on msvc 2021-11-04 06:02:59 +11:00
Nyall Dawson
6e1cde488c Fix logic for clearing cached histograms when raster data provider user no data value is set
We can't assume that the cached histograms and stats lists are
always aligned. (Seen when TestQgsZonalStatistics::testNoData()
is run)
2021-11-04 06:02:26 +11:00
nicogodet
40df6ec76b Add geometryType() method to root Table class 2021-11-03 18:09:27 +01:00
Julien Cabieces
4327b00759 Fixes #45793 : Stop previous external storage fetch when loading NULL 2021-11-03 16:06:29 +01:00
Denis Rouzaud
c4bc19290a
do not use regex if not needed (#45828) 2021-11-03 14:36:36 +01:00
Alessandro Pasotti
dc3e9ebad0
Merge pull request #45158 from dmarteau/fix-server-filter-streaming
[server] Allow better control of the response flow chain from server filters.
2021-11-03 13:43:54 +01:00
Mathieu Pellerin
9134854723 [ui] Expand geopackage connections combobox in the save/load project to/from geopackage dialog 2021-11-03 03:01:49 -07:00
Nyall Dawson
6218e9ffd1 No QStringLiteral() 2021-11-03 15:40:21 +11:00
Nyall Dawson
2cef09735d Fix incorrect variable type in test 2021-11-03 15:40:21 +11:00
Nyall Dawson
efe919df74 Fix unused exception warning on msvc 2021-11-03 15:40:21 +11:00
Nyall Dawson
774e2fd713 Fix warning 2021-11-03 15:39:38 +11:00
Nyall Dawson
bc521039f9 Correctly forward declare geod_geodesic as a struct 2021-11-03 15:26:40 +11:00
Nyall Dawson
f5a6842efd Fix deletion of incomplete type warning 2021-11-03 15:20:32 +11:00
Nyall Dawson
b7a1f76dd7 Fix Qt6 build 2021-11-03 13:55:23 +11:00
Nyall Dawson
c7ed02016c Slight improvement to WKT -> geometry conversion 2021-11-03 10:56:34 +11:00
Nyall Dawson
9e11c70ad3 Faster WKT conversion using thread_local regular expressions 2021-11-03 10:56:34 +11:00
Marco Hugentobler
bd5d1ce83d Fix comparison with square tolerance also in QgsGeometryAngleCheck 2021-11-03 08:29:38 +11:00
Marco Hugentobler
af8f05a337 Compare square distance with square tolerance in duplicated node check 2021-11-03 08:29:38 +11:00
Nyall Dawson
9693f8d2c3 [symbology] Add a thumbnail size slider to style manager dialog
Cos sometimes the thumbnail sizes are just too small to get a good
representation of a symbol!

Sponsored by North Road
2021-11-03 08:16:17 +11:00
Antoine
9272035c4e copy model only when no error 2021-11-03 06:53:03 +11:00
Antoine
d2425f51b8 remove model validity condition 2021-11-03 06:41:45 +11:00
Denis Rouzaud
874f890780
build 3.22 docker image (#45792)
fixes #45791
2021-11-02 10:40:17 +01:00
Julien Cabieces
d2f27f5e7e
Merge pull request #45727 from elpaso/expose-qgsserverfid-to-bindings
Expose QgsServerFeatureId to Python
2021-11-02 08:38:52 +01:00
Nyall Dawson
b1221a2194 Fix population of zip item layers in browser
Fixes #45769
2021-11-02 17:04:32 +11:00
Nyall Dawson
14bd167aba Ensure zip items behave correctly as files in browser
Also fixes drag and drop support for zip to project

Refs https://github.com/qgis/QGIS/issues/45769
2021-11-02 17:04:18 +11:00
Nyall Dawson
06a23298fc Better layer names for vsizip files in OGR/GDAL providers 2021-11-02 17:04:06 +11:00
Nyall Dawson
3bd840cfb7 [gdal] Don't report sublayers for unsupported zip child items 2021-11-02 17:04:06 +11:00
Nyall Dawson
555a8d6e35 [ogr] Don't report sublayers for unsupported zip child items 2021-11-02 17:04:06 +11:00
Mathieu Pellerin
10ea4c80c2 Fix saving arcgis vector tile servers to XML 2021-11-01 21:29:26 -07:00
Nyall Dawson
4b7dff669c Improve docs 2021-11-02 15:03:56 +11:00
Nyall Dawson
515fa62a86 QgsGeometry::length() returns perimeter for polygon geometries 2021-11-02 15:03:56 +11:00
Nyall Dawson
e10a48b3ee Don't use geos to calculate QgsGeometry::length
Instead use the QgsAbstractGeometry method, so that consistent
results are obtained across the API and an exact length is used
for curved geometries (instead of the length of the segmentized
curves)

Refsi https://lists.osgeo.org/pipermail/qgis-developer/2021-October/064159.html.
2021-11-02 15:03:56 +11:00
Antoine
9f19d4f2c9 few code reorganizations 2021-11-02 13:25:37 +11:00
Antoine
21523fd569 reorganize methods 2021-11-02 13:25:37 +11:00
Antoine
60624d81d7 test xy with pointAt 2021-11-02 13:25:37 +11:00
Antoine
f9a0217e8b split test method 2021-11-02 13:25:37 +11:00
Alessandro Pasotti
024adab0e7 Fix qgsdoublevalidator group separator
be tolerant and live long and prosper
2021-11-02 13:20:59 +11:00
Harrissou Sant-anna
1edecf2a55 Remove the tooltip over the Dynamic temporal control groupbox
It displays over the subitems that do not have tooltip
2021-11-02 13:14:22 +11:00
Harrissou Sant-anna
6c3fd01ecc Remove the tooltip over the Dynamic temporal control groupbox
It displays over the subitems that do not have tooltip
2021-11-02 13:14:22 +11:00
Nyall Dawson
3021b0f5f6 Add test masks 2021-11-02 06:30:50 +11:00
Nyall Dawson
12eaefeb52 Improve appearance of raster marker 2021-11-02 06:30:50 +11:00
Mathieu Pellerin
f2ea6cc7ab Add missing meters at scale unit type for the heatmap and point clustering renderer widgets 2021-11-02 06:30:34 +11:00
Sandro Mani
d95196133c Don't append duplicate extents to extent history 2021-11-02 06:29:59 +11:00
Nyall Dawson
dabc17bbcb Ensure correct symbol geometry type is used for more preview icons 2021-11-02 06:29:25 +11:00
Nyall Dawson
d915950707 Don't crash when calling applyDashPattern on empty geometries 2021-11-02 06:29:08 +11:00
Nyall Dawson
b90440b58b Fix randomized waves result when minimum wavelength is longer
then total length of line
2021-11-02 06:29:08 +11:00
Nyall Dawson
11dc9cca18 Add force_polygon_cw and force_polygon_ccw expression functions
These are recommended for use instead of the existing force_rhr
function, due to the variability in definition of the "right hand
rule" between different software applications. Using an explicit
force_polygon_cw/ccw function removes user confusion when the
results vary between different applications.
2021-11-01 12:10:41 +11:00
Matthias Kuhn
469d387bde
Merge pull request #45756 from DelazJ/labelLegendGroupBox
Remove the unnecessary checkbox for the Label legend group box
2021-10-31 22:44:35 +01:00