59603 Commits

Author SHA1 Message Date
Samweli
db4a8ce381 comment for change of condition statements 2019-12-18 05:05:37 +10:00
Samweli
b862d5e13c added new class for wmts collection items 2019-12-18 05:05:37 +10:00
Samweli
28aefe5711 change icon for wmts layer item 2019-12-18 05:05:37 +10:00
Samweli
c106d39078 change icon for xyz layer item in wms provider 2019-12-18 05:05:37 +10:00
Alex
5ce38d6c28 whitespace 2019-12-17 13:04:44 -05:00
Alex
6ff3f400e7 Autofinder progress dialog.
Adds a dialog to comfort users by indicating that QGIS did not crash and if trying to find their layers.
2019-12-17 12:38:20 -05:00
Alessandro Pasotti
fd6075e80b Renamed stored expressions to user expressions 2019-12-17 17:10:43 +01:00
Denis Rouzaud
105ebc4683
test commit for backport bot (#33444) 2019-12-17 16:25:39 +01:00
Denis Rouzaud
89e3f2ccf9
put back backport bot 2019-12-17 15:23:19 +01:00
Alessandro Pasotti
6b232414f2 Added new files header 2019-12-17 15:00:48 +01:00
Vincent Cloarec
c252a3ad4c [mesh] Fixes time reference for mesh layer #32186 #33399 #31933 (#33410)
[FEATURE] [mesh] Load reference time from MDAL when available

Also adds combo box to let the user set the provider time unit. This is particularly useful when MDAL incorrectly recognised the time units in the raw dat format (for example format does nof follow spec and it is not possible to determine if time interval is in hours or days)

fix #32186 
fix #33399
fix #31933
2019-12-17 14:56:49 +01:00
Alessandro Pasotti
0abb481249 Forbid slashes in stored expression labels labels
... because labels become part of the QSettings key
2019-12-17 13:57:22 +01:00
Alessandro Pasotti
403972dedd Capitalize window title 2019-12-17 12:09:28 +01:00
David Signer
3da65e0296 doc 2019-12-17 11:25:46 +01:00
Alessandro Pasotti
9e2f9c06b3 Remove this 2019-12-17 11:14:47 +01:00
Matthias Kuhn
ead3b62c1e
Merge pull request #33435 from m-kuhn/vectorlayerref_header
Install missing header
2019-12-17 10:42:31 +01:00
signedav
4cbd9a1ee3
Merge pull request #33197 from signedav/searchtags_functions
Search tags on expression functions
2019-12-17 09:28:26 +00:00
Alessandro Pasotti
e4b4459af0 Use QStringLiteral 2019-12-17 10:19:16 +01:00
Alessandro Pasotti
3759c6ae8e Load stored at start in fieldcalc 2019-12-17 10:09:56 +01:00
nirvn
c9453343cb fix test 2019-12-17 15:15:49 +07:00
nirvn
3404dff67e [labelling] Fix masked symbol layers loss when
- opening layer properties window; or
- changing label settings in style dock
2019-12-17 15:15:49 +07:00
Matthias Kuhn
cde49d5b66 No sip 2019-12-17 08:50:28 +01:00
Hugo Mercier
fa20ebd8d9 Use manual label positions for some selective masking tests 2019-12-17 08:18:52 +01:00
Hugo Mercier
d6ee3ed520 Fix rendering regression
In parallel rendering, make sure mFinalImage exists before drawing
labels.
2019-12-17 08:18:52 +01:00
Hugo Mercier
5d8899bd66 Fix selective masking control images 2019-12-17 08:18:52 +01:00
Matthias Kuhn
cfb4ff5322 Install missing header 2019-12-17 07:37:33 +01:00
Matthias Kuhn
98f8a89704
Merge pull request #33204 from olivierdalang/feature_random_seed_squashed
[FEATURE][expressions] allow to seed random functions
2019-12-17 07:31:26 +01:00
Nyall Dawson
30b2919c81 Make custom projection validation button work on proj < 6 2019-12-17 11:59:40 +10:00
Nyall Dawson
84af693557 Fix build on proj < 6 2019-12-17 11:59:40 +10:00
Nyall Dawson
759ba8d7c3 Fix sqlite errors when trying to save an updated custom projection through the custom projection dialog 2019-12-17 11:59:40 +10:00
Nyall Dawson
aa864dcff8 Fix test calculations in custom projection dialog under proj 6
Refs #33038
2019-12-17 11:59:40 +10:00
Nyall Dawson
c24f79da26 When the custom projection dialog is blocked from closing due to an invalid projection, automatically
select that projection in the list for the user
2019-12-17 11:59:40 +10:00
Nyall Dawson
aa0b9b0547 [needs-docs] Add a "Validate" button to custom projection dialog
to allow users to validate the currently edited CRS definition
without having to accept the whole dialog

If the validation fails, the proj error messages are shown
to help the user determine why the string is invalid
2019-12-17 11:59:40 +10:00
Nyall Dawson
c2b55ebb1f Better messagebox titles 2019-12-17 11:59:40 +10:00
Nyall Dawson
4991a27ddb Use correct message box icons in custom projection alerts 2019-12-17 11:59:40 +10:00
Nyall Dawson
308eae9a33 Allow deleting multiple custom projections at once 2019-12-17 11:59:40 +10:00
Nyall Dawson
10e0910557 Update a test result for proj 6 2019-12-17 11:58:55 +10:00
Nyall Dawson
3efae69f10 Add test results for proj < 6 2019-12-17 11:58:55 +10:00
Nyall Dawson
4275e7d12f Refine logic relating to syncing project ellipsoid choice to CRS selections
in project properties dialog

Keep the existing logic which dictates that we should never overwrite
a user-set "NO ellipsoid" setting when the project CRS is changed, BUT
add a condition that if the project goes from NO CRS to A CRS, we
DO sync the ellipsoid choice for that first change only and overwrite
the default NO ellipsoid which is forced for projects with no crs.

Add unit tests to protect this logic, and hopefully see the last of
this crappy fragile dialog handling...

Fixes #33358
2019-12-17 11:58:55 +10:00
Nyall Dawson
5375fdf58c Fix loss of crs set for QgsProjectionSelectionWidget if widget is never
shown, fix missing signals and duplicate signals
2019-12-17 11:58:55 +10:00
Nyall Dawson
1dde86a70e Remove some unused/empty code 2019-12-17 11:58:55 +10:00
Nyall Dawson
c2441caa9b Ensure output of QgsCoordinateReferenceSystem::ellipsoidAcronym() matches
the acronyms and format user in QgsEllipsoidUtils

Refs #33358
2019-12-17 11:58:55 +10:00
Nyall Dawson
c7ee6e93a6 remove_temporary_files should also remove .temp files 2019-12-17 11:58:55 +10:00
Nyall Dawson
296f78f3b8 Update test results to reflect proj master 2019-12-17 11:58:55 +10:00
Nyall Dawson
a0280f7cb5 Update test result for proj 6 2019-12-17 11:58:55 +10:00
Nyall Dawson
24d773c8e0 Add unit tests that project ellipsoid survives the trip through the project properties dialog
(test needs adapting for proj 6)
2019-12-17 11:58:55 +10:00
Nyall Dawson
2cc64f9cc7 Fix initial selection in project ellipsoid list is reset whenever the dialog
is reopened

Refs #33358
2019-12-17 11:58:55 +10:00
Matthias Kuhn
78ad518e9a
Merge pull request #33427 from m-kuhn/fix_crash_with_invalid_raster_layer
Fix crash with invalid layer
2019-12-16 21:44:54 +01:00
David Signer
fe9a7ee5bd function to get info about available values to avoid duplicate code 2019-12-16 19:01:12 +01:00
David Signer
83be397f8d menu action to only display the used values if formatter can provide available values 2019-12-16 18:28:18 +01:00