65898 Commits

Author SHA1 Message Date
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
Alessandro Pasotti
411433c8cb Make test resilient to postgis versions 2020-09-25 08:41:40 +10:00
Alessandro Pasotti
ef6a7e5d9f Expose PG unrestricted empty tables as apatial items
also fix test
2020-09-25 08:41:40 +10:00
Alessandro Pasotti
03e42892b0 Set loadDefaultStyle to false when loading layers for fields info only 2020-09-25 08:41:40 +10:00
Alessandro Pasotti
83a4c7cde3 Fix unreported issue with fields not retrieved for certain PG tables 2020-09-25 08:41:40 +10:00
Alessandro Pasotti
69d66a121d Check field subType for a fallback icon 2020-09-25 08:41:40 +10:00
Harrissou Sant-anna
f3ae29d973 Allow spinboxes widget to be reset to initial value
and add smaller steps to shadow bias
2020-09-25 08:38:24 +10:00
Harrissou Sant-anna
c06482eda7 Some label changes to 3D directional lights
Remove colon at the end of label
Add units suffix to widgets
and clean ui file
2020-09-25 08:38:24 +10:00
Harrissou Sant-anna
50f7a0eca7 Reduce margin inside the shadow group box
aligning with others in the dialog
2020-09-25 08:38:24 +10:00
Julien Cabieces
f3a5b69691
[VirtualLayer] Catch exception while updating virtual layer stats
Fixes #34378
2020-09-25 08:37:33 +10:00
Harrissou Sant-anna
f48eb3109a Add a semi-automated table of content for the Install file 2020-09-25 08:34:39 +10:00
Harrissou Sant-anna
b83a4757c8 Remove "creation of MSYS environment" instructions 2020-09-25 08:33:32 +10:00
Peter Petrik
7106eea4ad add missing implementation of QgsQuickMapSettings::setTransformContext 2020-09-25 08:29:54 +10:00
Alessandro Pasotti
3b6178ad3b
Merge pull request #38981 from elpaso/bugfix-gh38975-and-other-db-manager-issues
Bugfix gh38975 and other db manager issues
2020-09-24 18:42:56 +02:00
Alessandro Pasotti
6bd03c3ed2
Merge pull request #39006 from elpaso/bugfix-gh39001-pg-browser-item-issues
Fix some PG browser item UX inconsistencies
2020-09-24 18:10:43 +02:00
Alessandro Pasotti
5691357181
Merge pull request #39000 from elpaso/bugfix-gh38998-db-manager-pg-rename-schema
Fix PG db-manager rename schema
2020-09-24 18:07:47 +02:00
Alessandro Pasotti
3a9eacb5fe Fix some PG browser item UX inconsistencies
Fixes #39001
2020-09-24 15:42:10 +02:00
Alessandro Pasotti
871f534ef9 Fix PG db-manager rename schema
Fixes #38998
2020-09-24 14:23:26 +02:00
Andrea Giudiceandrea
e7e08fd504 Fix grassname of raster layer bands in r_rgb.py 2020-09-24 18:45:59 +10:00
Denis Rouzaud
72fa037042 no need to check for validity 2020-09-24 09:22:27 +02:00
Nyall Dawson
d688090f63 When layer tree selection has a mix of different layer CRSes,
reflect this in the CRS sub menu instead of just showing the first
selected layer's CRS
2020-09-24 15:48:44 +10:00
Mathieu Pellerin
931136879c
[processing] Make batch process faster (#38989) 2020-09-24 12:34:59 +07:00
Alessandro Pasotti
c1702db1be Adjust test for DPIs 2020-09-24 09:04:36 +10:00
Alessandro Pasotti
2dc86db74c Test debug code 2020-09-24 09:04:36 +10:00
Alessandro Pasotti
83525abd5c Respect scale lock when panning/zooming the map
Fixes #38953 and #38417
2020-09-24 09:04:36 +10:00
Peter Petrik
b7ea0407eb fix formatting 2020-09-24 08:07:58 +10:00
Peter Petrik
85938ae1fe another try to fix #38919 2020-09-24 08:07:58 +10:00
Nyall Dawson
aa1d199ca9 Treat GeoPDF files as databases in browser panel
Since these can have multiple sub layers, we need to allow users
to expand them out to pick a specific layer or it is not possible
to repair broken GeoPDF layer sources in projects.
2020-09-24 06:10:29 +10:00
Alessandro Pasotti
dd64c6d2a7 PG: accept duplicated fields for query layers
Fixes #38976
2020-09-23 16:04:59 +02:00
Alessandro Pasotti
9880a751a9 DB manager Fix SHOW in PG queries
Fixes #8975
2020-09-23 15:14:04 +02:00
Denis Rouzaud
756b2930d4 fix edge case where fkey is 0 in relation reference widget
the list of identifiers was initialized with a list QVariant(Int) for Null, but they are equal to 0
now, we also control that the value is valid to determine if the identifier is not null
2020-09-23 13:58:22 +02:00
zhanggaolei
3119eb7de2 fixed #38938 Wrong GRASS processing description files 2020-09-23 18:26:40 +10:00
Nyall Dawson
194a5176ec Updated icon for Transformations tab 2020-09-23 14:13:35 +10:00
Nyall Dawson
1a65ac00c1 [needs-docs] Move Transformation settings out of CRS tab in Project
Properties and Options dialog and into their own "Transformations"
tab

The CRS tab in Project Properties is very full and the presence
of the transformations in this same tab results in little room
left for the CRS selectors, which definitely benefit from a
lot of vertical space.
2020-09-23 14:13:35 +10:00
Nyall Dawson
0ea1e5f449 Only show "Set Project CRS from Layer" when all selected layers
have the same CRS

Otherwise it's a confusing option
2020-09-23 14:13:35 +10:00
Nyall Dawson
4c7fbc0260 [layouts] Use standard CRS selector widget for map grid CRS choice
instead of custom button

Fixes #26548
2020-09-23 14:13:35 +10:00