65979 Commits

Author SHA1 Message Date
nirvn
b7c28df02a [processing] Add missing layers overwrite parameter to two layout exports algorithms 2020-10-03 19:07:35 +10:00
Alessandro Pasotti
b0189b4149 Return a proper QgsProviderConnectionException from python table()
Fixes #39151
2020-10-03 19:06:05 +10:00
Salvatore Larosa
096aa95ac7
Merge pull request #39153 from slarosa/fix_attribute_error
[pyqgis-console] fix instance attribute name
2020-10-03 10:54:05 +02:00
Salvatore Larosa
7c476d176a [pyqgis-console] fix instance attibute name 2020-10-03 08:46:35 +02:00
Salvatore Larosa
f32725658f [pyqgis-console] fix missing import, amd minor fixws to UI 2020-10-03 09:11:32 +10:00
Salvatore Larosa
4fea3ed822 [pyqgis-console] move console options to main app options 2020-10-03 09:11:32 +10:00
Alessandro Pasotti
61a71a417d
Merge pull request #39033 from uclaros/fix-report-bug
Avoid accessing QgsLayoutItemsListView's model before it is defined
2020-10-02 23:29:07 +02:00
Alessandro Pasotti
375a258eda
Merge pull request #39144 from elpaso/bugfix-gh39142-pgraster-float-nodata
PG raster fix #39142 nodata float
2020-10-02 22:32:21 +02:00
vcloarec
6de82d62b7 change return type of QgsGrassRasterProvider::clone() 2020-10-03 05:57:18 +10:00
vcloarec
299709994d change return type of QgsRasterDataProvider::clone() 2020-10-03 05:57:18 +10:00
Alessandro Pasotti
65e8776a9f PG raster fix #39142 nodata float 2020-10-02 20:45:04 +02:00
Even Rouault
ad6254a7b2
Merge pull request #39122 from rouault/cppcheck_20201001
Some cppcheck linting with cppcheck master
2020-10-02 17:51:31 +02:00
Even Rouault
88c4ee8764
qgsdelimitedtextprovider.cpp: make code more readable to avoid false positive from cppcheck 2020-10-02 12:08:58 +02:00
Even Rouault
97e2e5e87e
QgsMapLayer: make it obvious to cppcheck that nullptr deref cannot occur, and make code slightly more efficient 2020-10-02 12:08:58 +02:00
Even Rouault
b993fbda79
QgsProject: make it obvious to cppcheck that class is non-copyable/non-affectable 2020-10-02 12:08:57 +02:00
Even Rouault
863c9e3b29
qgsproxyprogresstask_followup 2020-10-02 12:08:57 +02:00
Even Rouault
7ee62d4386
QgsScopedProxyProgressTask: make class non-copyable/non-affectable as it has pointers (but cannot be enabled because of SIP issue) 2020-10-02 12:08:39 +02:00
Nyall Dawson
7a38388a87 Fix some QProcess deprecation warnings 2020-10-02 19:02:52 +10:00
Nyall Dawson
fa28c42ab4 Remove use of deprecated QDateTime constructor 2020-10-02 19:02:52 +10:00
Alessandro Pasotti
7ef302d66b
Merge pull request #39126 from gacarrillor/pr_test_write_weak_relations
Test for writing weak relation attributes to XML (followup #39090)
2020-10-02 07:47:36 +02:00
Nyall Dawson
ab6bbfda1d Fix all remaining Qt QFlags deprecated constructor warnings 2020-10-02 13:04:49 +10:00
Even Rouault
bbc1deb075
QgsAppScreenShots: make class non-copyable/non-affectable as it has pointers 2020-10-01 23:18:11 +02:00
Even Rouault
d7da95e8fe
3d/qgsshadowrenderingframegraph.cpp: make class non-copyable/non-affectable as it has pointers 2020-10-01 23:18:11 +02:00
Even Rouault
2024a96e3d
qgs3dsceneexporter.cpp: avoid cppcheck 'The address of local variable 'v' might be accessed at non-zero index' false-positive by making code clearer 2020-10-01 23:18:11 +02:00
Germán Carrillo
7407e0f129 Test for writing weak relation attributes to XML (followup #39090) 2020-10-01 16:12:01 -05:00
Peter Petrik
09f84eb84b fix #35026 fix MSSQL connection on MacOS 2020-10-02 07:11:30 +10:00
Peter Petrik
9c9b070d47 update to MDAL 0.7.1, fixes bug in FLO2D reader 2020-10-02 07:09:53 +10:00
Peter Petrik
b23288bc08 fix #29702 , setup /Volumes connections 2020-10-02 07:09:07 +10:00
Even Rouault
9d9d0c0f5c [GUI] OGR Database connection dialog: relax checks to enable 'OK' button
Currently when defining a new OGR Database connection, one must fill
the database, host and port numbers. Some/most of them are optional on the
OGR side (for example the MYSQL driver only requires the database name,
but the PG driver could for example work without any depending on the PG
config), so do not require them at all. The 'Test connection' button is
already there for users to check they've properly filled the form.
2020-10-02 07:07:13 +10:00
Even Rouault
75512b4f2d [OGR provider] Code cleanup: mark a workaround for GDAL < 2.3 clearly as such. No functional change 2020-10-02 07:06:19 +10:00
nirvn
7af60f6eb1 [ogr] Fix decodeUri unable to handle newline characters in the subset string 2020-10-02 07:05:10 +10:00
Even Rouault
80f00f84c0 GML streaming parser / WFS: correctly deal with gml:id attributes before passing geometry to OGR (fixes #39081) 2020-10-02 07:03:58 +10:00
Alessandro Pasotti
ebeb016c69
Merge pull request #39043 from elpaso/bugfix-gh39036-39025-relations-quoting
PG fix relation discovery with table/schema that require quotes
2020-10-01 22:55:51 +02:00
Denis Rouzaud
398131d5be
remove warning when trying to pan to non spatial layer features (#39110) 2020-10-01 10:58:23 +02:00
Even Rouault
55ee2935a2
Merge pull request #39100 from rouault/ogrprovider_decodeuri
OGR provider: make decodeUri() set a 'databaseName' component
2020-09-30 20:24:24 +02:00
Even Rouault
30e5fe5011
OGR provider: make decodeUri() set a 'databaseName' component
Instead of hijacking 'layerName' which has a different semantics.

This modifies commit 84eed010f, which returns the database name in
the layerName URI component, which is not the right semantic, since
layerName should be a OGR layer name.

With this fix encodeUri() can roundtrip with decodeUri()
2020-09-30 15:05:58 +02:00
Paul Blottiere
9cf95ff49a
Merge pull request #38831 from pblottiere/fcngeomz_null
Check if a point is 3D before returning its z value
2020-09-30 09:28:14 +02:00
Paul Blottiere
8351e06e96
Merge pull request #38807 from pblottiere/gfi_null
GetFeatureInfo and no data values
2020-09-30 09:25:11 +02:00
Paul Blottiere
09fc4ed6eb
Merge pull request #39083 from pblottiere/merge_manual
Fixes manual mode in merge features tool
2020-09-30 08:37:07 +02:00
Germap
612129e3cb
Fix writing weak relations to XML (#39090) 2020-09-30 08:26:48 +02:00
Matthias Kuhn
cebc51b3c6
Merge pull request #39091 from rouault/tests_gdal_skipif
tests: replace wrong uses of unittest.skip() by unittest.skipIf()
2020-09-30 07:54:48 +02:00
Even Rouault
9083c56241
tests: replace wrong uses of unittest.skip() by unittest.skipIf() 2020-09-29 22:46:01 +02:00
Blottiere Paul
ac4132e90b Keep role in sync
Fixes #37659
2020-09-29 16:37:03 +02:00
Alessandro Pasotti
a0ec11948b
Merge pull request #39071 from elpaso/bugfix-gh39058-show-correct-precision-in-raster-classification
Raster classification: show number of digits according to data type
2020-09-29 08:52:15 +02:00
nirvn
9d105d9d59 [layer tree] Avoid needless layer tree model computations for scale-based layer visibility 2020-09-29 06:25:02 +07:00
Salvatore Larosa
ef7ecbf95b
Merge pull request #39056 from slarosa/searchicon_console
[pyqgis-console] add search icon to filterlineedit
2020-09-28 21:05:01 +02:00
Alessandro Pasotti
e19239bdd1 Raster classification: show number of digits according to data type
Not really a bug fix but related to #39058:

- depending on data type, show a different number of digits when
  classifying the raster
- code cleaning
2020-09-28 18:46:34 +02:00
Alessandro Pasotti
52663c7db9
Spelling 2020-09-28 17:02:39 +02:00
Blottiere Paul
1aee462acc Add unit test 2020-09-28 16:29:56 +02:00
Blottiere Paul
829ee25d43 Check if a point is a measure before returning its m value. 2020-09-28 16:29:29 +02:00