65992 Commits

Author SHA1 Message Date
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
Nyall Dawson
426ee2120b [layouts] Fix legend symbol rendering doesn't respect linked map
scale when symbol uses map unit based sizes

Fixes #38326
2020-09-21 18:55:33 +10:00
Nyall Dawson
96753cfd1b Don't try to write empty rendered rings/geometries to GeoPDF outputs
Fixes issues caused when a feature is sent to the rendering engine,
but ends up being completely clipped away.
2020-09-21 18:55:10 +10:00
Nyall Dawson
ef99f005de When setting the CRS for layers via the recent CRS menu in the
layer tree, make sure the CRS is set for ALL selected layers
2020-09-21 18:54:46 +10:00
Denis Rouzaud
8d385be9bd optimize scale for point layers in QgsMapCanvas::zoomToFeatureIds
similarly to what is done in zoomToSelected
2020-09-21 07:49:36 +02:00
Denis Rouzaud
b47346ba20 move the optimal extent calculation for a point layer to its own method 2020-09-21 07:49:36 +02:00
Denis Rouzaud
dd19040226 do not display twice the same result 2020-09-21 07:49:36 +02:00
Denis Rouzaud
2ae418da24 [locator] active locator filter also search in display title 2020-09-21 07:49:36 +02:00
Denis Rouzaud
0f2a8341f3 [locator] fix display title expression not displayed anymore in the results 2020-09-21 07:49:36 +02:00
vcloarec
0fb54bc4ac fix #38872 2020-09-21 14:16:32 +10:00
Nyall Dawson
ca6ffb77ca [3d] Remember last used light configuration tab
Fixes #38167
2020-09-21 12:18:58 +10:00
Nyall Dawson
e1ca83b2c2 Correctly apply capitalization setting whenever QgsTextRenderer is
used, not just in labeling

Fixes #38898
2020-09-21 12:05:54 +10:00
Nyall Dawson
620948f809 Add method to change capitalization of QgsTextDocument 2020-09-21 12:05:54 +10:00
Nyall Dawson
772181bc16 [processing] Don't assume iface is available
E.g. in qgis_process iface is None

Fixes #38862
2020-09-21 12:05:34 +10:00
Nyall Dawson
f6719a9878 Fix tests 2020-09-21 11:05:34 +10:00
Nyall Dawson
ed6e9ac84c Dox++ 2020-09-21 11:05:34 +10:00
Etienne Trimaille
6076950c68 Add help string for parameters in Processing 2020-09-21 11:05:34 +10:00
Harrissou Sant-anna
d5f27118dc Only show Select and digitizing-based menus in the Edit menu
when appropriate (if not empty project and/or a compatible layer)

fixes #38470
2020-09-21 08:08:31 +10:00
vcloarec
9305e22a6c add tests and fix another issue 2020-09-21 08:04:29 +10:00