19183 Commits

Author SHA1 Message Date
Nyall Dawson
e5ab5358e2 Cleanup callout code to remove a lot of duplicated code between
simple line and manhattan line callout classes
2021-03-18 13:58:09 +10:00
Nyall Dawson
5d06c1d48d [FEATURE] When the "show pinned labels" option is enabled, also
highlight any pinned callout start or end points

This allows users to immediately see which callouts points have
been manually placed vs are automatically placed.
2021-03-18 12:15:40 +10:00
Nyall Dawson
e8280d29bc More see also fixes 2021-03-18 11:43:00 +10:00
Nyall Dawson
b3b89733a8 Fix see also links 2021-03-18 11:43:00 +10:00
Nyall Dawson
a16ab723d5 [feature] Add option to trim the start and end of simple line symbol
layers by a preset amount

This allows for the line rendering to trim off the first x mm
and last y mm from the actual line string when drawing the line.
It can be used eg when creating complex symbols where a line layer
should not overlap marker symbol layers placed at the start
and end of the line.

The start/end trim distance supports a range of units, including
percentage of the overall line length, and can be data defined
for extra control.
2021-03-18 11:43:00 +10:00
Nyall Dawson
99c5ac3d66 Add method to calculate total length of a QPolygonF line 2021-03-18 11:43:00 +10:00
nirvn
2cbb1307cb Address review 2021-03-17 16:14:07 +07:00
nirvn
01f1f0c78a [symbology] Add a semi arc and arrow sign to ellipse markers 2021-03-17 15:52:55 +07:00
nirvn
b3d27aacce [symbology] Add a 1/2, 1/3, 1/4 arc signs to simple markers 2021-03-17 15:52:44 +07:00
Mathieu Pellerin
09620ad7db
[feature][symbology] Allow pen cap style to be set for ellipse marker symbol layers (#42289) 2021-03-17 15:22:49 +07:00
Nyall Dawson
109f95b3cd [feature] Allow pen cap style to be set for simple marker symbol layers
This is useful for the stroke-only symbols like the cross and arrowhead
markers, where it's sometimes nice to have round caps instead of square
caps.
2021-03-17 14:53:18 +10:00
Marco Bernasocchi
60f788c91d
Allow loading GPKG layers with GEOMETRY type (#42253) 2021-03-16 15:58:55 +01:00
Nyall Dawson
eb185d2682
Merge pull request #42187 from wonder-sk/fix-rasterize-alg-layer-list
Fix wrong list of layers in Rasterize alg (Convert map to raster)
2021-03-16 18:46:18 +10:00
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
Martin Dobias
a2289bb702 Fix spelling 2021-03-14 15:02:57 +01:00
Martin Dobias
3db52a6e94 Added a test for "rasterize" (convert map to raster) algorithm 2021-03-14 15:02:57 +01: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