67601 Commits

Author SHA1 Message Date
Nyall Dawson
3148d4c4e4 Fix build 2020-12-10 04:03:40 +10:00
Nyall Dawson
b1625ee859 Default to not showing bounding boxes for point cloud layers 2020-12-10 04:03:40 +10:00
Nyall Dawson
0b17f74c1a Add a "Source" tab to point cloud layer properties
Matches other layer types, and notably allows the CRS for a point cloud
layer to be reassigned by users
2020-12-10 04:03:40 +10:00
Nyall Dawson
767d8a3835 Drop default 2d max error even further (0.3 now) 2020-12-10 04:03:40 +10:00
Nyall Dawson
39307900c6 When a point cloud is first added to a project, default to setting
a 3d renderer on it to match its 2d renderer

It just makes sense!
2020-12-10 04:03:40 +10:00
Nyall Dawson
56169d3e9e Lower default screen error for 2d point cloud renders 2020-12-10 04:03:40 +10:00
Nyall Dawson
9bfc744307 Refine selection of default 2d renderer for point clouds
New logic is:
- if red/green/blue attributes present and contain non-zero values, use RGB renderer
(some datasets have red/green/blue attributes but containing all zero values, so
an rgb renderer for these is useless)
- if Classification attribute present and contains any non-"no classified" classes,
use a classified renderer
- else use ramp based renderer by Z value
2020-12-10 04:03:40 +10:00
Nyall Dawson
02d57593e7 Make wording more consistent 2020-12-10 04:03:40 +10:00
Nyall Dawson
50532dab9a Add default value to max screen space spin box 2020-12-10 04:03:40 +10:00
Nyall Dawson
5d787c50cf Auto copy 2d point cloud classified settings to 3d 2020-12-10 04:03:40 +10:00
Nyall Dawson
55587749f6 Ensure color selectors open inline 2020-12-10 04:03:40 +10:00
Nyall Dawson
15da73a811 Fix page margins 2020-12-10 04:03:40 +10:00
Nyall Dawson
4a9b0091b6 Fix warning 2020-12-10 04:03:40 +10:00
Alessandro Pasotti
d958dfe71a
Merge pull request #40521 from elpaso/bugfix-gh40515-pgraster-regression
Fix PG raster after 787181ad
2020-12-09 15:48:42 +01:00
Mathieu Pellerin
41f0ff8847 Fix crasher when the symbol selector panel is open via symbol button widget 2020-12-09 18:39:29 +07:00
Alessandro Pasotti
ce02af6982 Fix PG raster after 787181ad
Fixes #40515
2020-12-09 11:59:40 +01:00
Denis Rouzaud
43b73ffcd7
Merge pull request #40513 from 3nids/action-menu-single-feat-only
only display actions for single features in action menu
2020-12-09 10:16:30 +01:00
Nyall Dawson
78cdadf5aa
Avoid emitting QgsProject::snappingConfigChanged multiple times when reading or clearing projects 2020-12-09 18:26:17 +10:00
Nyall Dawson
da51a5a8d0 It's FAR too expensive to construct a QgsSettings object for every symbol node, especially for complex
projects. So only read the valid size ranges once, and store them for subsequent use
2020-12-09 18:18:27 +10:00
Denis Rouzaud
7f1601a1d8 only display actions for single features in action menu 2020-12-09 07:21:05 +01:00
Julien Cabieces
e779bf9ff7 Add MultipleLayers parameter in field parameter definition widget 2020-12-09 10:11:56 +10:00
Julien Cabieces
1e89dd068b Remove item from MultipleLayer when layer is deleted 2020-12-09 10:11:56 +10:00
Julien Cabieces
57e1e14a10 Allow field parameter to reference a MultipleLayers parameter 2020-12-09 10:11:56 +10:00
Alessandro Pasotti
af0247ea80
Merge pull request #40500 from elpaso/speedup-original-xml-properties
OriginalXmlProperties optimization
2020-12-08 18:18:54 +01:00
Alessandro Pasotti
75139c4ca6
Merge pull request #40498 from elpaso/nanoptimize-qgssettings-instance
Save ~150ms in project loading times by storing QgsSettings instance
2020-12-08 18:18:32 +01:00
NEDJIMAbelgacem
088d30ac13 Address reviews 2020-12-08 16:29:14 +01:00
NEDJIMAbelgacem
14ff8e3489 initial implementation 2020-12-08 16:29:14 +01:00
NEDJIMAbelgacem
e3da221f7f Addres reviews 2020-12-08 16:28:49 +01:00
NEDJIMAbelgacem
eb181d7893 do not count fps when the counter is disabled 2020-12-08 16:28:49 +01:00
NEDJIMAbelgacem
8125353578 fix spell_check 2020-12-08 16:28:49 +01:00
NEDJIMAbelgacem
4dcee65ad0 lock fps counter updates to 5 at most 2020-12-08 16:28:49 +01:00
NEDJIMAbelgacem
a5329d4f19 Add FPS counter check box 2020-12-08 16:28:49 +01:00
NEDJIMAbelgacem
b7fb38f62f Initial implementation 2020-12-08 16:28:49 +01:00
Alessandro Pasotti
a3b4a483de OriginalXmlProperties optimization
Dramatic speed improvement in XML original properties storage.

The original implementation used a call to QDomNodeList::count() method
that calls QDomNodeListPrivate::createList() -> DETACH!

By using a while loop we prevent the detach and it's more than 10 times faster.
2020-12-08 12:04:40 +01:00
NEDJIMAbelgacem
2c77449eaa Connect a signal to autoupdate layer rendering 2020-12-08 11:01:13 +01:00
Nyall Dawson
2182db8a52 Skip test on travis 2020-12-08 19:52:22 +10:00
Nyall Dawson
c053724b38 Try to make test travis safe 2020-12-08 19:52:22 +10:00
Nyall Dawson
53bdcb903f Spelling 2020-12-08 19:52:22 +10:00
Nyall Dawson
dc78fe99db [feature][processing] Add new algorithm to export layers to spreadsheets
Either exports a selection of vector layers as sheets in a new spreadsheet,
or appends them as additional sheets to an existing spreadsheet

Fixes #40433
2020-12-08 19:52:22 +10:00
Nyall Dawson
94522cf844 Add option to QgsVectorFileWriter to prefer using field aliases as output field name 2020-12-08 19:52:22 +10:00
Alessandro Pasotti
eeb8346edd Save ~150ms in project loading by storing QgsSettings instance 2020-12-08 10:03:39 +01:00
Juergen E. Fischer
f972425342 fix windows build (followup def587fa778e) 2020-12-08 09:35:56 +01:00
nirvn
d5933f23b5 [georeferencer] Improve projection logic, default to raster projection 2020-12-08 14:26:54 +07:00
nirvn
27b4062177 [ui][georeferencer] Fix spacing and projection widget height in coordinate capture dialog 2020-12-08 14:26:54 +07:00
Alex
6d002ff37b
[FEATURE][georeferencer] Support reprojected data point input (#39584) 2020-12-08 08:07:33 +07:00
Peter Petrik
e28ff6f84b fix unhandled proj exception from vector tiles 2020-12-08 06:29:33 +10:00
uclaros
5454bee20c Do not register QgsFilterLineEdit's child widgets as QgsOptionsDialogHighlightWidget
The clear value button might be deleted. This allows QgsFilterLineEdit, QgsSpinBox and QgsDoubleSpinbox usage in options.
2020-12-08 06:19:47 +10:00
Nyall Dawson
928b00a6e6 Add some more options to control how a preview pixmap for a color ramp is generated 2020-12-08 05:59:56 +10:00
NEDJIMAbelgacem
e11f64e108 Address reviews 2020-12-07 15:17:15 +01:00
NEDJIMAbelgacem
a536fde79b fix docs 2020-12-07 15:17:15 +01:00