65992 Commits

Author SHA1 Message Date
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
uclaros
943d314b76 Avoid accessing QgsLayoutItemsListView's model before it is defined 2020-09-27 11:15:42 +03: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
Alessandro Pasotti
84e204954f PG raster: support mosaics with no metadata
Fixes #39017
2020-09-26 10:31:13 +10:00
uclaros
9953570e30 Added method to clear all individual layer settings in QgsSnappingConfig 2020-09-26 10:30:13 +10:00
Harrissou Sant-anna
138762146e Remove "Building using MinGW" instructions 2020-09-26 05:35:36 +10:00
Alessandro Pasotti
dfb8527810 No spelling on SQL please 2020-09-25 18:49:31 +02:00
Alessandro Pasotti
5870cba39f PG fix relation discovery with table/schema that require quotes
Fixes #39036 #39025  (temptative, because I could not reproduce the
exact issue without project and data)
2020-09-25 18:43:40 +02:00
Alessandro Pasotti
5b3d891269
Merge pull request #39026 from elpaso/bugfix-gh38394-db-manager-column-comment
DB manager fix add comment while creating table
2020-09-25 16:07:08 +02:00
Juergen E. Fischer
04fbe177b9 osgeo4w: don't pickup PATH changes by GRASS' env.bat (fixes #38476) 2020-09-25 11:53:13 +02:00
Alessandro Pasotti
eb3c78d12d DB manager fix add comment while creating table
Fixes #38394
2020-09-25 10:56:13 +02:00
root676
04ae0ca20d add correct control dataset for test 2020-09-25 15:50:58 +10:00
root676
0fe9955590 add testcase for variance from Int32 raster data type 2020-09-25 15:50:58 +10:00
root676
db6ebf1089 fix wrong raster datatype output with variance statistic when all inputs are of integer or lower type. Output data type should always be Float32 or higher. 2020-09-25 15:50:58 +10:00
Nyall Dawson
e6d316ace7 When restoring a custom CRS from XML, if the CRS does NOT match
any of the existing user defined CRS's on the QGIS profile then
still restore the previously saved name of the custom CRS

This way we will correctly show the CRS with its original
name as defined by the original project author (instead of just
"custom crs")
2020-09-25 14:52:56 +10:00
Nyall Dawson
d3833fd8d6 Don't refer to valid but custom CRSes as "Unknown CRS" and instead
use "Custom CRS" phrasing

Otherwise it's confusing and appears as though the CRS is "unknown-
as-in-missing" (as opposed to "existing-but-not-matching-a-known-crs").
2020-09-25 14:52:56 +10:00
Nyall Dawson
442b721803 [vectortiles] Also expose option to override min/max zoom level
for ESRI vector tile servers
2020-09-25 14:04:49 +10:00
Nyall Dawson
d586dda9de Drop unsupported Python fallback
We only support Python 3.6+
2020-09-25 11:24:14 +10:00
Karthikeyan Singaravelan
4adb937ced Fix warning regarding ABC import from collections 2020-09-25 11:24:14 +10:00
Nyall Dawson
776768eb9f Only build list of supported raster/vector filters and formats once
It's expensive to calculate, so only ever do it once...

Refs #38987
2020-09-25 11:13:52 +10:00