8815 Commits

Author SHA1 Message Date
Nyall Dawson
618c7f2f73 [feature] Add opt-in setting in project properties for
"Remember editable layer status between sessions"

If checked, then any layers which are editable will be remembered
when saving that project and immediately made editable whenever
the project is restored.

This is an opt-in, per-project setting. The intended use case
is for users who are making complex, data-editing focused projects.
2022-03-22 10:48:57 +10:00
Nyall Dawson
9efe9f512c Change some boolean QgsProject properties to flags instead 2022-03-22 10:48:57 +10:00
NEDJIMAbelgacem
66b3c57f2b - Fix spelling & SIP
- Fix 3D -> 2D -> 3D sync
- Fix trapezoid setting saving
2022-03-21 07:56:39 -07:00
NEDJIMAbelgacem
60144d7645 switch to flag based approach for 2D/3D sync 2022-03-21 07:56:39 -07:00
NEDJIMAbelgacem
9141d05d59 - Change extent to trapezoid shape
- Visualize the viewed area using QgsRubberBand
-  Address reviews
2022-03-21 07:56:39 -07:00
Nyall Dawson
5b317e6808 Ignore symbol layer types which do not have colors (raster fill, marker,
etc) when calculating overall symbol colors

Fixes #47723
2022-03-21 17:24:45 +10:00
Nyall Dawson
14952ab6b0 Fix sip build 2022-03-19 05:58:37 +10:00
Nyall Dawson
acdc5d2128 Fix cppcheck warning 2022-03-19 05:58:37 +10:00
Nyall Dawson
52c778f3a0 Remove offset/scale from project elevation properties as these were moved to terrain providers 2022-03-19 05:58:37 +10:00
Nyall Dawson
c19ec553ab Add scale and offset to terrain providers 2022-03-19 05:58:37 +10:00
Nyall Dawson
6e9ecc87e4 Use nan for invalid point height calculation results 2022-03-19 05:58:37 +10:00
Nyall Dawson
5124a583f2 Add clone method for terrain providers 2022-03-19 05:58:37 +10:00
Nyall Dawson
231596cd8d Make terrain provider classes generic and move outside of project 2022-03-19 05:58:37 +10:00
Nyall Dawson
22034f354e Project elevation properties framework 2022-03-19 05:58:37 +10:00
Loïc Bartoletti
94a3744521
Merge pull request #46647 from Koyaani/advanced_snapping
[Feature] New soft constraints in the advanced digitizing dock
2022-03-18 10:11:49 +01:00
Alessandro Pasotti
1eeb11fc48
Merge pull request #47771 from elpaso/between-expression
Between/Not between expression
2022-03-18 07:25:21 +01:00
Alessandro Pasotti
a296a8bb84
Merge pull request #47782 from nyalldawson/highlight_all_curved
Highlight all characters in curved labels when hovering using a map label tool, instead of just one character
2022-03-17 13:29:49 +01:00
Nyall Dawson
180ae3bc16 Also apply font settings from layer conditional styling to layout attribute tables 2022-03-17 18:12:46 +10:00
Damiano Lombardi
20173fd609 User defined field names in export 2022-03-17 08:34:34 +10:00
Nyall Dawson
bc0b982e26 Read metadata from vtpk files 2022-03-16 14:07:06 +10:00
Nyall Dawson
1ad8639315 Support reading ESRI vector tile packages (.vtpk) files directly 2022-03-16 14:07:06 +10:00
Nyall Dawson
16d8ce71f9 Move gzip utility functions to QgsZipUtils 2022-03-16 14:07:06 +10:00
Alessandro Pasotti
34f0e59735 Address PR review comments and handle NULLS
Refactor the evaluation code, handle NULLs to
return a boolean when it is possible.
2022-03-15 12:13:42 +01:00
Nyall Dawson
94f198b36b Default to a "Follow placement" mode for the text anchor point, which
means when the line anchor is < 25% then it will be matched to the
start of the text, when the line anchor is > 75% it will be matched
to the end of the text, otherwise match to center of text
2022-03-15 16:31:45 +10:00
Nyall Dawson
3924437947 Use Q_ENUM for enums 2022-03-15 16:31:45 +10:00
Nyall Dawson
f2e338259a [feature][labeling] Expose control of what part of text (start,
middle or end) of line labels corresponds to the anchor position

Previously labels would always be centered over the anchor position
of lines (unless it was a curved label, in which case it was the
start of the lable!) This is limiting (and inconsistent) for some
placements, where it is preferable to e.g. line up the end
of the label text with a specific point on the line
2022-03-15 16:31:45 +10:00
Nyall Dawson
955cc8bf8c [labeling] Highlight all characters in curved labels when hovering
using a map label tool, instead of just one character
2022-03-15 15:08:22 +10:00
Nyall Dawson
1e445e3c6f Use flags, not boolean 2022-03-15 11:44:08 +10:00
Nyall Dawson
d9cd3e2d97 Allow tasks to be hidden from the GUI 2022-03-15 11:44:08 +10:00
Nyall Dawson
092279e90d [feature] Run batch processing steps in tasks
Instead of forcing all steps in the batch processing dialog to execute
in the main thread, we now run each step as a separate task whenever
possible. This keeps the UI nice and responsive, and permits
responsive cancelation and progress reporting.

Individual steps are still run sequentially, not in parallel (yet!)
2022-03-15 11:44:08 +10:00
Nyall Dawson
5dd473d682 Move batch feedback subclass to c++ 2022-03-15 11:44:08 +10:00
Alessandro Pasotti
ba28631d33 NULL between tests 2022-03-14 14:19:53 +01:00
Alessandro Pasotti
7601250a54 SQL expression compiler and more tests for BETWEEN 2022-03-14 14:19:52 +01:00
Alessandro Pasotti
c8d55607ea BETWEEN expression
TODO: type casting, SQL compiler, help text
2022-03-14 14:19:52 +01:00
Alessandro Pasotti
312a3a2bb0
Merge pull request #47671 from elpaso/form-group-collapsed
Drag and drop forms group collapsed
2022-03-14 12:27:27 +01:00
Alessandro Pasotti
9ec6355d91 Address PR reviews 2022-03-14 10:21:07 +01:00
Nyall Dawson
71e450be03 Apply more flexible approach to match zoom levels expected for ESRI
tiles
2022-03-14 13:39:36 +10:00
Nyall Dawson
9b427c665f Remove constraint disabling threading for all models 2022-03-14 08:28:24 +10:00
Juergen E. Fischer
102bc431d7 fix windows build 2022-03-12 17:36:34 +01:00
Martin Dobias
9edf55ae41
Merge pull request #47257 from uclaros/filtering-pointclouds
Add support for pointcloud filtering
2022-03-11 13:13:48 -08:00
uclaros
74030fdc1c skipping sipping 2022-03-11 15:34:35 +02:00
Denis Rouzaud
1fa991f26e call non-deprecated method 2022-03-11 12:01:39 +01:00
Denis Rouzaud
761a20cac6 manual monkeypatching core->gui 2022-03-11 07:47:46 +01:00
Denis Rouzaud
a923b339d2 qHash implementation for scoped enum type 2022-03-11 07:47:46 +01:00
Denis Rouzaud
f32ecd4730 move QgsMapToolCapture::CaptureTechnique enum to Qgis 2022-03-11 07:47:46 +01:00
Nyall Dawson
222ce1b5ab Don't apply tile scale doubling hack to esri generated vector tiles
We shouldn't apply this hack if we want to match ESRI's zoom to scale
level handling
2022-03-11 12:09:32 +10:00
Nyall Dawson
2faa91a327 Remove redunant z0 extent members 2022-03-11 12:09:32 +10:00
Nyall Dawson
59059a9a72 Switch to using QgsMatrixTileSet as common tile set class 2022-03-11 12:09:32 +10:00
Nyall Dawson
549398dec1 Spelling 2022-03-11 12:09:32 +10:00
Nyall Dawson
508a87dd4f Correctly load arcgis vector tiles in non-EPSG:3857 crs 2022-03-11 12:09:32 +10:00