76918 Commits

Author SHA1 Message Date
Nyall Dawson
bad241ead2 Ensure that results from final plot area are always shown in plot, even when
a job was already in progress when the plot area was changed
2022-04-29 19:58:21 +10:00
Nyall Dawson
81680ea15b Add profile related settings to point cloud elevation properties 2022-04-29 19:58:21 +10:00
Nyall Dawson
c35d17b6e4 Move useful point cloud renderer enums to Qgis namespace 2022-04-29 19:58:21 +10:00
Nyall Dawson
77052c6473 Add map units per pixel to QgsProfileGenerationContext 2022-04-29 19:58:21 +10:00
Alessandro Pasotti
5b5933f6c4
Merge pull request #48225 from mrylov/hana_ds_interop
Make HANA connection string compatible accross different OS
2022-04-29 10:01:11 +02:00
Julien Cabieces
5f2326ac2f fix grass missing const 2022-04-29 08:21:47 +10:00
Julien Cabieces
b54882e088 fix ogr const 2022-04-29 08:21:47 +10:00
Julien Cabieces
c9f4d8915f fix const const 2022-04-29 08:21:47 +10:00
Julien Cabieces
5cbff2bf6a fix missing documentation 2022-04-29 08:21:47 +10:00
Julien Cabieces
fb50f69e2b other const methods 2022-04-29 08:21:47 +10:00
Julien Cabieces
b9037feabb add functionConst to the list of cppcheck errors 2022-04-29 08:21:47 +10:00
Julien Cabieces
012b6a46db constify methods 2022-04-29 08:21:47 +10:00
Denis Rouzaud
a2d1dc0274 add settings to registry 2022-04-29 07:57:25 +10:00
Denis Rouzaud
82da43371d avoid API break by renaming arg 2022-04-29 07:57:25 +10:00
Denis Rouzaud
f5bd1f2165 [sipify] support argument renaming + fix dosctring reset when cpp code is commented 2022-04-29 07:57:25 +10:00
Denis Rouzaud
a168000b30 migrate ogr connection settings 2022-04-29 07:57:25 +10:00
Denis Rouzaud
3c0ecd38e8 move enum to Qgis + remove commented code 2022-04-29 07:57:25 +10:00
Denis Rouzaud
d5cfb7e0f6 fix tests 2022-04-29 07:57:25 +10:00
Denis Rouzaud
75a0c882bb adapt test to not deprecated API 2022-04-29 07:57:25 +10:00
Denis Rouzaud
b7bc628fac test for group of settings 2022-04-29 07:57:25 +10:00
Denis Rouzaud
a4ad21b7e2 adapt code_layout test for settings to support group of settings 2022-04-29 07:57:25 +10:00
Denis Rouzaud
6dd66759cd sipify 2022-04-29 07:57:25 +10:00
Denis Rouzaud
4790f92444 migreate wcs/wfs/wms/geonode connections settings 2022-04-29 07:57:25 +10:00
Denis Rouzaud
b2e6d654fb [settings] QgsSettingsEntryGroup allows grouping settings + removing all at once 2022-04-29 07:57:25 +10:00
Alessandro Pasotti
041e18a85c
Merge pull request #48107 from elpaso/db_logger_2
Implementation of QEP: Add SQL Logging in the debugging/development panel
2022-04-28 10:11:31 +02:00
signedav
cbcd55bbe5
Merge pull request #48344 from signedav/fix_recursion_mnrelcrash
Fix crash of endless loop when having a recursive many-to-many relations in relationeditor
2022-04-28 08:42:56 +02:00
Nyall Dawson
9b59fa5689 Add some low-level optimised methods for geos routines for point
objects

Avoids the need to construct a temporary QgsPoint object to access
this functionality
2022-04-28 14:15:54 +10:00
Nyall Dawson
99f49079a0 Delay appearance of progress bar, since most jobs are so fast we don't need it 2022-04-28 13:54:47 +10:00
Nyall Dawson
76e1f08490 Try to minimize jumpiness of panning plot 2022-04-28 13:54:47 +10:00
Nyall Dawson
5fb4f656c1 Fix doxygen warning 2022-04-28 13:54:47 +10:00
Nyall Dawson
bc7fa813e5 Only refine layers which benefit from refining (i.e. rasters) 2022-04-28 13:54:47 +10:00
Nyall Dawson
d83fd31815 [sipify] Correctly handle :: in enum comments 2022-04-28 13:54:47 +10:00
Nyall Dawson
85966c7625 Add support for refining elevation plot based on scale and visible range
For some layer types (rasters, point clouds) this gives a much better
experience vs generating the profile completely upfront. (I.e. even
with super-detailed DEM layers the profile is now basically instant
to generate).
2022-04-28 13:54:47 +10:00
Nyall Dawson
8f7e2955e0 Add shortcuts for nudging the elevation profile curve left and right
Allows users to "scrub" the curve across the map (eg to find the optimal
profile line based on the elevation). The step distance is set to match
the chart's tolerance distance, so that a single step will result in a
different set of point and point cloud features shown in the chart.

Shortcuts for nudging are Ctrl+Alt+, and Ctrl+Alt+.
2022-04-27 13:56:15 -07:00
Jacky Volpes
713f523a39 Oracle provider - minor change 2022-04-28 05:49:00 +10:00
Nyall Dawson
3363c74917 De-duplicate a lot of code between mesh and raster elevation handling 2022-04-27 17:30:14 +10:00
Nyall Dawson
940175fc66 [feature] Add option to render raster and mesh elevation surface levels
using a fill symbol below the elevation surface

This can be easier to interpret in some cases, and helps match expected
symbology conventions in certain disciplines.
2022-04-27 17:30:14 +10:00
Alessandro Pasotti
9052913daf Address PR comments 2022-04-27 09:11:40 +02:00
Nyall Dawson
f00fc087bb createEntities->createEntity 2022-04-27 11:50:13 +10:00
Nyall Dawson
e15b458f64 Remove deprecated methods 2022-04-27 11:50:13 +10:00
Nyall Dawson
828e4f6339 Fix deprecation use 2022-04-27 11:50:13 +10:00
Nyall Dawson
5e831971cc Cleanup light source handling in API 2022-04-27 11:50:13 +10:00
Nyall Dawson
8520d7ed27 Move some methods to lighting classes 2022-04-27 11:50:13 +10:00
Nyall Dawson
9803439f5e Add a base class for light sources 2022-04-27 11:50:13 +10:00
Nyall Dawson
d42f2792d2 Move lighting classes to subfolder 2022-04-27 11:50:13 +10:00
Nyall Dawson
e9f36c5992 Disable backface culling on terrain
This allows the terrain to be visible from below (underground), which
is handy when visualising boreholes or other underground features
2022-04-27 10:43:35 +10:00
Nyall Dawson
5a6524f3aa Use "regenerate" instead of "update" for re-building the profile for
a layer, as "update" is ambiguous and is associated with "repainting"
a Qt widget
2022-04-27 10:24:12 +10:00
Nyall Dawson
ddfe22aedb Rename method to copyPropertiesFromGenerator and avoid some duplicate code 2022-04-27 10:24:12 +10:00
Nyall Dawson
e59c5d9881 Add dox note about source ID and layer IDs 2022-04-27 10:24:12 +10:00
Nyall Dawson
a35e74c656 Add api to allow redrawing of previously collected results for a single
elevation profile source

And use this to just redraw the existing results whenever a setting
relating only to the appearance of the profile chart is changed,
instead of regenerating the whole chart
2022-04-27 10:24:12 +10:00