19168 Commits

Author SHA1 Message Date
Harrissou Sant-anna
6e20ee86ae
Use correct spelling for qgsProcessingException class
Fix typo
2021-03-16 04:49:35 +01:00
Andrea Giudiceandrea
e11b7f0230 [processing][gdal] Fix parsing of creation options for Roughness alg 2021-03-16 11:36:09 +10:00
Nyall Dawson
8240788799 [processing] When an algorithm is run in place through the 'ef' locator
filter, ensure the progress bar is removed when the algorithm
finishes

Otherwise it hangs around in the message bar until it's manually
dismissed, unlike the behavior when you run an in-place operation
through the toolbox.
2021-03-16 10:44:40 +10:00
Nyall Dawson
35a781d441 [processing] Fix misleading "cancel" label shown for "close" button
This button isn't a cancel button - it just closes the dialog, and
doesn't abort any changes which have already been made as a result
of running the algorithm through the dialog.
2021-03-16 10:20:53 +10:00
Nyall Dawson
5bceda82fe Don't show label hover highlights while a map redraw is in progress,
because these will show for outdated label positions
2021-03-16 04:02:49 +10:00
Nyall Dawson
a1fa68d3e5 Add method to auto create a callout property in auxilliary storage 2021-03-16 04:02:49 +10:00
Alessandro Pasotti
5dc202831f
Merge pull request #42193 from elpaso/raster-legend-add-option-to-use-separate-items
Add option to use the old legend style
2021-03-12 18:12:52 +01:00
Nyall Dawson
7c410120e3 Super-optimised version of geometry bounding box intersects test
Apply some fancy logic to make this test as cheap as possible
to run
2021-03-12 05:46:14 +10:00
Nyall Dawson
5445aceaff Add QgsRectangle::contains overload which doesn't require QgsPoint/QgsPointXY objects 2021-03-12 05:46:14 +10:00
Nyall Dawson
7fb3c83e76 Sipify 2021-03-12 05:46:14 +10:00
Alessandro Pasotti
b269b504e6 Doxy 2021-03-11 11:38:40 +01:00
Nyall Dawson
bffa42ae74 Implement undo logic for streamed digitizing mode
When the backspace key is held down, points will be repeatedly
removed from streamed digitized sections, right up till the start
of the streaming section. Then the point removal will temporarily
pause until the user releases and re-holds down the backspace key.

This allows users to selectively remove portions of the geometry
captured with the streaming mode by holding down the undo key,
without risking accidental undo of non-streamed portions.
2021-03-11 20:02:44 +10:00
Nyall Dawson
7234d89303 [feature] Add streaming digitizing mode
When active, points are automatically added following the mouse
cursor movement.

Refs Natural resources Canada Contract: 3000720707
2021-03-11 20:02:44 +10:00
Alessandro Pasotti
273fd82e3d
Update python/core/auto_generated/layertree/qgscolorramplegendnodesettings.sip.in
Co-authored-by: Nyall Dawson <nyall.dawson@gmail.com>
2021-03-11 10:53:23 +01:00
Alessandro Pasotti
83f3ad65c2 Add option to use the old legend style 2021-03-11 10:45:42 +01:00
Blottiere Paul
1970df7e50 Update doc to 3.20 2021-03-10 13:31:59 +01:00
Blottiere Paul
3799f60949 Update doc 2021-03-10 08:37:50 +01:00
Blottiere Paul
0c831ddec4 Invalidate wgs84 extent when setting a transform context 2021-03-10 08:37:50 +01:00
Blottiere Paul
fd965af147 mExtent is private 2021-03-10 08:37:50 +01:00
Blottiere Paul
d9dfa5d2c9 Some renaming 2021-03-10 08:37:50 +01:00
Blottiere Paul
c21a1ca9ca Add doc 2021-03-10 08:37:50 +01:00
Blottiere Paul
f94e29ee65 Update doc 2021-03-10 08:37:50 +01:00
Blottiere Paul
36b77764bf Add an actual parameter to geographicExtent to bypass the trust option 2021-03-10 08:37:49 +01:00
Blottiere Paul
476ebecbe2 Read the geographic extent from project 2021-03-10 08:34:41 +01:00
Alessandro Pasotti
b6e01f98e2 Project: store geographic extent 2021-03-10 08:33:46 +01:00
Nyall Dawson
10c3a1a382 Fix application hangs when attempting to load qlr file for
non vector/raster/vector-tile layer types

Refs #42112
2021-03-10 14:07:57 +10:00
Nyall Dawson
ebdb7ba95d Correctly store absolute/relative paths for point clouds in projects
Fixes #42114
2021-03-10 14:07:48 +10:00
Nyall Dawson
03edd718a1
Merge pull request #42154 from nyalldawson/provider_file_based
Fix broken bad layer handler dialog
2021-03-10 14:05:15 +10:00
Nyall Dawson
fd1c9f3ad1 Since 2021-03-10 13:00:20 +10:00
Mathieu Pellerin
53928bdbcc
[locators] Add a bounding box property to the abstract geocoder locator filter base class (#42133) 2021-03-10 08:24:44 +07:00
Nyall Dawson
def799810d Spelling, sip 2021-03-10 11:11:46 +10:00
Nyall Dawson
63a365a6a2 Add some utility functions to new QgsMapLayerFactory class for easier reuse 2021-03-10 09:39:46 +10:00
Paul Blottiere
42db258cab
Merge pull request #41376 from pblottiere/wms_min_version
Use the lowest version in wms negotiation
2021-03-09 20:52:43 +01:00
Mathieu Pellerin
2008f5ef57
[locators] Add a description property to locator filter base class (#42132) 2021-03-09 17:56:15 +07:00
Blottiere Paul
51f2bda146 Default operator 2021-03-09 06:32:43 +01:00
Blottiere Paul
8434b3fc8b Add some doc 2021-03-09 06:32:43 +01:00
Blottiere Paul
5ba7cfb146 Add a WMS request class 2021-03-09 06:12:40 +01:00
Blottiere Paul
f82fec3a3c The capabilities request is managed in parameters class 2021-03-09 06:12:39 +01:00
Blottiere Paul
19348b8f1b Version number negociation in parameters 2021-03-09 06:08:35 +01:00
Julien Cabieces
13c3f5b0b0 Fix doxygen 2021-03-09 08:34:33 +10:00
Julien Cabieces
da66679464 Update widget state when scale locked state is changed from API 2021-03-09 08:34:33 +10:00
Mathieu Pellerin
22d0826615
[processing] Fix atlas export relying on predefined scale for atlas-controlled map items (#42081)
* [processing] Fix atlas export relying on predefined scale for atlas-controlled map items

* De-duplicate code, add a QgsLayoutUtils::predefinedScale function
2021-03-09 06:49:48 +10:00
Nyall Dawson
e87e6720ec Impove dox 2021-03-06 16:37:46 +10:00
Nyall Dawson
5245430461 Add widget for Embedded Symbols renderer
Allows users to control the default symbol used for features without
embedded styles
2021-03-06 16:37:46 +10:00
Nyall Dawson
8845a7688a Allow conversion of embedded renderer to rule based renderers 2021-03-06 16:37:46 +10:00
Nyall Dawson
b4b5162344 Support conversion of embedded symbol renderer to categorized renderer 2021-03-06 16:37:46 +10:00
Nyall Dawson
6e6bcfd8bd Add default symbol property for embedded symbol renderer
Used as a fallback symbol for features without embedded symbology
2021-03-06 16:37:46 +10:00
Nyall Dawson
50082a396f Create new "Embedded Symbol" renderer
This renderer will draw features using their embedded feature symbology
2021-03-06 16:37:46 +10:00
Nyall Dawson
f32d563041 Add virtual method QgsFeatureRenderer::usesEmbeddedSymbols()
Should return true for feature renderers which require embedded
feature symbology. The corresponding feature request flag will
be set on the iterator used for the renderer will rendering vector
layers.
2021-03-06 16:37:46 +10:00
Nyall Dawson
c371bc3fe9 Add a QgsFeatureRequest::EmbeddedSymbols flag to indicate that feature level symbology should be fetched 2021-03-06 16:37:46 +10:00