65983 Commits

Author SHA1 Message Date
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
Alexandre Neto
279c499bb1 Fix QgsProcessingParameterNumber docstring example
(cherry picked from commit 66011b22ce181c93aebeda1f0c320f254a67ca30)
2020-09-25 10:58:12 +10:00
Nyall Dawson
c7633874aa
Merge pull request #38968 from 3nids/rel-ref-fix-ps
fix edge case where fkey is 0 in relation reference widget
2020-09-25 09:16:31 +10:00
Julien Cabieces
94fd3d9723 Move wms/wfs exclude legacy attributes reading after field flags reading
so they don't get overriden
2020-09-25 09:07:47 +10:00
Julien Cabieces
9f2b50be6e Revert "Reword Field option in style category menu to make it clearer that"
This reverts commit 98c20008688e5e57005804cc19cc9e5f51ceb474.
2020-09-25 09:07:47 +10:00
Julien Cabieces
2379adbcad Fixes #37702 : move Forms style import/export under the right category 2020-09-25 09:07:47 +10:00
Denis Rouzaud
955d38e89a replace struct by QVariantMap 2020-09-25 08:42:55 +10:00
Denis Rouzaud
d7b9e0b095 Apply suggestions from code review
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2020-09-25 08:42:55 +10:00
Denis Rouzaud
f87fb04af8 fix typo 2020-09-25 08:42:55 +10:00
Denis Rouzaud
5e4fe3da60 [locator] active filter lists all matching fields as results when typing '@'
results can be triggered to restrict the search to the given field
2020-09-25 08:42:55 +10:00