65860 Commits

Author SHA1 Message Date
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
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
Nyall Dawson
c3a26db4ba [layouts] When selecting a CRS for a map item, don't show misleading
"no crs" option at the top of the dialog.

Instead, correctly label this option as "Use project CRS", which
is what it actually means.
2020-09-23 14:13:35 +10:00
Nyall Dawson
c68d05cc40 Improve misleading/confusing API, and fix "layer has no CRS" message
incorrectly show at the top of many projection selection dialog boxes
2020-09-23 14:13:35 +10:00
Nyall Dawson
05c25194d1 Also use splitter in QgsProjectionSelectionDialog 2020-09-23 14:13:35 +10:00
Nyall Dawson
9c40f6b766 Add resizable splitters to projection selection widget so that users
can resize the different lists to better sizes for their workflows
2020-09-23 14:13:35 +10:00
Nyall Dawson
1c3347af97 Expand size of recent CRS history to 30 items
Because I'm sure I'm not the only one who regularly works with
more than 10 CRSes...
2020-09-23 14:13:35 +10:00
Nyall Dawson
6b0fc7bac7 Expand size of recent CRS list in layer right click menu to 5 items 2020-09-23 14:13:35 +10:00
Nyall Dawson
9d384289f9 Don't show action to set layer CRS to the same CRS as it currently is 2020-09-23 14:13:35 +10:00
Nyall Dawson
a674cb7b97 Fix "Set Project CRS from Layer" action in layer right click menu
resets layer to have no CRS after changing the project CRS
2020-09-23 14:13:35 +10:00
Nyall Dawson
bddd3edb51 Don't show empty menu entry when layers have no CRS set 2020-09-23 14:13:35 +10:00
José de Paula Rodrigues
9ca2d3beea PGSQL: making timestamptz a recognized date/time type. 2020-09-23 08:36:49 +10:00
Even Rouault
daf78c64e9 [WFS/OAPIF providers] Fix freeze when feature requests issued from main thread and authentication manager triggers (fixes #37224) 2020-09-23 07:05:01 +10:00
Julien Cabieces
36a7d1b8c4 Fixes #31798 : don't convert bool to string in virtual layer 2020-09-23 06:08:50 +10:00
Nyall Dawson
8dd75cc9cc [layouts] Improve UI for formatting manual table cells
Instead of the confusing duplicate settings for foreground color
vs cell text color, remove the foreground color button and only
expose this color setting via the cell text color.
2020-09-23 03:15:28 +10:00
Salvatore Larosa
8e9bf8bf49
Merge pull request #38917 from slarosa/fix_console_byte
[pyqgis-console] fix byte conversion
2020-09-22 17:15:05 +02:00
Stefano Campus
22daf464e2 Update tsstat.pl
Correction of typo in Italian translators list
2020-09-22 13:34:18 +02:00
Denis Rouzaud
b4797b18ce
Merge pull request #38908 from 3nids/locator-fixes
Some locator fixes
2020-09-22 12:48:31 +02:00
Alessandro Pasotti
063b8daab3
Merge pull request #38940 from elpaso/bugfix-gh38092-executesql-feedback-followup
Be smart when adding limit: followup #8092
2020-09-22 11:32:27 +02:00
Alessandro Pasotti
ef02c54252 Be smart when adding limit: followup #8092 2020-09-22 09:26:13 +02:00
Juergen E. Fischer
a15fff158a Translation string fix 2020-09-22 09:12:15 +02:00
Denis Rouzaud
d6f9b07cf1 fix completion + add test 2020-09-22 09:05:15 +02:00
Nyall Dawson
9d885af184 Use qCritical() for uncaught exceptions, allows backtrace to be dumped when these are encountered 2020-09-22 15:57:41 +10:00
Nyall Dawson
950d2bd935 Also dump backtraces on qCritical() warnings 2020-09-22 15:57:41 +10:00
Nyall Dawson
67ec244864 When a layer is being removed from the project, gracefully
close and cleanup all panels in the layer styling dock

Fixes #38920
2020-09-22 15:56:47 +10:00
Nyall Dawson
fd771bba68 Avoid qt warning when dragging a non-color object over color buttons 2020-09-22 14:23:25 +10:00
Nyall Dawson
0b77f187ec Increase precision of georeferencing coordinates used when creating GeoPDF composition file
Fixes shift in geopdf feature positions when using geographic CRS at large scales

Fixes #37755
2020-09-22 14:06:02 +10:00
Juergen E. Fischer
1f74f0e010 Update translators (closes #38925, #38925, #38927) 2020-09-22 03:32:43 +02:00
Nyall Dawson
fe501506dd Avoid calling geos methods for some more trivial point to point geometry calculations 2020-09-22 11:26:57 +10:00
Nyall Dawson
6a002573c0 Fix constraint metadata is duplicated after opening layer properties
Fixes #38916
2020-09-22 11:08:34 +10:00
Hannes
7e2d931e58 fix hash() expression help, had missing quotes 2020-09-22 08:19:08 +10:00
Peter Petrik
0fb7c44645 fix #38919 projections MacOS 2020-09-22 06:50:59 +10:00
Nyall Dawson
8f834b6ff5 Silence some chatty debug messages 2020-09-22 06:50:34 +10:00
Nyall Dawson
f3f226aa69 In cases where we cannot convert the map extent back to a layer's
extent and have had to resort to fetching all features from a layer,
defer the geometry clipping the map extent so that it occurs
AFTER transforming the layer's geometries to the target map extent.

This allows us to correctly clip the feature geometries in the case
that the visible extent available from the render context for the layer
is not accurate (i.e. it's a whole of globe fallback), and avoids
rendering features which fall far outside of the visible map
region.

Fixes #38878
2020-09-22 06:50:34 +10:00
Nyall Dawson
3ec1154796 Refine QgsMapRendererJob::reprojectToLayerExtent to remove
unused "split" boolean return and instead return whether
the reprojection was successful or whether we had to fallback
to a "whole globe" extent
2020-09-22 06:50:34 +10:00
Nyall Dawson
9990b84bdb Add QgsClipper::clippedLine variant which accepts a QPolygonF line
input
2020-09-22 06:50:34 +10:00
Salvatore Larosa
bc71fae005 [pyqgis-console] fix byte conversion 2020-09-21 17:19:57 +02:00
Denis Rouzaud
a509491e5c add test for searching for display expression in active layer locator filter 2020-09-21 16:19:35 +02:00
Alessandro Pasotti
1c1febc0d6
Merge pull request #38870 from elpaso/bugfix-gh38092-executesql-feedback
Add feedback to executeSql
2020-09-21 15:45:21 +02:00
Alessandro Pasotti
6d866e3341 Address PR comments 2020-09-21 14:02:24 +02:00