NEDJIMAbelgacem
ba0deaaa76
fix unit tests
2022-04-29 07:28:22 +01:00
NEDJIMAbelgacem
85499ed235
- Enable estimated statistics warning
...
- Fix statistics calculation
2022-04-29 06:24:46 +01:00
NEDJIMAbelgacem
cc5a7d3d62
big code refactor
2022-04-28 18:38:49 +01:00
NEDJIMAbelgacem
f33f14843e
Refactoring and some fixes
2022-04-27 07:49:15 +01:00
NEDJIMAbelgacem
b02af16183
initial implementation
2022-04-22 07:32:28 +01:00
Nyall Dawson
5ff12f41e7
Account for non-equal axis scaling during snapping
2022-04-15 12:15:54 +10:00
Nyall Dawson
d163b4fb21
Use Snap context class instead
2022-04-15 12:15:54 +10:00
Nyall Dawson
a5f9b558f4
Move snapping results class to own file
2022-04-15 12:15:54 +10:00
Nyall Dawson
e1eb8ffd4d
Use QgsProfilePoint
2022-04-15 12:15:54 +10:00
Nyall Dawson
4b008ed7ac
Add QgsProfilePoint class
2022-04-15 12:15:54 +10:00
Nyall Dawson
20613ea608
Add since
2022-04-15 12:15:54 +10:00
Nyall Dawson
27dc6e7a7d
Snap plot cursor to sampled heights
...
And add a "snapping" toggle to disable this behavior
2022-04-15 12:15:54 +10:00
Denis Rouzaud
158cd3174d
forward options to base constructor
2022-04-14 08:39:15 +02:00
Denis Rouzaud
3926e97cda
pyqgis implementation for Qgis.Settings.Options.SaveEnumFlagAsInt
2022-04-14 08:39:15 +02:00
Denis Rouzaud
4045e51240
[settings] add option to save enum/flag as integer instead of text
2022-04-14 08:39:15 +02:00
Damiano Lombardi
d9c4ace14a
Avoid python error when plugin was not found
2022-04-14 15:31:53 +10:00
Nyall Dawson
61d39a2e14
Fix doc warning
2022-04-14 14:16:26 +10:00
Nyall Dawson
935a49aa52
Add framework for data defined elevation properties
2022-04-14 14:16:26 +10:00
Nyall Dawson
cca19d74ff
Add an expression context to QgsProfileRequest
2022-04-14 14:16:26 +10:00
Loïc Bartoletti
4a3c6c9bc0
Merge pull request #48166 from nicogodet/fix-48139
...
Remove `*` from filename when saving a non previously saved script
2022-04-12 13:59:13 +02:00
Martin Dobias
74687cdabd
Merge pull request #48179 from nyalldawson/profile_feature
...
Add a tool to profile dock to generate an elevation profile for an existing line feature
2022-04-12 04:22:40 -07:00
Nyall Dawson
9001d8eccb
Show a marker on the canvas corresponding to the hovered profile plot point
2022-04-12 02:29:11 -07:00
Nyall Dawson
4c31c81f13
Show a crosshairs over the profile plot as the mouse is moved around
2022-04-12 02:29:11 -07:00
Nyall Dawson
ad80958798
Make vector layer profile chart results default to respecting layer
...
symbology, and add checkbox to disable this in their elevation
properties page
This means that vector results in elevation profile charts will default
to showing features using their corresponding 2d renderer, allowing
eg categorized classes to be visible on the profile chart. (In the
case that a profile symbol type doesn't match the layer's renderer
symbol types, we just take the symbol color from the renderer)
2022-04-12 02:17:02 -07:00
Martin Dobias
3765629919
Merge branch 'master' into profile_feature
2022-04-12 02:09:49 -07:00
Nyall Dawson
904a312f40
Add method to sort a list of layers by layer type
2022-04-12 02:08:39 -07:00
Nyall Dawson
a4585e355e
Move duplicated code for finding features from all layers on canvas to a common static function
2022-04-12 11:07:34 +10:00
nicogodet
c7207f58f1
Remove asterisk from file name when using Save
2022-04-11 08:22:33 +02:00
nicogodet
b8b2ceed95
Remove asterisk from file name when using Save As...
2022-04-11 08:22:20 +02:00
Juergen E. Fischer
30e6901931
fix msvc build
2022-04-11 09:54:00 +10:00
Juergen E. Fischer
4fb5e0a11d
processing: fix scripts directory reset on windows
2022-04-11 09:50:16 +10:00
Nyall Dawson
4eede35d55
Allow any symbol to be an animated symbol
...
Users can now indicate that a symbol should be treated as a animated
symbol, through the new "Animation Settings" option in the symbol
widget's Advanced menu.
This settings panel allows users to enable animation for the symbol
and set a specific frame rate at which the symbol should be redrawn.
When enabled, the @symbol_frame variable can be used in any
symbol data defined property in order to animate that property.
For instance, setting the symbol's rotation to the data defined
expression
@symbol_frame % 360
will cause the symbol to rotate over time. (with rotation speed
dictated by the symbol's refresh rate)
2022-04-09 18:14:44 +10:00
Even Rouault
34f057261d
Merge pull request #47724 from tomkralidis/metasearch-offset
...
MetaSearch: update startindex to items
2022-04-08 14:27:26 +02:00
Nyall Dawson
19c2c3d3e2
Add a dedicated x-axis zoom tool for elevation profile widget
2022-04-07 19:22:19 +10:00
Nyall Dawson
f4f514dd86
Add choice of band to use for elevation profiles
2022-04-07 19:22:19 +10:00
Nyall Dawson
06087eebee
Fix casting
2022-04-07 19:22:19 +10:00
Nyall Dawson
2ee10c1327
Rename QgsPlotToolPan file
2022-04-07 19:22:19 +10:00
Nyall Dawson
b779bfc44a
Spelling
2022-04-07 19:22:19 +10:00
Nyall Dawson
d2e5186d56
Add action to export profile graph to PDF
2022-04-07 19:22:19 +10:00
Nyall Dawson
62450ec373
Move files to elevation directory
2022-04-07 19:22:19 +10:00
Nyall Dawson
60e8f87f93
Identation and sip
2022-04-07 19:22:19 +10:00
Nyall Dawson
cf5c82c400
Implement zooming actions and tools for plots
2022-04-07 19:22:19 +10:00
Nyall Dawson
6480b974d7
Implement plot panning and zoom
...
With all the usual interaction, e.g.
- middle mouse button + drag = pan
- hold space + drag = pan
- wheel = zoom
- ctrl + wheel = smooth zoom
2022-04-07 19:22:19 +10:00
Nyall Dawson
2653f5146f
Implement plot panning by drag
2022-04-07 19:22:19 +10:00
Nyall Dawson
882cf7e58d
Avoid initially clipped plot render
2022-04-07 19:22:19 +10:00
Nyall Dawson
8ee20464a0
Ensure that elevation properties are copied whenever a layer is cloned
2022-04-07 19:22:19 +10:00
Nyall Dawson
52509be814
Condense excessive class heirarchy, fix unit test
2022-04-07 19:22:19 +10:00
Nyall Dawson
3d0fd967af
Add profile chart symbology settings for vector layers
2022-04-07 19:22:19 +10:00
Nyall Dawson
4c4293d9e5
Fix progress bar
2022-04-07 19:22:19 +10:00
Nyall Dawson
3efdad00ff
Cleanup canvas destruction and job handling
2022-04-07 19:22:19 +10:00