65959 Commits

Author SHA1 Message Date
Alessandro Pasotti
c45d7a4a4f Fix crash when exporting empty report
Fixes #39086
2020-10-02 13:15:04 +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
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
Blottiere Paul
ba33c3a767 Add unit test 2020-09-28 16:23:34 +02:00
Blottiere Paul
d1d156973b Check if a point is 3D before returning its z value. Fixes #37772 2020-09-28 15:09:22 +02:00
Blottiere Paul
5c74aeeb11 Add unit tests for json format 2020-09-28 15:07:05 +02:00
Blottiere Paul
5d18f98744 No data are set to null for json format 2020-09-28 15:06:47 +02:00
Blottiere Paul
77cbd0c591 Update unit test 2020-09-28 14:59:23 +02:00
Blottiere Paul
b63dc39d27 No data is only for HTML and TEXT format 2020-09-28 14:58:58 +02:00
Blottiere Paul
053ae1edb5 Add a raw parameter to assert methods 2020-09-28 14:58:23 +02:00
Blottiere Paul
636942aae3 Add unit test for HTML format 2020-09-28 11:05:59 +02:00
Blottiere Paul
cd2032ff45 Add unit tests 2020-09-28 10:02:50 +02:00
Blottiere Paul
86175e305f Check if the value is null. Fixes #37781 2020-09-28 10:02:50 +02:00
Alessandro Pasotti
12cdf632d5 Spell ignore 2020-09-28 09:23:33 +02:00
Salvatore Larosa
e17913c6ea [pyqgis-console] add search icon to filterlineedit 2020-09-27 11:14:38 +02:00
Mathieu Pellerin
8d2a0d1ebb Fix broken 'hide all layers' UX 2020-09-27 04:57:04 +10:00
Salvatore Larosa
a2fb7f3eeb [pyqgis-console] change message bar to Warning 2020-09-27 04:55:13 +10:00
Salvatore Larosa
1760e26a3a [pyqgis-console] warn user to generate personal access token 2020-09-27 04:55:13 +10:00
Salvatore Larosa
4347e81202 [pyqgis-console] adress some comment: add button to link at generate token page 2020-09-27 04:55:13 +10:00
Salvatore Larosa
eee29257bd [pyqgis-console] use QgsBlockingNetworkRequest to create Gist 2020-09-27 04:55:13 +10:00
Salvatore Larosa
c92e873815 [pyqgis-console] using gist to share snippets instead of codepad 2020-09-27 04:55:13 +10:00
Alessandro Pasotti
df564fd1af PG raster: be tolerant if srid is 0 2020-09-26 10:31:13 +10:00